You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Author Name: S L
Original Redmine Issue: 923 from https://www.veripool.org
Original Date: 2015-05-21
perl -v:
This is perl 5, version 18, subversion 2 (v5.18.2) built for darwin-thread-multi-2level
g++ -v:
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn)
Target: x86_64-apple-darwin14.3.0
Thread model: posix
cc -v:
Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn)
Target: x86_64-apple-darwin14.3.0
Thread model: posix
Installation command:
@cpanm Verilog::Language@
build log error:
LD_RUN_PATH="/usr/lib" cc -mmacosx-version-min=10.10 -dynamiclib -lstdc++ -L/System/Library/Perl/5.18.2/darwin-thread-multi-2level/CORE -lperl -lgcc_eh -L/usr/local/lib VFileLine.o VParseLex.o VParse.o VParseBison.o VSymTable.o VAst.o -o ../blib/arch/auto/Verilog/Parser/Parser.bundle Parser_cleaned.o \
-lstdc++ \
ld: warning: directory not found for option '-L/System/Library/Perl/5.18.2/darwin-thread-multi-2level/CORE'
ld: library not found for -lperl
clang: error: linker command failed with exit code 1 (use -v to see invocation)
The linker is looking for libperl in
/System/Library/Perl/5.18.2/darwin-thread-multi-2level/CORE
The location is at
/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE
My solution was to link 5.18 to 5.18.2 (another solution would be to change the LDDLFLAGS statement in all Makefile.PL)
After linking the directory, the next error:
LD_RUN_PATH="/usr/lib" cc -mmacosx-version-min=10.10 -dynamiclib -lstdc++ -L/System/Library/Perl/5.18.2/darwin-thread-multi-2level/CORE -lperl -lgcc_eh -L/usr/local/lib VFileLine.o VParseLex.o VParse.o VParseBison.o VSymTable.o VAst.o -o ../blib/arch/auto/Verilog/Parser/Parser.bundle Parser_cleaned.o \
-lstdc++ \
ld: library not found for -lgcc_eh
clang: error: linker command failed with exit code 1 (use -v to see invocation)
My solution was to remove the -lgcc_eh statement (perhaps clang doesn't need this gcc library?)
The text was updated successfully, but these errors were encountered:
Author Name: S L
Original Redmine Issue: 923 from https://www.veripool.org
Original Date: 2015-05-21
perl -v:
g++ -v:
cc -v:
Installation command:
@cpanm Verilog::Language@
build log error:
The linker is looking for libperl in
/System/Library/Perl/5.18.2/darwin-thread-multi-2level/CORE
The location is at
/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE
My solution was to link 5.18 to 5.18.2 (another solution would be to change the LDDLFLAGS statement in all Makefile.PL)
After linking the directory, the next error:
My solution was to remove the -lgcc_eh statement (perhaps clang doesn't need this gcc library?)
The text was updated successfully, but these errors were encountered: