This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: binutils 2.19.92 linker broke with --as-needed flag
- From: Vincent Wen <wenvincent90 at gmail dot com>
- To: Vincent Wen <wenvincent90 at gmail dot com>, binutils at sourceware dot org
- Date: Fri, 5 Apr 2013 11:02:24 -0700
- Subject: Re: binutils 2.19.92 linker broke with --as-needed flag
- References: <5154E517 dot 4000409 at gmail dot com> <CALehDX77XzF6hGxT82y+Ofe+ypwG64uZmrfj+e4ZZm-nSEhgOA at mail dot gmail dot com> <CAF_=-cAo_+bni4N++ynNcYQ5RKkMBg1i7aNcXZ-aCJPVb3ub8Q at mail dot gmail dot com> <CALehDX5F_WXmKS9K+EipTw5uGkM37cOc2K+Zqxpe8XwBtzaTxg at mail dot gmail dot com> <CAF_=-cDsPpAs8=D3dH1ho1NRDJ+W5VVhug8HU1fJmusDq_aNAQ at mail dot gmail dot com> <CAF_=-cDJDPPzhh7TF2-rcro=PnL1iBkMv8jvV1BU7EO7En5zbg at mail dot gmail dot com> <20130402232743 dot GA23282 at bubble dot grove dot modra dot org> <CAF_=-cC7M0jhvSnsHA7xrPPedbWefQC0B9STpvQATP7nqZJg1g at mail dot gmail dot com> <20130403022010 dot GA27605 at bubble dot grove dot modra dot org> <CAF_=-cAYSgTU67tySGebDntQi1uMyANiuHGs0nWDHOC=GfPtOw at mail dot gmail dot com> <20130405003501 dot GA3208 at bubble dot grove dot modra dot org>
Alan,
That system is our internal server and I can't change. It's shared by
hundred engineers. I am not the system maintainer.
I moved to a Virtual box and was successful on running native "make
check" on x86, on a CentOs 4.8. Please refer to my yesterday's email
at 4:57PM and 5:19PM. it's for the latest binutils-2.23.2.
But I came across a problem when try to run cross platform test with
the upstream binutils-2.23.2.
I'd like to know if it is a known issue. I don't see the problem on
binutils-2.19.2.
I appreciate your help.
Thanks.
Vincent
[zwen@localhost binutils-2.23.2]$ ./configure --target=mipsel-linux-uclibc
[zwen@localhost binutils-2.23.2]$ make
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.2/opcodes'
Making all in po
make[4]: Entering directory `/home/zwen/workshop/tc/binutils-2.23.2/opcodes/po'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/zwen/workshop/tc/binutils-2.23.2/opcodes/po'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/zwen/workshop/tc/binutils-2.23.2/opcodes'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/zwen/workshop/tc/binutils-2.23.2/opcodes'
make[1]: *** [all-opcodes] Error 2
make[1]: Leaving directory `/home/zwen/workshop/tc/binutils-2.23.2'
make: *** [all] Error 2
[zwen@localhost binutils-2.23.2]$
On Thu, Apr 4, 2013 at 5:35 PM, 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