[LLVMbugs] [Bug 13129] Targets.cpp:(.text+0xb8f): undefined reference to `llvm::MCSectionMachO::ParseSectionSpecifier(llvm::StringRef, llvm::StringRef&, llvm::StringRef&, unsigned int&, bool&, unsigned int&)'

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Jun 17 20:11:28 PDT 2012


http://llvm.org/bugs/show_bug.cgi?id=13129

Prakash <satyaprakash.prasad at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |

--- Comment #2 from Prakash <satyaprakash.prasad at gmail.com> 2012-06-17 22:11:28 CDT ---
As suggested I tried the same as mentioned by NAKAMURA Takumi. 
llvm/build/Release+Asserts/bin 1017> g++ `llvm-config --ldflags --libs mc` 
-fno-rtti -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS  rewritersample.cpp
-Illvm/llvm/tools/clang/include/ -Illvm/build/tools/clang/include
-Illvm/llvm/include -Illvm/build/include -Lllvm/build/Release+Asserts/lib
-lclangFrontendTool -Lllvm/build/Release+Asserts/lib -lclangFrontend
-Lllvm/build/Release+Asserts/lib -lclangDriver -Lllvm/build/Release+Asserts/lib
-lclangSerialization -Lllvm/build/Release+Asserts/lib -lclangCodeGen
-Lllvm/build/Release+Asserts/lib -lclangParse -Lllvm/build/Release+Asserts/lib
-lclangSema -Lllvm/build/Release+Asserts/lib -lclangStaticAnalyzerFrontend
-Lllvm/build/Release+Asserts/lib -lclangStaticAnalyzerCheckers
-Lllvm/build/Release+Asserts/lib -lclangStaticAnalyzerCore
-Lllvm/build/Release+Asserts/lib -lclangAnalysis
-Lllvm/build/Release+Asserts/lib -lclangARCMigrate -lclangRewrite
-Lllvm/build/Release+Asserts/lib -lclangEdit -Lllvm/build/Release+Asserts/lib
-lclangAST -Lllvm/build/Release+Asserts/lib -lclangLex
-Lllvm/build/Release+Asserts/lib -lLLVMSupport -Lllvm/build/Release+Asserts/lib
-lclangSema -Lllvm/build/Release+Asserts/lib -lclangSerialization
-Lllvm/build/Release+Asserts/lib -lclangLex -Lllvm/build/Release+Asserts/lib
-lclangParse -Lllvm/build/Release+Asserts/lib -lclangBasic -lpthread -ldl

llvm/build/Release+Asserts/lib/libclangBasic.a(Targets.o): In function
`(anonymous namespace)::DarwinTargetInfo<(anonymous
namespace)::PPC32TargetInfo>::isValidSectionSpecifier(llvm::StringRef) const':
Targets.cpp:(.text+0xb8f): undefined reference to
`llvm::MCSectionMachO::ParseSectionSpecifier(llvm::StringRef, llvm::StringRef&,
llvm::StringRef&, unsigned int&, bool&, unsigned int&)'
llvm/build/Release+Asserts/lib/libclangBasic.a(Targets.o): In function
`(anonymous namespace)::DarwinTargetInfo<(anonymous
namespace)::PPC64TargetInfo>::isValidSectionSpecifier(llvm::StringRef) const':
Targets.cpp:(.text+0xbff): undefined reference to
`llvm::MCSectionMachO::ParseSectionSpecifier(llvm::StringRef, llvm::StringRef&,
llvm::StringRef&, unsigned int&, bool&, unsigned int&)'
llvm/build/Release+Asserts/lib/libclangBasic.a(Targets.o): In function
`(anonymous namespace)::DarwinTargetInfo<(anonymous
namespace)::X86_32TargetInfo>::isValidSectionSpecifier(llvm::StringRef) const':
Targets.cpp:(.text+0xc6f): undefined reference to
`llvm::MCSectionMachO::ParseSectionSpecifier(llvm::StringRef, llvm::StringRef&,
llvm::StringRef&, unsigned int&, bool&, unsigned int&)'
llvm/build/Release+Asserts/lib/libclangBasic.a(Targets.o): In function
`(anonymous namespace)::DarwinTargetInfo<(anonymous
namespace)::X86_64TargetInfo>::isValidSectionSpecifier(llvm::StringRef) const':
Targets.cpp:(.text+0xcdf): undefined reference to
`llvm::MCSectionMachO::ParseSectionSpecifier(llvm::StringRef, llvm::StringRef&,
llvm::StringRef&, unsigned int&, bool&, unsigned int&)'
llvm/build/Release+Asserts/lib/libclangBasic.a(Targets.o): In function
`(anonymous namespace)::DarwinTargetInfo<(anonymous
namespace)::ARMTargetInfo>::isValidSectionSpecifier(llvm::StringRef) const':
Targets.cpp:(.text+0xd4f): undefined reference to
`llvm::MCSectionMachO::ParseSectionSpecifier(llvm::StringRef, llvm::StringRef&,
llvm::StringRef&, unsigned int&, bool&, unsigned int&)'
collect2: ld returned 1 exit status

Please note that I did not found llvm-config listed anywhere to re-assign to
them. Please do the needful for me.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list