[LLVMdev] Error in building Gold on FreeBSD
John Criswell
jtcriswel at gmail.com
Sun May 31 13:01:55 PDT 2015
On 5/31/15 10:54 AM, Aditya Verma wrote:
> I triend the command make all-gold -k
> But the error message that it says now is:
> /usr/binutils/gold/system.h:38:11:fatal error: 'libintl.h' file
> not found
> #include <libintl.h>
Okay.
Look at /usr/ports/devel/binutils/Makefile and see what version of
binutils they support for your platform (this should be listed in the
line that sets the PORTVERSION variable). Is this version a different
version of binutils than the one you're compiling? If so, you should
try compiling the version of binutils that matches the version listed in
the aforementioned Makefile instead of the version listed in the LTO
documentation (which is most likely binutils trunk).
As an aside, are you familiar with the FreeBSD ports system?
Regards,
John Criswell
>
> On Saturday, May 30, 2015, John Criswell <jtcriswel at gmail.com
> <mailto:jtcriswel at gmail.com>> wrote:
>
> Dear Aditya,
>
> Regarding the error, it looks like binutils is trying to build its
> documentation. For your project, this is a step that you can
> skip. You can try using "make -k" to skip over errors and proceed
> to the "make install" step. That might work.
>
> As an aside, you should include the error as a plain text
> attachment instead of taking a graphic screenshot. The error is
> sufficiently small to attach as plain text, and some developers
> don't like following links to web sites that they don't recognize.
>
> Regards,
>
> John Criswell
>
> On 5/29/15 7:26 PM, Aditya Verma wrote:
>> Hi
>>
>>
>> I followed the steps on
>> http://llvm.org/docs/GoldPlugin.html#lto-how-to-build
>> <https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_docs_GoldPlugin.html-23lto-2Dhow-2Dto-2Dbuild&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=Mfk2qtn1LTDThVkh6-oGglNfMADXfJdty4_bhmuhMHA&m=MOT_0nVKhPtfHRNpdHt6HjSGPSfiFGBM-yLfWyTxeiE&s=-2433rhs0ZFmRvU5CCv9XLKd02sRX8oZe8rnhN36kUo&e=> to
>> build the gold plugin on FreeBSD but !
>>
>> Heres a link to the screenshot of the
>> error:http://postimg.org/image/anlpuufbl/
>> <https://urldefense.proofpoint.com/v2/url?u=http-3A__postimg.org_image_anlpuufbl_&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=Mfk2qtn1LTDThVkh6-oGglNfMADXfJdty4_bhmuhMHA&m=MOT_0nVKhPtfHRNpdHt6HjSGPSfiFGBM-yLfWyTxeiE&s=hyTO0g5oJUZgtutSQQBGzEPpZ861YSNiuWEm_j-L2uI&e=>
>>
>> This is the error message that it shows and so I am also unable
>> to get ld-new. I checked and no CFLAGS were set in etc/make.conf.
>>
>> How to proceed with the installation? I am using the deault clang
>> version supplied with FreeBSD 10.1.
>>
>> Regards
>> Aditya
>>
>>
>> _______________________________________________
>> LLVM Developers mailing list
>> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
>
> --
> John Criswell
> Assistant Professor
> Department of Computer Science, University of Rochester
> http://www.cs.rochester.edu/u/criswell
>
>
>
> --
> Regards
> Aditya Verma
> Junior Undergraduate
> IDD Computer Sc & Engg
> IIT(BHU), Varanasi(UP)
>
--
John Criswell
Assistant Professor
Department of Computer Science, University of Rochester
http://www.cs.rochester.edu/u/criswell
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150531/8758f26f/attachment.html>
More information about the llvm-dev
mailing list