[LLVMdev] Building LLVM 2.5 on CENTOS 5.3

Sarah Thompson sarah at findatlantis.com
Tue Apr 28 17:21:04 PDT 2009


OK, definitely something wrong here. I'm seeing errors along the lines  
of:

/usr/bin/ld: /home/user/rse/llvm/build/Release/bin/fpcmp: hidden  
symbol `void std::__ostream_fill<char, std::char_traits<char>  
 >(std::basic_ostream<char, std::char_traits<char> >&, long)' isn't  
defined
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: ld returned 1 exit status

as each tool is linked in release mode. This doesn't happen in debug  
mode (i.e. they seem to link fine).

[s]


On Apr 28, 2009, at 5:12 PM, Sarah Thompson wrote:

> Hmm... looks like my LLVM build script only built debug versions of
> the tools, not release versions. I'm investigating, I didn't change
> anything that should have caused that.
>
> [s]
>
> On Apr 28, 2009, at 4:56 PM, Bill Wendling wrote:
>
>> On Tue, Apr 28, 2009 at 4:43 PM, Sarah Thompson <sarah at findatlantis.com
>>> wrote:
>>> OK, that got much further, but I'm now seeing another problem which
>>> may (or may not) be related. Building my own code (my model  
>>> checker),
>>> it builds libraries fine, then within tools (I'm using a fairly
>>> standard LLVM build environment here), I am seeing the error
>>>
>>>       *** llvm-config doesn't exist - rebuilding it
>>>
>>> followed by a
>>>
>>>       make: Entering an unknown directory
>>>
>>> which is complaining about .../tools//bin/llvm-config
>>>
>>> This didn't happen when I was building with gcc 4.1.x, though of
>>> course, my code didn't actually work when compiled with that
>>> compiler.
>>>
>> That's odd. It's the "/bin/" in there that make is complaining about.
>> I'm not sure why a different compiler would cause it to change
>> behavior. Does adding "VERBOSE=1" to the "make" command shed any  
>> light
>> on what's going wrong here?
>>
>> -bw
>>
>> _______________________________________________
>> LLVM Developers mailing list
>> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev




More information about the llvm-dev mailing list