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: binutils 2.19.92 linker broke with --as-needed flag


Alan,

I tested again the cross build for mipsel-linux-uclibc on the
binutils-2.23 and binutils-2.22 and confirmed that the binutils-2.23
"make" fails and the binutils-2.22 succeeds.

Something is broken between binutils-2.22 and binutils-2.23.

Thanks.


The binutil-2.22.tar.gz succeed with "make" and "make check", with
only one unexpected failing test.

The binutil-2.23.tar.gz fails at "make". The configuration is

[zwen@localhost binutils-2.23]$ configure --target=mipsel-linux-uclibc

[zwen@localhost binutils-2.23]$ make
...
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I. -I. -I../bfd
-I./../include -I./../bfd -W -Wall -Wstrict-prototypes
-Wmissing-prototypes -Werror -g -O2 -MT disassemble.lo -MD -MP -MF
.deps/disassemble.Tpo -c -DARCH_mips ./disassemble.c -o disassemble.o
mv -f .deps/disassemble.Tpo .deps/disassemble.Plo
/bin/sh ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
-I. -I. -I../bfd -I./../include -I./../bfd    -W -Wall
-Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -MT
dis-init.lo -MD -MP -MF .deps/dis-init.Tpo -c -o dis-init.lo
dis-init.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I. -I. -I../bfd
-I./../include -I./../bfd -W -Wall -Wstrict-prototypes
-Wmissing-prototypes -Werror -g -O2 -MT dis-init.lo -MD -MP -MF
.deps/dis-init.Tpo -c dis-init.c -o dis-init.o
mv -f .deps/dis-init.Tpo .deps/dis-init.Plo
/bin/sh ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
-I. -I. -I../bfd -I./../include -I./../bfd    -W -Wall
-Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -MT
mips-dis.lo -MD -MP -MF .deps/mips-dis.Tpo -c -o mips-dis.lo
mips-dis.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I. -I. -I../bfd
-I./../include -I./../bfd -W -Wall -Wstrict-prototypes
-Wmissing-prototypes -Werror -g -O2 -MT mips-dis.lo -MD -MP -MF
.deps/mips-dis.Tpo -c mips-dis.c -o mips-dis.o
mips-dis.c: In function `print_insn_args':
mips-dis.c:1251: warning: comparison between signed and unsigned
make[4]: *** [mips-dis.lo] Error 1
make[4]: Leaving directory `/home/zwen/workshop/tc/binutils-2.23/opcodes'
Making all in po
make[4]: Entering directory `/home/zwen/workshop/tc/binutils-2.23/opcodes/po'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/zwen/workshop/tc/binutils-2.23/opcodes/po'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/zwen/workshop/tc/binutils-2.23/opcodes'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/zwen/workshop/tc/binutils-2.23/opcodes'
make[1]: *** [all-opcodes] Error 2
make[1]: Leaving directory `/home/zwen/workshop/tc/binutils-2.23'
make: *** [all] Error 2
[zwen@localhost binutils-2.23]$



On 4/4/13, Alan Modra <amodra@gmail.com> wrote:
> On Thu, Apr 04, 2013 at 11:40:28AM -0700, Vincent Wen wrote:
>> configure:4085: gcc -m64    conftest.c  >&5
>> conftest.c:1: sorry, unimplemented: 64-bit mode not compiled in
>
> I would have thought that someone who can figure out a fix for a
> long-standing MIPS binutils bug could easily install 64-bit gcc and
> development libraries!
>
> --
> Alan Modra
> Australia Development Lab, IBM
>


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