Re[2]: [Gc] Build failure on NetBSD 5.1
Ivan Maidanski
ivmai at mail.ru
Mon Jul 4 08:05:49 PDT 2011
Hi Ludovic,
I've fixed this in the most easies way (without removing GC_init_netbsd_elf) - SEARCH_FOR_DATA_START is not defined now for NetBSD/amd64-elf.
Please check it on the target.
Regards.
02 july 2011, 11:24 Ivan Maidanski <ivmai at mail.ru>:
> Hi Ludo,
>
> SEARCH_FOR_DATA_START seems to be defined for one NETBSD platform.
>
> IMHO, the proper fix is to define SEARCH_FOR_DATA_START for all NETBSDs on ELF
> and adjust GC_init_linux_data_start accordingly removing GC_init_netbsd_elf.
> Could you prepare the patch?
>
> Regards.
>
> 02 jul 2011, 00:36 ludo at gnu.org (Ludovic Courtès):
> > Hello,
> >
> > GC 7.2alpha6 fails to build on x86_64-unknown-netbsd5.1:
> >
> > --8<---------------cut here---------------start------------->8---
> > /bin/ksh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H
> > -I./include -I../include -I./libatomic_ops/src -I../libatomic_ops/src
> > -fexceptions -g -O2 -MT os_dep.lo -MD -MP -MF .deps/os_dep.Tpo -c -o
> os_dep.lo
> > ../os_dep.c
> > libtool: compile: gcc -DHAVE_CONFIG_H -I./include -I../include
> > -I./libatomic_ops/src -I../libatomic_ops/src -fexceptions -g -O2 -MT
> os_dep.lo
> > -MD -MP -MF .deps/os_dep.Tpo -c ../os_dep.c -fPIC -DPIC -o .libs/os_dep.o
> > ../os_dep.c:501: error: redefinition of 'GC_data_start'
> > ../os_dep.c:452: error: previous definition of 'GC_data_start' was here
> > *** Error code 1
> > --8<---------------cut here---------------end--------------->8---
> >
> > Ideas?
> >
> > Thanks,
> > Ludo’.
> >
> > _______________________________________________
> > Gc mailing list
> > Gc at linux.hpl.hp.com
> > http://www.hpl.hp.com/hosted/linux/mail-archives/gc/
>
> _______________________________________________
> Gc mailing list
> Gc at linux.hpl.hp.com
> http://www.hpl.hp.com/hosted/linux/mail-archives/gc/
More information about the Gc
mailing list