trace build breakage with --enable-user-pie
The build with --enable-user-pie has recently broken:
LINK i386-linux-user/qemu-i386/usr/bin/ld: ../trace/control.o: relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC ../trace/control.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[1]: *** [qemu-i386] Error 1
make: *** [subdir-i386-linux-user] Error 2
I suspect, but have not proven, that edb47ec498a5c00607e8d428668d5141822a9eac is the cause.
I think we ought to be compiling these files into libuser, with all the CFLAGS implied by that. Our baroque configure/makefile setup is currently defeating me, however.
r~
Quoted 8 lines · Richard Henderson
The build with --enable-user-pie has recently broken:
LINK i386-linux-user/qemu-i386/usr/bin/ld:../trace/control.o: relocationR_X86_64_32against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC../trace/control.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[1]: *** [qemu-i386] Error 1
make: *** [subdir-i386-linux-user] Error 2
Quoted 5 lines
I suspect, but have not proven, that
edb47ec498a5c00607e8d428668d5141822a9eacis the cause.I think we ought to be compiling these files into libuser, with all the CFLAGS implied by that. Our baroque configure/makefile setup is currently defeating me, however.
Strange, I tried with vanilla 44520db1 and it's compiling fine...
$ ./configure --target-list="x86_64-linux-user i386-linux-user"
A call to 'uname -a' lists my system is an amd64 (x86_64), and tried with both gcc-4.6.1 and gcc-4.4.6 (from Debian).
Lluis
Signature · 4 lines
"And it's much the same thing with knowledge, for whenever you learn something new, the whole world becomes that much richer." -- The Princess of Pure Reason, as told by Norton Juster in The Phantom Tollbooth
Quoted 3 lines · Lluís Vilanova
Strange, I tried with vanilla
44520db1and it's compiling fine...$ ./configure --target-list="x86_64-linux-user i386-linux-user"
See $SUBJECT and add that configure option.
r~
Quoted 6 lines · Richard Henderson
Quoted 3 lines · Lluís Vilanova
Strange, I tried with vanilla
44520db1and it's compiling fine...$ ./configure --target-list="x86_64-linux-user i386-linux-user"See $SUBJECT and add that configure option.
Ugh... I'm sorry. I'll look at it tomorrow.
Lluis
Signature · 4 lines
"And it's much the same thing with knowledge, for whenever you learn something new, the whole world becomes that much richer." -- The Princess of Pure Reason, as told by Norton Juster in The Phantom Tollbooth