xenocara build failure on loongson
Brian Callahan <[email protected]> Mon, 18 Mar 2013 16:12:59 -0400
| Newsgroups | gmane.os.openbsd.x11 |
|---|---|
| Message-ID | <[email protected]> |
Hi -- I tried building xenocara on a fresh install and fresh cvs checkout on loongson, and I get the error below. There are no atomics on loongson. ~Brian ===> fc-case cc -O2 -pipe -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -DHAVE_CONFIG_H -I/usr/xenocara/lib/fontconfig/fc-case/../../../dist/fontconfig -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/usr/xenocara/lib/fontconfig/fc-case/../src -I/usr/xenocara/lib/fontconfig/fc-case/../../../dist/fontconfig/src -I/usr/xenocara/lib/fontconfig/fc-case/../common -I/usr/xenocara/lib/fontconfig/fc-case -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -DHAVE_CONFIG_H -I/usr/xenocara/lib/fontconfig/fc-case/../../../dist/fontconfig -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/usr/xenocara/lib/fontconfig/fc-case/../src -I/usr/xenocara/lib/fontconfig/fc-case/../../../dist/fontconfig/src -I/usr/xenocara/lib/fontconfig/fc-case/../common -I/usr/xenocara/lib/fontconfig/fc-case -c /usr/xenocara/lib/fontconfig/fc-case/../../../dist/fontconfig/fc-case/fc-case.c cc -o fc-case fc-case.o ===> fc-lang cc -O2 -pipe -I../fc-case -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -DHAVE_CONFIG_H -I/usr/xenocara/lib/fontconfig/fc-lang/../../../dist/fontconfig -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/usr/xenocara/lib/fontconfig/fc-lang/../src -I/usr/xenocara/lib/fontconfig/fc-lang/../../../dist/fontconfig/src -I/usr/xenocara/lib/fontconfig/fc-lang/../common -I/usr/xenocara/lib/fontconfig/fc-lang -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -DHAVE_CONFIG_H -I/usr/xenocara/lib/fontconfig/fc-lang/../../../dist/fontconfig -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/usr/xenocara/lib/fontconfig/fc-lang/../src -I/usr/xenocara/lib/fontconfig/fc-lang/../../../dist/fontconfig/src -I/usr/xenocara/lib/fontconfig/fc-lang/../common -I/usr/xenocara/lib/fontconfig/fc-lang -c /usr/xenocara/lib/fontconfig/fc-lang/../../../dist/fontconfig/fc-lang/fc-lang.c cc -o fc-lang fc-lang.o fc-lang.o(.text+0x19cc): In function `FcStrSerialize': : warning: strcpy() is almost always misused, please use strlcpy() fc-lang.o(.text+0x1a98): In function `scanopen': : warning: strcat() is almost always misused, please use strlcat() fc-lang.o(.text+0x20a4): In function `FcStrSetDestroy': : undefined reference to `__sync_fetch_and_add_4' fc-lang.o(.text+0x20a8): In function `FcStrSetDestroy': : undefined reference to `__sync_fetch_and_add_4' fc-lang.o(.text+0x2214): In function `FcStrListCreate': : undefined reference to `__sync_fetch_and_add_4' fc-lang.o(.text+0x2218): In function `FcStrListCreate': : undefined reference to `__sync_fetch_and_add_4' fc-lang.o(.text+0x2280): In function `FcCharSetDestroy': : undefined reference to `__sync_fetch_and_add_4' fc-lang.o(.text+0x2284): more undefined references to `__sync_fetch_and_add_4' follow collect2: ld returned 1 exit status *** Error 1 in fc-lang (<bsd.prog.mk>:95 'fc-lang') *** Error 1 in /usr/xenocara/lib/fontconfig (<bsd.subdir.mk>:48 'all')