Re: Assembler unable to handle relative offsets in PIC code under cross-compiling env.

2006-02-20 Thread Nick Clifton
Hi Ayonam, I'm using gcc version 3.2.2 and I think I also gave a try with 3.4.3 also. I'll verify this and get back to you. It would also be very good to know if this is a problem with the current GCC sources in the mainline of the FSF repository. ie is this a bug in GCC that has already b

Re: Assembler unable to handle relative offsets in PIC code under cross-compiling env.

2006-02-09 Thread Nick Clifton
Hi Ayonam, The assembly fragment in question looks like this: .section.rodata .L5465: .long .L5457-.+(.-.L5465) .long .L5458-.+(.-.L5465) <<- Problem first reported here .section .gnu.linkonce.t._ZNK6Layout12StdTransformIiE9transformIdEEKNS_5PointIT_EERS6

Re: Assembler unable to handle relative offsets in PIC code under cross-compiling env.

2006-02-03 Thread Ayonam Ray
The assembly fragment in question looks like this: leaq.L5465(%rip), %rax leaq(%rax,%rdx), %rax jmp *%rax .section.rodata .align 4 .align 4 .L5465: .long .L5457-.+(.-.L5465) .long .L5458-.+(.-.L5465) <<- Problem first reported here .lo

Re: Assembler unable to handle relative offsets in PIC code under cross-compiling env.

2006-02-01 Thread Ayonam Ray
Hi again, I checked this with the snapshot binutils-060131.tar.bz2 and the problem persists. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils

Assembler unable to handle relative offsets in PIC code under cross-compiling env.

2006-01-30 Thread Ayonam Ray
Hi, I'm trying to build a cross-compiling environment for AMD64 to run on x86 platforms using binutils-2.15.92.0.2. I use the following command on my AMD64 machine to configure binutils: CC="gcc -m32" ../configure --target=x86_64-redhat-linux \ --prefix=$NIRMAAN_BUILD_ENV/usr \ -