This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: [Ada] Extensions of constrained discriminated with other progenitors


On Tue, Jun 15, 2010 at 11:31 AM, Richard Guenther
<richard.guenther@gmail.com> wrote:
> On Mon, Jun 14, 2010 at 5:05 PM, Arnaud Charlet <charlet@adacore.com> wrote:
> [...]
>
> For some reason this batch of changes caused parallel bootstrap
> on x86_64 to fail for me with linker errors linking the RTS complaining
> about x86_64_32 relocs and missing -fPIC. ?A rm gcc/ada/rts/*.o and
> a build re-start gets me past this error.

For reference:

touch ../stamp-gnatlib-rts
make[6]: Leaving directory `/home/abuild/rguenther/obj/gcc/ada'
rm -f rts/libgna*.so
cd rts; ../../xgcc -B../../ -shared -g -O2  \
                -fPIC \
                -o libgnat-4.5.so \
                a-assert.o a-calari.o a-calcon.o a-caldel.o a-calend.o
...
seh_init.o cal.o arit64.o final.o tracebak.o expect.o mkdir.o socket.o
targext.o raise-gcc.o \
                -Wl,-soname,libgnat-4.5.so \
                 -lm
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld:
a-assert.o: relocation R_X86_64_32 against `.rodata' can not be used
when making a shared object; recompile with -fPIC
a-assert.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[5]: *** [gnatlib-shared-default] Error 1
make[5]: Leaving directory `/home/abuild/rguenther/obj/gcc/ada'
make[4]: *** [gnatlib-shared-dual] Error 2
make[4]: Leaving directory `/home/abuild/rguenther/obj/gcc/ada'
make[3]: *** [gnatlib-shared] Error 2
make[3]: Leaving directory `/home/abuild/rguenther/obj/gcc/ada'
make[2]: *** [gnatlib-shared] Error 2
make[2]: Leaving directory
`/home/abuild/rguenther/obj/x86_64-unknown-linux-gnu/libada'
make[1]: *** [all-target-libada] Error 2
make[1]: Leaving directory `/home/abuild/rguenther/obj'
make: *** [all] Error 2


> Richard.
>


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