public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* How build gold linker?
@ 2016-03-29 18:11 Fiodar
  2016-03-29 19:01 ` Cary Coutant
  0 siblings, 1 reply; 3+ messages in thread
From: Fiodar @ 2016-03-29 18:11 UTC (permalink / raw)
  To: binutils

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
Стрижнёв Федор

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How build gold linker?
  2016-03-29 18:11 How build gold linker? Fiodar
@ 2016-03-29 19:01 ` Cary Coutant
  2016-03-30 19:19   ` Re[2]: " Fiodar
  0 siblings, 1 reply; 3+ messages in thread
From: Cary Coutant @ 2016-03-29 19:01 UTC (permalink / raw)
  To: Fiodar; +Cc: binutils

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
> Стрижнёв Федор

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re[2]: How build gold linker?
  2016-03-29 19:01 ` Cary Coutant
@ 2016-03-30 19:19   ` Fiodar
  0 siblings, 0 replies; 3+ messages in thread
From: Fiodar @ 2016-03-30 19:19 UTC (permalink / raw)
  To: Cary Coutant; +Cc: binutils

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
Стрижнёв Федор

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-03-30 19:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-29 18:11 How build gold linker? Fiodar
2016-03-29 19:01 ` Cary Coutant
2016-03-30 19:19   ` Re[2]: " Fiodar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).