Hi I followed the steps on http://llvm.org/docs/GoldPlugin.html#lto-how-to-build to build the gold plugin on FreeBSD but ! Heres a link to the screenshot of the error: http://postimg.org/image/anlpuufbl/ 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150530/fb66ebdd/attachment.html>
On Fri, May 29, 2015 at 5:26 PM, Aditya Verma <aditya.verma.cse12 at iitbhu.ac.in> wrote:> Hi > > > I followed the steps on > http://llvm.org/docs/GoldPlugin.html#lto-how-to-build to build the gold > plugin on FreeBSD but ! > > Heres a link to the screenshot of the > error:http://postimg.org/image/anlpuufbl/ > > 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 >The FreeBSD port ships with some local patch that might have not been upstreamed (yet). If binutils pkg doesn't work for you, you might want to check the port to see how newer binutils versions are built on FreeBSD. https://svnweb.freebsd.org/ports/head/devel/binutils/ -- Davide "There are no solved problems; there are only problems that are more or less solved" -- Henri Poincare
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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150530/f45dddca/attachment.html>
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> On Saturday, May 30, 2015, John Criswell <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 listLLVMdev at cs.uiuc.edu <javascript:_e(%7B%7D,'cvml','LLVMdev at cs.uiuc.edu');> http://llvm.cs.uiuc.eduhttp://lists.cs.uiuc.edu/mailman/listinfo/llvmdev > > > > -- > John Criswell > Assistant Professor > Department of Computer Science, University of Rochesterhttp://www.cs.rochester.edu/u/criswell > >-- Regards Aditya Verma Junior Undergraduate IDD Computer Sc & Engg IIT(BHU), Varanasi(UP) -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150531/1dd9fe17/attachment.html>
Reasonably Related Threads
- [LLVMdev] Error in building Gold on FreeBSD
- [LLVMdev] Error in building Gold on FreeBSD
- [LLVMdev] Enabling the gold linker on freebsd
- [LLVMdev] [Clang] [lld] [llvm-link] Whole program / dead-code optimization
- [LLVMdev] [Clang] [lld] [llvm-link] Whole program / dead-code optimization