[LLVMbugs] [Bug 9603] Relocation error on x86_64

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Apr 1 16:12:41 PDT 2011


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

Ryuta Suzuki <oroppas at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #13 from Ryuta Suzuki <oroppas at gmail.com> 2011-04-01 18:12:40 CDT ---
It looks perfect.

[ryuta at oroppas]$ llvm-config --cflags
-I/usr/include -O2 -march=native -pipe  -fPIC   -D_GNU_SOURCE  
-Wno-unused-parameter -Wwrite-strings  -Wno-long-long -D__STDC_LIMIT_MACROS
-D__STDC_CONSTANT_MACROS
[ryuta at oroppas]$ llvm-config --cxxflags
-I/usr/include -O2 -march=native -pipe  -fPIC   -D_GNU_SOURCE  
-Wno-unused-parameter -Wwrite-strings  -Wno-long-long -D__STDC_LIMIT_MACROS
-D__STDC_CONSTANT_MACROS

Thanks for the fix!

(In reply to comment #12)
> I committed the patch showed here (with minor modifications.) Please test if
> this fixes the issue for you and close the bug if the answer is affirmative.
> 
> There is another glitch on the output of `llvm-config -cxxflags': it omits the
> include flags for the source directory. This is due to the logic on llvm-config
> failing when deciding if it is being executed on a installed directory or on
> the build directory.

-- 
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