[LLVMbugs] [Bug 12522] Compilation of compiler-rt fails: weakref declaration must have internal linkage

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Aug 15 17:59:32 PDT 2012


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

NAKAMURA Takumi <geek4civic at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |geek4civic at gmail.com
         Resolution|                            |WORKSFORME

--- Comment #6 from NAKAMURA Takumi <geek4civic at gmail.com> 2012-08-15 19:59:32 CDT ---
I can build the tree with compiler-rt with both x86-64 and i686, on centos5.

* Make sure to install gcc44-c++ and libstdc++44-devel.{x86_64|i386}
* Specify to configure, CC=gcc44 CXX=g++44

When clang and compiler-rt would be built as i686 on x86-64 host;

$ /path/to/configure 'CC=gcc44 -m32' 'CXX=g++44 -m32'
--build=i386-redhat-linux6E

--build is mandatory, or configure would not know it is built for i386, and
llvm/test/ExecutionEngine would fail.

I have not checked anything on i686 host.

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