Hi, Would it be possible for you to send this through upstream at
g...@linux.hpl.hp.com http://www.hpl.hp.com/personal/Hans_Boehm/gc/ I just prefer to have the experts there look at it, before diverging the Debian package I will watch the list, and when it's committed do a pull of a new version -i On Thu, Sep 17, 2009 at 12:23 AM, Nobuhiro Iwamatsu <iwama...@nigauri.org> wrote: > Package: libatomic-ops > Version: 1.2+cvs20080819-1 > Severity: wishlist > Tags: patch > User: debian-...@superh.org > Usertags: sh4 > > Hi, > > I am now trying to run Debian on Renesas SH CPU(sh4). > libatomic-ops FTBFS on sh4. > > ------ > cc -DHAVE_CONFIG_H -I. -I. -I. -fPIC -g -O2 -g -Wall -O2 -DNDEBUG -c > atomic_ops.c > atomic_ops.c:74: error: expected '=', ',', ';', 'asm' or '__attribute__' > before 'AO_locks' > atomic_ops.c: In function 'AO_spin': > atomic_ops.c:91: warning: implicit declaration of function 'AO_load' > atomic_ops.c:98: warning: implicit declaration of function 'AO_store' > atomic_ops.c: At top level: > atomic_ops.c:116: warning: type defaults to 'int' in declaration of > 'AO_TS_t' > atomic_ops.c:116: error: expected ';', ',' or ')' before '*' token > atomic_ops.c:124: warning: type defaults to 'int' in declaration of > 'AO_TS_t' > atomic_ops.c:124: error: expected ';', ',' or ')' before '*' token > atomic_ops.c:130: warning: type defaults to 'int' in declaration of > 'AO_TS_t' > atomic_ops.c:130: error: expected ';', ',' or ')' before '*' token > atomic_ops.c:139: error: expected '=', ',', ';', 'asm' or > '__attribute__' before 'init_lock' > atomic_ops.c: In function 'AO_compare_and_swap_emulation': > atomic_ops.c:144: error: 'AO_TS_t' undeclared (first use in this > function) > atomic_ops.c:144: error: (Each undeclared identifier is reported only > once > atomic_ops.c:144: error: for each function it appears in.) > atomic_ops.c:144: error: 'my_lock' undeclared (first use in this > function) > atomic_ops.c:144: error: 'AO_locks' undeclared (first use in this > function) > atomic_ops.c:148: warning: implicit declaration of function > 'AO_load_acquire' > atomic_ops.c:150: warning: implicit declaration of function 'lock' > atomic_ops.c:150: error: 'init_lock' undeclared (first use in this > function) > atomic_ops.c:152: warning: implicit declaration of function 'unlock' > atomic_ops.c:153: warning: implicit declaration of function > 'AO_store_release' > atomic_ops.c: In function 'AO_compare_double_and_swap_double_emulation': > atomic_ops.c:180: error: 'AO_TS_t' undeclared (first use in this > function) > atomic_ops.c:180: error: 'my_lock' undeclared (first use in this > function) > atomic_ops.c:180: error: 'AO_locks' undeclared (first use in this > function) > atomic_ops.c:186: error: 'init_lock' undeclared (first use in this > function) > atomic_ops.c: In function 'AO_store_full_emulation': > atomic_ops.c:215: error: 'AO_TS_t' undeclared (first use in this > function) > atomic_ops.c:215: error: 'my_lock' undeclared (first use in this > function) > atomic_ops.c:215: error: 'AO_locks' undeclared (first use in this > function) > make[4]: *** [atomic_ops.o] Error 1 > make[4]: Leaving directory > `/home/iwamatsu/build-area/libatomic-ops/libatomic-ops-1.2+cvs20080819/src' > make[3]: *** [all-recursive] Error 1 > make[3]: Leaving directory > `/home/iwamatsu/build-area/libatomic-ops/libatomic-ops-1.2+cvs20080819/src' > make[2]: *** [all] Error 2 > make[2]: Leaving directory > `/home/iwamatsu/build-area/libatomic-ops/libatomic-ops-1.2+cvs20080819/src' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory > `/home/iwamatsu/build-area/libatomic-ops/libatomic-ops-1.2+cvs20080819' > make: *** [debian/stamp-makefile-build] Error 2 > dpkg-buildpackage: error: debian/rules build gave error exit status 2 > ------ > > Current libatomic-ops package doesn't support sh4. > I made a patch to revise to be able to build. > I attached patch and buildlog. > Would you apply it? > > Best regards, > Nobuhiro > -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org