This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Re[2]: How build gold linker?


Hi ÐÑÐÐÑ
It looks as though the code in binutils/configure around 2957 is
looking at your target "*-symbianelf" and deciding that it is not an
ELF target:

case "${ENABLE_GOLD}" in
  yes|default)
    # Check for ELF target.
    is_elf=no
    case "${target}" in
      *-*-elf* | *-*-sysv4* | *-*-unixware* | *-*-eabi* | hppa*64*-*-hpux* \
      | *-*-linux* | *-*-gnu* | frv-*-uclinux* | *-*-irix5* | *-*-irix6* \
      | *-*-netbsd* | *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* \
      | *-*-solaris2* | *-*-nto* | *-*-nacl*)

Try hacking your binutils/configure to add "*-symbianelf" to the list
above and see if that works for you.
Than


On Thu, Mar 31, 2016 at 12:24 AM,  <fedor_qd@mail.ru> wrote:
> This doesn't work for me. Can you build self? I try to build 2.26.
> Always yours, Fiodar Stryzniou
>
> ÐÑÑÐÐÐÐÐ ÑÐÑ
> ÐÐÐÐ: Re: Re[2]: How build gold linker?
> ÐÑ: Than McIntosh <thanm@google.com>
> ÐÐÑÐ: 30.03.2016 23.29
>
> Suggest trying
>
>    make
>    make all-gold
>
> ?
>
> Than
>
> On Wed, Mar 30, 2016 at 3:19 PM, Fiodar <fedor_qd@mail.ru> wrote:
>> Sorry for pastebin - mailer daemon treats mail with attach as spam.
>>
>> Build log - http://pastebin.com/3VgUMjiY
>> Buld script - http://pastebin.com/4Wyi5KzQ
>> How created log: build-binutils.sh 1> binutils-log-full.txt 2>&1
>> No errors, some varnings.
>>
>>
>>> ÐÑÑÐÑÐÐ, 29 ÑÐÐÐÐÑÐÐ 2016, 22:01 +03:00 ÐÐ Cary Coutant <ccoutant@gmail.com>:
>>>
>>> Did you forget to attach an error log? I can't even take a wild guess
>>>
>>> with what's here.
>>>
>>>
>>>
>>> (This won't fix anything, but you may want to add --enable-threads
>>>
>>> when configuring gold.)
>>>
>>>
>>>
>>> -cary
>>>
>>>
>>>
>>>
>>>
>>> On Tue, Mar 29, 2016 at 11:11 AM, Fiodar <fedor_qd@mail.ru> wrote:
>>>
>>> > Why can't build gold linker? Compiler - Mingw 4.8.1. Taken from my shell script:
>>>
>>> >
>>>
>>> > TARGET=arm-none-symbianelf
>>>
>>> > # Installation folder
>>>
>>> > GCCC=gcc-5.3.0-2
>>>
>>> > PREFIX=/usr/local/$GCCC
>>>
>>> > PATH=$PATH:$PREFIX/bin
>>>
>>> > unset CFLAGS
>>>
>>> > export CFLAGS+="-pipe"
>>>
>>> > # ------------------
>>>
>>> > BINUTILS=binutils-2.26
>>>
>>> >
>>>
>>> > mkdir build-binutils2
>>>
>>> > cd build-binutils2
>>>
>>> > make clean
>>>
>>> > ../$BINUTILS/configure --target=$TARGET --prefix=$PREFIX --disable-option-checking \
>>>
>>> > --enable-ld --enable-gold --enable-lto --enable-vtable-verify \
>>>
>>> > --enable-werror=no --without-headers --disable-nls --disable-shared \
>>>
>>> > --disable-libquadmath --enable-plugins --enable-multilib
>>>
>>> >
>>>
>>> > make
>>>
>>> > make install-strip
>>>
>>> > cd ..
>>>
>>> >
>>>
>>> >
>>>
>>> > Stryzhniou Fiodar
>>>
>>> > ÐÑÑÐÐÐÑÐ ÐÐÐÐÑ
>>>
>>>
>>
>> Stryzhniou Fiodar
>> ÐÑÑÐÐÐÑÐ ÐÐÐÐÑ
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]