[LLVMdev] Error in building Gold on FreeBSD
John Criswell
jtcriswel at gmail.com
Sun May 31 13:04:41 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>
By the way, it looks like version of binutils in FreeBSD 10 configures
binutils to enable plugins. If you're on FreeBSD 10, it might be easier
to just compile gold from the binutils Ports package in
/usr/ports/devel/binutils than trying to grab and configure the version
from the GNU project.
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/ecbfd176/attachment.html>
More information about the llvm-dev
mailing list