Please CC to me on jmc AT xisl DOT com as I'm not subscribed - thanks.

I might have hit some bug in binutils 2.22.

I am trying to cross-compile for AIX 6.1 using that and gcc 4.7.0

I seem to have a cross compiler but the objects don't run, they're
missing something called shr.o

When I tried to do a static build I got:

$ ../bin/powerpc-ibm-aix6.1-gcc -o hi -static hi.c
/home/crossenv/lib/gcc/powerpc-ibm-aix6.1/4.7.0/../../../../powerpc-ibm-aix6.1/bin/ld:
internal error ../../binutils-2.22/ld/ldlang.c 6147
collect2: error: ld returned 1 exit status

(hi.c is everyone's first program, nothing esoteric)

The line in ldlang.c seems to be

ASSERT (entry->the_bfd->link_next == NULL);

Thanks for any help anyone can give.

-- 
John Collins
j...@xisl.com


_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to