Compile failure due to FORTIFY_SOURCE #61

Closed
opened 2014-02-28 10:46:13 +00:00 by vbraun · 2 comments
vbraun commented 2014-02-28 10:46:13 +00:00 (Migrated from github.com)

The unconditional use of -D_FORTIFY_SOURCE=2 can lead to compile failures on older systems. It is also unclear why this should be unconditionally turned on. I would recommend removing it from Makefile.in, if you want it you can always specify it via CFLAGS/CPPFLAGS.

Example output of a failed built on an Itanium machine:

checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for strlcpy... no
checking for strlcat... no
checking for strndup... yes
checking whether to enable strict mode... (cached) no
checking how to run the C preprocessor... cpp
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating tests/run.sh
config.status: creating config.h
gcc -c -g -O2 -DLIBDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/lib\" -DINCLUDEDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/include\" -DPKG_DEFAULT_PATH=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/lib/pkgconfig:/home/buildbot/build/sage/iras-1/sage_git/build/local/share/pkgconfig\" -DSYSTEM_INCLUDEDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/include\" -DSYSTEM_LIBDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/lib\" -Wall -Wextra -Wformat=2 -std=gnu99 -D_FORTIFY_SOURCE=2 -I.  main.c -o main.o
gcc -c -g -O2 -DLIBDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/lib\" -DINCLUDEDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/include\" -DPKG_DEFAULT_PATH=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/lib/pkgconfig:/home/buildbot/build/sage/iras-1/sage_git/build/local/share/pkgconfig\" -DSYSTEM_INCLUDEDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/include\" -DSYSTEM_LIBDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/lib\" -Wall -Wextra -Wformat=2 -std=gnu99 -D_FORTIFY_SOURCE=2 -I.  cache.c -o cache.o
gcc -c -g -O2 -DLIBDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/lib\" -DINCLUDEDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/include\" -DPKG_DEFAULT_PATH=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/lib/pkgconfig:/home/buildbot/build/sage/iras-1/sage_git/build/local/share/pkgconfig\" -DSYSTEM_INCLUDEDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/include\" -DSYSTEM_LIBDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/lib\" -Wall -Wextra -Wformat=2 -std=gnu99 -D_FORTIFY_SOURCE=2 -I.  pkg.c -o pkg.o
gcc -c -g -O2 -DLIBDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/lib\" -DINCLUDEDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/include\" -DPKG_DEFAULT_PATH=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/lib/pkgconfig:/home/buildbot/build/sage/iras-1/sage_git/build/local/share/pkgconfig\" -DSYSTEM_INCLUDEDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/include\" -DSYSTEM_LIBDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/lib\" -Wall -Wextra -Wformat=2 -std=gnu99 -D_FORTIFY_SOURCE=2 -I.  bsdstubs.c -o bsdstubs.o
gcc -c -g -O2 -DLIBDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/lib\" -DINCLUDEDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/include\" -DPKG_DEFAULT_PATH=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/lib/pkgconfig:/home/buildbot/build/sage/iras-1/sage_git/build/local/share/pkgconfig\" -DSYSTEM_INCLUDEDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/include\" -DSYSTEM_LIBDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/lib\" -Wall -Wextra -Wformat=2 -std=gnu99 -D_FORTIFY_SOURCE=2 -I.  getopt_long.c -o getopt_long.o
gcc -c -g -O2 -DLIBDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/lib\" -DINCLUDEDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/include\" -DPKG_DEFAULT_PATH=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/lib/pkgconfig:/home/buildbot/build/sage/iras-1/sage_git/build/local/share/pkgconfig\" -DSYSTEM_INCLUDEDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/include\" -DSYSTEM_LIBDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/lib\" -Wall -Wextra -Wformat=2 -std=gnu99 -D_FORTIFY_SOURCE=2 -I.  fragment.c -o fragment.o
gcc -c -g -O2 -DLIBDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/lib\" -DINCLUDEDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/include\" -DPKG_DEFAULT_PATH=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/lib/pkgconfig:/home/buildbot/build/sage/iras-1/sage_git/build/local/share/pkgconfig\" -DSYSTEM_INCLUDEDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/include\" -DSYSTEM_LIBDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/lib\" -Wall -Wextra -Wformat=2 -std=gnu99 -D_FORTIFY_SOURCE=2 -I.  argvsplit.c -o argvsplit.o
gcc -c -g -O2 -DLIBDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/lib\" -DINCLUDEDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/include\" -DPKG_DEFAULT_PATH=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/lib/pkgconfig:/home/buildbot/build/sage/iras-1/sage_git/build/local/share/pkgconfig\" -DSYSTEM_INCLUDEDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/include\" -DSYSTEM_LIBDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/lib\" -Wall -Wextra -Wformat=2 -std=gnu99 -D_FORTIFY_SOURCE=2 -I.  fileio.c -o fileio.o
gcc -c -g -O2 -DLIBDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/lib\" -DINCLUDEDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/include\" -DPKG_DEFAULT_PATH=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/lib/pkgconfig:/home/buildbot/build/sage/iras-1/sage_git/build/local/share/pkgconfig\" -DSYSTEM_INCLUDEDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/include\" -DSYSTEM_LIBDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/lib\" -Wall -Wextra -Wformat=2 -std=gnu99 -D_FORTIFY_SOURCE=2 -I.  tuple.c -o tuple.o
gcc -c -g -O2 -DLIBDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/lib\" -DINCLUDEDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/include\" -DPKG_DEFAULT_PATH=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/lib/pkgconfig:/home/buildbot/build/sage/iras-1/sage_git/build/local/share/pkgconfig\" -DSYSTEM_INCLUDEDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/include\" -DSYSTEM_LIBDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/lib\" -Wall -Wextra -Wformat=2 -std=gnu99 -D_FORTIFY_SOURCE=2 -I.  dependency.c -o dependency.o
gcc -c -g -O2 -DLIBDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/lib\" -DINCLUDEDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/include\" -DPKG_DEFAULT_PATH=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/lib/pkgconfig:/home/buildbot/build/sage/iras-1/sage_git/build/local/share/pkgconfig\" -DSYSTEM_INCLUDEDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/include\" -DSYSTEM_LIBDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/lib\" -Wall -Wextra -Wformat=2 -std=gnu99 -D_FORTIFY_SOURCE=2 -I.  queue.c -o queue.o
gcc  -o pkgconf main.o cache.o pkg.o bsdstubs.o getopt_long.o fragment.o argvsplit.o fileio.o tuple.o dependency.o queue.o
cache.o: In function `gets':
/usr/include/bits/stdio2.h:80: multiple definition of `gets'
main.o:/usr/include/bits/stdio2.h:80: first defined here
cache.o: In function `fgets':
/usr/include/bits/stdio2.h:94: multiple definition of `fgets'
main.o:/usr/include/bits/stdio2.h:94: first defined here
cache.o: In function `fgets_unlocked':
/usr/include/bits/stdio2.h:110: multiple definition of `fgets_unlocked'
main.o:/usr/include/bits/stdio2.h:110: first defined here
cache.o: In function `realpath':
/usr/include/bits/stdlib.h:33: multiple definition of `realpath'
main.o:/usr/include/bits/stdlib.h:33: first defined here
cache.o: In function `ptsname_r':
/usr/include/bits/stdlib.h:49: multiple definition of `ptsname_r'
main.o:/usr/include/bits/stdlib.h:49: first defined here
cache.o: In function `wctomb':
/usr/include/bits/stdlib.h:64: multiple definition of `wctomb'
main.o:/usr/include/bits/stdlib.h:64: first defined here
cache.o: In function `mbstowcs':
/usr/include/bits/stdlib.h:89: multiple definition of `mbstowcs'
main.o:/usr/include/bits/stdlib.h:89: first defined here
cache.o: In function `wcstombs':
/usr/include/bits/stdlib.h:110: multiple definition of `wcstombs'
main.o:/usr/include/bits/stdlib.h:110: first defined here
cache.o: In function `stpncpy':
/usr/include/bits/string3.h:156: multiple definition of `stpncpy'
main.o:/usr/include/bits/string3.h:156: first defined here
cache.o: In function `read':
/usr/include/bits/unistd.h:31: multiple definition of `read'
main.o:/usr/include/bits/unistd.h:31: first defined here
cache.o: In function `pread':
/usr/include/bits/unistd.h:53: multiple definition of `pread'
main.o:/usr/include/bits/unistd.h:53: first defined here
cache.o: In function `pread64':
/usr/include/bits/unistd.h:73: multiple definition of `pread64'
main.o:/usr/include/bits/unistd.h:73: first defined here
cache.o: In function `readlink':
/usr/include/bits/unistd.h:96: multiple definition of `readlink'
main.o:/usr/include/bits/unistd.h:96: first defined here
cache.o: In function `getcwd':
/usr/include/bits/unistd.h:111: multiple definition of `getcwd'
main.o:/usr/include/bits/unistd.h:111: first defined here
cache.o: In function `getwd':
/usr/include/bits/unistd.h:126: multiple definition of `getwd'
main.o:/usr/include/bits/unistd.h:126: first defined here
cache.o: In function `confstr':
/usr/include/bits/unistd.h:140: multiple definition of `confstr'
main.o:/usr/include/bits/unistd.h:140: first defined here
cache.o: In function `getgroups':
/usr/include/bits/unistd.h:155: multiple definition of `getgroups'
main.o:/usr/include/bits/unistd.h:155: first defined here
cache.o: In function `ttyname_r':
/usr/include/bits/unistd.h:172: multiple definition of `ttyname_r'
main.o:/usr/include/bits/unistd.h:172: first defined here
cache.o: In function `getlogin_r':
/usr/include/bits/unistd.h:188: multiple definition of `getlogin_r'
main.o:/usr/include/bits/unistd.h:188: first defined here
cache.o: In function `gethostname':
/usr/include/bits/unistd.h:205: multiple definition of `gethostname'
main.o:/usr/include/bits/unistd.h:205: first defined here
cache.o: In function `getdomainname':
/usr/include/bits/unistd.h:223: multiple definition of `getdomainname'
main.o:/usr/include/bits/unistd.h:223: first defined here
pkg.o: In function `gets':
/usr/include/bits/stdio2.h:80: multiple definition of `gets'
main.o:/usr/include/bits/stdio2.h:80: first defined here
pkg.o: In function `fgets':
/usr/include/bits/stdio2.h:94: multiple definition of `fgets'
main.o:/usr/include/bits/stdio2.h:94: first defined here
pkg.o: In function `fgets_unlocked':
/usr/include/bits/stdio2.h:110: multiple definition of `fgets_unlocked'
main.o:/usr/include/bits/stdio2.h:110: first defined here
pkg.o: In function `realpath':
/usr/include/bits/stdlib.h:33: multiple definition of `realpath'
main.o:/usr/include/bits/stdlib.h:33: first defined here
pkg.o: In function `ptsname_r':
/usr/include/bits/stdlib.h:49: multiple definition of `ptsname_r'
main.o:/usr/include/bits/stdlib.h:49: first defined here
pkg.o: In function `wctomb':
/usr/include/bits/stdlib.h:64: multiple definition of `wctomb'
main.o:/usr/include/bits/stdlib.h:64: first defined here
pkg.o: In function `mbstowcs':
/usr/include/bits/stdlib.h:89: multiple definition of `mbstowcs'
main.o:/usr/include/bits/stdlib.h:89: first defined here
pkg.o: In function `wcstombs':
/usr/include/bits/stdlib.h:110: multiple definition of `wcstombs'
main.o:/usr/include/bits/stdlib.h:110: first defined here
pkg.o: In function `stpncpy':
/usr/include/bits/string3.h:156: multiple definition of `stpncpy'
main.o:/usr/include/bits/string3.h:156: first defined here
pkg.o: In function `read':
/usr/include/bits/unistd.h:31: multiple definition of `read'
main.o:/usr/include/bits/unistd.h:31: first defined here
pkg.o: In function `pread':
/usr/include/bits/unistd.h:53: multiple definition of `pread'
main.o:/usr/include/bits/unistd.h:53: first defined here
pkg.o: In function `pread64':
/usr/include/bits/unistd.h:73: multiple definition of `pread64'
main.o:/usr/include/bits/unistd.h:73: first defined here
pkg.o: In function `readlink':
/usr/include/bits/unistd.h:96: multiple definition of `readlink'
main.o:/usr/include/bits/unistd.h:96: first defined here
pkg.o: In function `getcwd':
/usr/include/bits/unistd.h:111: multiple definition of `getcwd'
main.o:/usr/include/bits/unistd.h:111: first defined here
pkg.o: In function `getwd':
/usr/include/bits/unistd.h:126: multiple definition of `getwd'
main.o:/usr/include/bits/unistd.h:126: first defined here
pkg.o: In function `confstr':
/usr/include/bits/unistd.h:140: multiple definition of `confstr'
main.o:/usr/include/bits/unistd.h:140: first defined here
pkg.o: In function `getgroups':
/usr/include/bits/unistd.h:155: multiple definition of `getgroups'
main.o:/usr/include/bits/unistd.h:155: first defined here
pkg.o: In function `ttyname_r':
/usr/include/bits/unistd.h:172: multiple definition of `ttyname_r'
main.o:/usr/include/bits/unistd.h:172: first defined here
pkg.o: In function `getlogin_r':
/usr/include/bits/unistd.h:188: multiple definition of `getlogin_r'
main.o:/usr/include/bits/unistd.h:188: first defined here
pkg.o: In function `gethostname':
/usr/include/bits/unistd.h:205: multiple definition of `gethostname'
main.o:/usr/include/bits/unistd.h:205: first defined here
pkg.o: In function `getdomainname':
/usr/include/bits/unistd.h:223: multiple definition of `getdomainname'
main.o:/usr/include/bits/unistd.h:223: first defined here
bsdstubs.o: In function `stpncpy':
/usr/include/bits/string3.h:156: multiple definition of `stpncpy'
main.o:/usr/include/bits/string3.h:156: first defined here
bsdstubs.o: In function `gets':
/usr/include/bits/stdio2.h:80: multiple definition of `gets'
main.o:/usr/include/bits/stdio2.h:80: first defined here
bsdstubs.o: In function `fgets':
/usr/include/bits/stdio2.h:94: multiple definition of `fgets'
main.o:/usr/include/bits/stdio2.h:94: first defined here
bsdstubs.o: In function `realpath':
/usr/include/bits/stdlib.h:33: multiple definition of `realpath'
main.o:/usr/include/bits/stdlib.h:33: first defined here
bsdstubs.o: In function `ptsname_r':
/usr/include/bits/stdlib.h:49: multiple definition of `ptsname_r'
main.o:/usr/include/bits/stdlib.h:49: first defined here
bsdstubs.o: In function `wctomb':
/usr/include/bits/stdlib.h:64: multiple definition of `wctomb'
main.o:/usr/include/bits/stdlib.h:64: first defined here
bsdstubs.o: In function `mbstowcs':
/usr/include/bits/stdlib.h:89: multiple definition of `mbstowcs'
main.o:/usr/include/bits/stdlib.h:89: first defined here
bsdstubs.o: In function `wcstombs':
/usr/include/bits/stdlib.h:110: multiple definition of `wcstombs'
main.o:/usr/include/bits/stdlib.h:110: first defined here
bsdstubs.o: In function `read':
/usr/include/bits/unistd.h:31: multiple definition of `read'
main.o:/usr/include/bits/unistd.h:31: first defined here
bsdstubs.o: In function `readlink':
/usr/include/bits/unistd.h:96: multiple definition of `readlink'
main.o:/usr/include/bits/unistd.h:96: first defined here
bsdstubs.o: In function `getcwd':
/usr/include/bits/unistd.h:111: multiple definition of `getcwd'
main.o:/usr/include/bits/unistd.h:111: first defined here
bsdstubs.o: In function `getwd':
/usr/include/bits/unistd.h:126: multiple definition of `getwd'
main.o:/usr/include/bits/unistd.h:126: first defined here
bsdstubs.o: In function `confstr':
/usr/include/bits/unistd.h:140: multiple definition of `confstr'
main.o:/usr/include/bits/unistd.h:140: first defined here
bsdstubs.o: In function `getgroups':
/usr/include/bits/unistd.h:155: multiple definition of `getgroups'
main.o:/usr/include/bits/unistd.h:155: first defined here
bsdstubs.o: In function `ttyname_r':
/usr/include/bits/unistd.h:172: multiple definition of `ttyname_r'
main.o:/usr/include/bits/unistd.h:172: first defined here
bsdstubs.o: In function `gethostname':
/usr/include/bits/unistd.h:205: multiple definition of `gethostname'
main.o:/usr/include/bits/unistd.h:205: first defined here
bsdstubs.o: In function `getdomainname':
/usr/include/bits/unistd.h:223: multiple definition of `getdomainname'
main.o:/usr/include/bits/unistd.h:223: first defined here
getopt_long.o: In function `gets':
/usr/include/bits/stdio2.h:80: multiple definition of `gets'
main.o:/usr/include/bits/stdio2.h:80: first defined here
getopt_long.o: In function `fgets':
/usr/include/bits/stdio2.h:94: multiple definition of `fgets'
main.o:/usr/include/bits/stdio2.h:94: first defined here
getopt_long.o: In function `fgets_unlocked':
/usr/include/bits/stdio2.h:110: multiple definition of `fgets_unlocked'
main.o:/usr/include/bits/stdio2.h:110: first defined here
getopt_long.o: In function `realpath':
/usr/include/bits/stdlib.h:33: multiple definition of `realpath'
main.o:/usr/include/bits/stdlib.h:33: first defined here
getopt_long.o: In function `ptsname_r':
/usr/include/bits/stdlib.h:49: multiple definition of `ptsname_r'
main.o:/usr/include/bits/stdlib.h:49: first defined here
getopt_long.o: In function `wctomb':
/usr/include/bits/stdlib.h:64: multiple definition of `wctomb'
main.o:/usr/include/bits/stdlib.h:64: first defined here
getopt_long.o: In function `mbstowcs':
/usr/include/bits/stdlib.h:89: multiple definition of `mbstowcs'
main.o:/usr/include/bits/stdlib.h:89: first defined here
getopt_long.o: In function `wcstombs':
/usr/include/bits/stdlib.h:110: multiple definition of `wcstombs'
main.o:/usr/include/bits/stdlib.h:110: first defined here
getopt_long.o: In function `stpncpy':
/usr/include/bits/string3.h:156: multiple definition of `stpncpy'
main.o:/usr/include/bits/string3.h:156: first defined here
getopt_long.o: In function `read':
/usr/include/bits/unistd.h:31: multiple definition of `read'
main.o:/usr/include/bits/unistd.h:31: first defined here
getopt_long.o: In function `pread':
/usr/include/bits/unistd.h:53: multiple definition of `pread'
main.o:/usr/include/bits/unistd.h:53: first defined here
getopt_long.o: In function `pread64':
/usr/include/bits/unistd.h:73: multiple definition of `pread64'
main.o:/usr/include/bits/unistd.h:73: first defined here
getopt_long.o: In function `readlink':
/usr/include/bits/unistd.h:96: multiple definition of `readlink'
main.o:/usr/include/bits/unistd.h:96: first defined here
getopt_long.o: In function `getcwd':
/usr/include/bits/unistd.h:111: multiple definition of `getcwd'
main.o:/usr/include/bits/unistd.h:111: first defined here
getopt_long.o: In function `getwd':
/usr/include/bits/unistd.h:126: multiple definition of `getwd'
main.o:/usr/include/bits/unistd.h:126: first defined here
getopt_long.o: In function `confstr':
/usr/include/bits/unistd.h:140: multiple definition of `confstr'
main.o:/usr/include/bits/unistd.h:140: first defined here
getopt_long.o: In function `getgroups':
/usr/include/bits/unistd.h:155: multiple definition of `getgroups'
main.o:/usr/include/bits/unistd.h:155: first defined here
getopt_long.o: In function `ttyname_r':
/usr/include/bits/unistd.h:172: multiple definition of `ttyname_r'
main.o:/usr/include/bits/unistd.h:172: first defined here
getopt_long.o: In function `getlogin_r':
/usr/include/bits/unistd.h:188: multiple definition of `getlogin_r'
main.o:/usr/include/bits/unistd.h:188: first defined here
getopt_long.o: In function `gethostname':
/usr/include/bits/unistd.h:205: multiple definition of `gethostname'
main.o:/usr/include/bits/unistd.h:205: first defined here
getopt_long.o: In function `getdomainname':
/usr/include/bits/unistd.h:223: multiple definition of `getdomainname'
main.o:/usr/include/bits/unistd.h:223: first defined here
fragment.o: In function `gets':
/usr/include/bits/stdio2.h:80: multiple definition of `gets'
main.o:/usr/include/bits/stdio2.h:80: first defined here
fragment.o: In function `fgets':
/usr/include/bits/stdio2.h:94: multiple definition of `fgets'
main.o:/usr/include/bits/stdio2.h:94: first defined here
fragment.o: In function `fgets_unlocked':
/usr/include/bits/stdio2.h:110: multiple definition of `fgets_unlocked'
main.o:/usr/include/bits/stdio2.h:110: first defined here
fragment.o: In function `realpath':
/usr/include/bits/stdlib.h:33: multiple definition of `realpath'
main.o:/usr/include/bits/stdlib.h:33: first defined here
fragment.o: In function `ptsname_r':
/usr/include/bits/stdlib.h:49: multiple definition of `ptsname_r'
main.o:/usr/include/bits/stdlib.h:49: first defined here
fragment.o: In function `wctomb':
/usr/include/bits/stdlib.h:64: multiple definition of `wctomb'
main.o:/usr/include/bits/stdlib.h:64: first defined here
fragment.o: In function `mbstowcs':
/usr/include/bits/stdlib.h:89: multiple definition of `mbstowcs'
main.o:/usr/include/bits/stdlib.h:89: first defined here
fragment.o: In function `wcstombs':
/usr/include/bits/stdlib.h:110: multiple definition of `wcstombs'
main.o:/usr/include/bits/stdlib.h:110: first defined here
fragment.o: In function `stpncpy':
/usr/include/bits/string3.h:156: multiple definition of `stpncpy'
main.o:/usr/include/bits/string3.h:156: first defined here
fragment.o: In function `read':
/usr/include/bits/unistd.h:31: multiple definition of `read'
main.o:/usr/include/bits/unistd.h:31: first defined here
fragment.o: In function `pread':
/usr/include/bits/unistd.h:53: multiple definition of `pread'
main.o:/usr/include/bits/unistd.h:53: first defined here
fragment.o: In function `pread64':
/usr/include/bits/unistd.h:73: multiple definition of `pread64'
main.o:/usr/include/bits/unistd.h:73: first defined here
fragment.o: In function `readlink':
/usr/include/bits/unistd.h:96: multiple definition of `readlink'
main.o:/usr/include/bits/unistd.h:96: first defined here
fragment.o: In function `getcwd':
/usr/include/bits/unistd.h:111: multiple definition of `getcwd'
main.o:/usr/include/bits/unistd.h:111: first defined here
fragment.o: In function `getwd':
/usr/include/bits/unistd.h:126: multiple definition of `getwd'
main.o:/usr/include/bits/unistd.h:126: first defined here
fragment.o: In function `confstr':
/usr/include/bits/unistd.h:140: multiple definition of `confstr'
main.o:/usr/include/bits/unistd.h:140: first defined here
fragment.o: In function `getgroups':
/usr/include/bits/unistd.h:155: multiple definition of `getgroups'
main.o:/usr/include/bits/unistd.h:155: first defined here
fragment.o: In function `ttyname_r':
/usr/include/bits/unistd.h:172: multiple definition of `ttyname_r'
main.o:/usr/include/bits/unistd.h:172: first defined here
fragment.o: In function `getlogin_r':
/usr/include/bits/unistd.h:188: multiple definition of `getlogin_r'
main.o:/usr/include/bits/unistd.h:188: first defined here
fragment.o: In function `gethostname':
/usr/include/bits/unistd.h:205: multiple definition of `gethostname'
main.o:/usr/include/bits/unistd.h:205: first defined here
fragment.o: In function `getdomainname':
/usr/include/bits/unistd.h:223: multiple definition of `getdomainname'
main.o:/usr/include/bits/unistd.h:223: first defined here
argvsplit.o: In function `gets':
/usr/include/bits/stdio2.h:80: multiple definition of `gets'
main.o:/usr/include/bits/stdio2.h:80: first defined here
argvsplit.o: In function `fgets':
/usr/include/bits/stdio2.h:94: multiple definition of `fgets'
main.o:/usr/include/bits/stdio2.h:94: first defined here
argvsplit.o: In function `fgets_unlocked':
/usr/include/bits/stdio2.h:110: multiple definition of `fgets_unlocked'
main.o:/usr/include/bits/stdio2.h:110: first defined here
argvsplit.o: In function `realpath':
/usr/include/bits/stdlib.h:33: multiple definition of `realpath'
main.o:/usr/include/bits/stdlib.h:33: first defined here
argvsplit.o: In function `ptsname_r':
/usr/include/bits/stdlib.h:49: multiple definition of `ptsname_r'
main.o:/usr/include/bits/stdlib.h:49: first defined here
argvsplit.o: In function `wctomb':
/usr/include/bits/stdlib.h:64: multiple definition of `wctomb'
main.o:/usr/include/bits/stdlib.h:64: first defined here
argvsplit.o: In function `mbstowcs':
/usr/include/bits/stdlib.h:89: multiple definition of `mbstowcs'
main.o:/usr/include/bits/stdlib.h:89: first defined here
argvsplit.o: In function `wcstombs':
/usr/include/bits/stdlib.h:110: multiple definition of `wcstombs'
main.o:/usr/include/bits/stdlib.h:110: first defined here
argvsplit.o: In function `stpncpy':
/usr/include/bits/string3.h:156: multiple definition of `stpncpy'
main.o:/usr/include/bits/string3.h:156: first defined here
argvsplit.o: In function `read':
/usr/include/bits/unistd.h:31: multiple definition of `read'
main.o:/usr/include/bits/unistd.h:31: first defined here
argvsplit.o: In function `pread':
/usr/include/bits/unistd.h:53: multiple definition of `pread'
main.o:/usr/include/bits/unistd.h:53: first defined here
argvsplit.o: In function `pread64':
/usr/include/bits/unistd.h:73: multiple definition of `pread64'
main.o:/usr/include/bits/unistd.h:73: first defined here
argvsplit.o: In function `readlink':
/usr/include/bits/unistd.h:96: multiple definition of `readlink'
main.o:/usr/include/bits/unistd.h:96: first defined here
argvsplit.o: In function `getcwd':
/usr/include/bits/unistd.h:111: multiple definition of `getcwd'
main.o:/usr/include/bits/unistd.h:111: first defined here
argvsplit.o: In function `getwd':
/usr/include/bits/unistd.h:126: multiple definition of `getwd'
main.o:/usr/include/bits/unistd.h:126: first defined here
argvsplit.o: In function `confstr':
/usr/include/bits/unistd.h:140: multiple definition of `confstr'
main.o:/usr/include/bits/unistd.h:140: first defined here
argvsplit.o: In function `getgroups':
/usr/include/bits/unistd.h:155: multiple definition of `getgroups'
main.o:/usr/include/bits/unistd.h:155: first defined here
argvsplit.o: In function `ttyname_r':
/usr/include/bits/unistd.h:172: multiple definition of `ttyname_r'
main.o:/usr/include/bits/unistd.h:172: first defined here
argvsplit.o: In function `getlogin_r':
/usr/include/bits/unistd.h:188: multiple definition of `getlogin_r'
main.o:/usr/include/bits/unistd.h:188: first defined here
argvsplit.o: In function `gethostname':
/usr/include/bits/unistd.h:205: multiple definition of `gethostname'
main.o:/usr/include/bits/unistd.h:205: first defined here
argvsplit.o: In function `getdomainname':
/usr/include/bits/unistd.h:223: multiple definition of `getdomainname'
main.o:/usr/include/bits/unistd.h:223: first defined here
fileio.o: In function `gets':
/usr/include/bits/stdio2.h:80: multiple definition of `gets'
main.o:/usr/include/bits/stdio2.h:80: first defined here
fileio.o: In function `fgets':
/usr/include/bits/stdio2.h:94: multiple definition of `fgets'
main.o:/usr/include/bits/stdio2.h:94: first defined here
fileio.o: In function `fgets_unlocked':
/usr/include/bits/stdio2.h:110: multiple definition of `fgets_unlocked'
main.o:/usr/include/bits/stdio2.h:110: first defined here
fileio.o: In function `realpath':
/usr/include/bits/stdlib.h:33: multiple definition of `realpath'
main.o:/usr/include/bits/stdlib.h:33: first defined here
fileio.o: In function `ptsname_r':
/usr/include/bits/stdlib.h:49: multiple definition of `ptsname_r'
main.o:/usr/include/bits/stdlib.h:49: first defined here
fileio.o: In function `wctomb':
/usr/include/bits/stdlib.h:64: multiple definition of `wctomb'
main.o:/usr/include/bits/stdlib.h:64: first defined here
fileio.o: In function `mbstowcs':
/usr/include/bits/stdlib.h:89: multiple definition of `mbstowcs'
main.o:/usr/include/bits/stdlib.h:89: first defined here
fileio.o: In function `wcstombs':
/usr/include/bits/stdlib.h:110: multiple definition of `wcstombs'
main.o:/usr/include/bits/stdlib.h:110: first defined here
fileio.o: In function `stpncpy':
/usr/include/bits/string3.h:156: multiple definition of `stpncpy'
main.o:/usr/include/bits/string3.h:156: first defined here
fileio.o: In function `read':
/usr/include/bits/unistd.h:31: multiple definition of `read'
main.o:/usr/include/bits/unistd.h:31: first defined here
fileio.o: In function `pread':
/usr/include/bits/unistd.h:53: multiple definition of `pread'
main.o:/usr/include/bits/unistd.h:53: first defined here
fileio.o: In function `pread64':
/usr/include/bits/unistd.h:73: multiple definition of `pread64'
main.o:/usr/include/bits/unistd.h:73: first defined here
fileio.o: In function `readlink':
/usr/include/bits/unistd.h:96: multiple definition of `readlink'
main.o:/usr/include/bits/unistd.h:96: first defined here
fileio.o: In function `getcwd':
/usr/include/bits/unistd.h:111: multiple definition of `getcwd'
main.o:/usr/include/bits/unistd.h:111: first defined here
fileio.o: In function `getwd':
/usr/include/bits/unistd.h:126: multiple definition of `getwd'
main.o:/usr/include/bits/unistd.h:126: first defined here
fileio.o: In function `confstr':
/usr/include/bits/unistd.h:140: multiple definition of `confstr'
main.o:/usr/include/bits/unistd.h:140: first defined here
fileio.o: In function `getgroups':
/usr/include/bits/unistd.h:155: multiple definition of `getgroups'
main.o:/usr/include/bits/unistd.h:155: first defined here
fileio.o: In function `ttyname_r':
/usr/include/bits/unistd.h:172: multiple definition of `ttyname_r'
main.o:/usr/include/bits/unistd.h:172: first defined here
fileio.o: In function `getlogin_r':
/usr/include/bits/unistd.h:188: multiple definition of `getlogin_r'
main.o:/usr/include/bits/unistd.h:188: first defined here
fileio.o: In function `gethostname':
/usr/include/bits/unistd.h:205: multiple definition of `gethostname'
main.o:/usr/include/bits/unistd.h:205: first defined here
fileio.o: In function `getdomainname':
/usr/include/bits/unistd.h:223: multiple definition of `getdomainname'
main.o:/usr/include/bits/unistd.h:223: first defined here
tuple.o: In function `gets':
/usr/include/bits/stdio2.h:80: multiple definition of `gets'
main.o:/usr/include/bits/stdio2.h:80: first defined here
tuple.o: In function `fgets':
/usr/include/bits/stdio2.h:94: multiple definition of `fgets'
main.o:/usr/include/bits/stdio2.h:94: first defined here
tuple.o: In function `fgets_unlocked':
/usr/include/bits/stdio2.h:110: multiple definition of `fgets_unlocked'
main.o:/usr/include/bits/stdio2.h:110: first defined here
tuple.o: In function `realpath':
/usr/include/bits/stdlib.h:33: multiple definition of `realpath'
main.o:/usr/include/bits/stdlib.h:33: first defined here
tuple.o: In function `ptsname_r':
/usr/include/bits/stdlib.h:49: multiple definition of `ptsname_r'
main.o:/usr/include/bits/stdlib.h:49: first defined here
tuple.o: In function `wctomb':
/usr/include/bits/stdlib.h:64: multiple definition of `wctomb'
main.o:/usr/include/bits/stdlib.h:64: first defined here
tuple.o: In function `mbstowcs':
/usr/include/bits/stdlib.h:89: multiple definition of `mbstowcs'
main.o:/usr/include/bits/stdlib.h:89: first defined here
tuple.o: In function `wcstombs':
/usr/include/bits/stdlib.h:110: multiple definition of `wcstombs'
main.o:/usr/include/bits/stdlib.h:110: first defined here
tuple.o: In function `stpncpy':
/usr/include/bits/string3.h:156: multiple definition of `stpncpy'
main.o:/usr/include/bits/string3.h:156: first defined here
tuple.o: In function `read':
/usr/include/bits/unistd.h:31: multiple definition of `read'
main.o:/usr/include/bits/unistd.h:31: first defined here
tuple.o: In function `pread':
/usr/include/bits/unistd.h:53: multiple definition of `pread'
main.o:/usr/include/bits/unistd.h:53: first defined here
tuple.o: In function `pread64':
/usr/include/bits/unistd.h:73: multiple definition of `pread64'
main.o:/usr/include/bits/unistd.h:73: first defined here
tuple.o: In function `readlink':
/usr/include/bits/unistd.h:96: multiple definition of `readlink'
main.o:/usr/include/bits/unistd.h:96: first defined here
tuple.o: In function `getcwd':
/usr/include/bits/unistd.h:111: multiple definition of `getcwd'
main.o:/usr/include/bits/unistd.h:111: first defined here
tuple.o: In function `getwd':
/usr/include/bits/unistd.h:126: multiple definition of `getwd'
main.o:/usr/include/bits/unistd.h:126: first defined here
tuple.o: In function `confstr':
/usr/include/bits/unistd.h:140: multiple definition of `confstr'
main.o:/usr/include/bits/unistd.h:140: first defined here
tuple.o: In function `getgroups':
/usr/include/bits/unistd.h:155: multiple definition of `getgroups'
main.o:/usr/include/bits/unistd.h:155: first defined here
tuple.o: In function `ttyname_r':
/usr/include/bits/unistd.h:172: multiple definition of `ttyname_r'
main.o:/usr/include/bits/unistd.h:172: first defined here
tuple.o: In function `getlogin_r':
/usr/include/bits/unistd.h:188: multiple definition of `getlogin_r'
main.o:/usr/include/bits/unistd.h:188: first defined here
tuple.o: In function `gethostname':
/usr/include/bits/unistd.h:205: multiple definition of `gethostname'
main.o:/usr/include/bits/unistd.h:205: first defined here
tuple.o: In function `getdomainname':
/usr/include/bits/unistd.h:223: multiple definition of `getdomainname'
main.o:/usr/include/bits/unistd.h:223: first defined here
dependency.o: In function `gets':
/usr/include/bits/stdio2.h:80: multiple definition of `gets'
main.o:/usr/include/bits/stdio2.h:80: first defined here
dependency.o: In function `fgets':
/usr/include/bits/stdio2.h:94: multiple definition of `fgets'
main.o:/usr/include/bits/stdio2.h:94: first defined here
dependency.o: In function `fgets_unlocked':
/usr/include/bits/stdio2.h:110: multiple definition of `fgets_unlocked'
main.o:/usr/include/bits/stdio2.h:110: first defined here
dependency.o: In function `realpath':
/usr/include/bits/stdlib.h:33: multiple definition of `realpath'
main.o:/usr/include/bits/stdlib.h:33: first defined here
dependency.o: In function `ptsname_r':
/usr/include/bits/stdlib.h:49: multiple definition of `ptsname_r'
main.o:/usr/include/bits/stdlib.h:49: first defined here
dependency.o: In function `wctomb':
/usr/include/bits/stdlib.h:64: multiple definition of `wctomb'
main.o:/usr/include/bits/stdlib.h:64: first defined here
dependency.o: In function `mbstowcs':
/usr/include/bits/stdlib.h:89: multiple definition of `mbstowcs'
main.o:/usr/include/bits/stdlib.h:89: first defined here
dependency.o: In function `wcstombs':
/usr/include/bits/stdlib.h:110: multiple definition of `wcstombs'
main.o:/usr/include/bits/stdlib.h:110: first defined here
dependency.o: In function `stpncpy':
/usr/include/bits/string3.h:156: multiple definition of `stpncpy'
main.o:/usr/include/bits/string3.h:156: first defined here
dependency.o: In function `read':
/usr/include/bits/unistd.h:31: multiple definition of `read'
main.o:/usr/include/bits/unistd.h:31: first defined here
dependency.o: In function `pread':
/usr/include/bits/unistd.h:53: multiple definition of `pread'
main.o:/usr/include/bits/unistd.h:53: first defined here
dependency.o: In function `pread64':
/usr/include/bits/unistd.h:73: multiple definition of `pread64'
main.o:/usr/include/bits/unistd.h:73: first defined here
dependency.o: In function `readlink':
/usr/include/bits/unistd.h:96: multiple definition of `readlink'
main.o:/usr/include/bits/unistd.h:96: first defined here
dependency.o: In function `getcwd':
/usr/include/bits/unistd.h:111: multiple definition of `getcwd'
main.o:/usr/include/bits/unistd.h:111: first defined here
dependency.o: In function `getwd':
/usr/include/bits/unistd.h:126: multiple definition of `getwd'
main.o:/usr/include/bits/unistd.h:126: first defined here
dependency.o: In function `confstr':
/usr/include/bits/unistd.h:140: multiple definition of `confstr'
main.o:/usr/include/bits/unistd.h:140: first defined here
dependency.o: In function `getgroups':
/usr/include/bits/unistd.h:155: multiple definition of `getgroups'
main.o:/usr/include/bits/unistd.h:155: first defined here
dependency.o: In function `ttyname_r':
/usr/include/bits/unistd.h:172: multiple definition of `ttyname_r'
main.o:/usr/include/bits/unistd.h:172: first defined here
dependency.o: In function `getlogin_r':
/usr/include/bits/unistd.h:188: multiple definition of `getlogin_r'
main.o:/usr/include/bits/unistd.h:188: first defined here
dependency.o: In function `gethostname':
/usr/include/bits/unistd.h:205: multiple definition of `gethostname'
main.o:/usr/include/bits/unistd.h:205: first defined here
dependency.o: In function `getdomainname':
/usr/include/bits/unistd.h:223: multiple definition of `getdomainname'
main.o:/usr/include/bits/unistd.h:223: first defined here
queue.o: In function `gets':
/usr/include/bits/stdio2.h:80: multiple definition of `gets'
main.o:/usr/include/bits/stdio2.h:80: first defined here
queue.o: In function `fgets':
/usr/include/bits/stdio2.h:94: multiple definition of `fgets'
main.o:/usr/include/bits/stdio2.h:94: first defined here
queue.o: In function `fgets_unlocked':
/usr/include/bits/stdio2.h:110: multiple definition of `fgets_unlocked'
main.o:/usr/include/bits/stdio2.h:110: first defined here
queue.o: In function `realpath':
/usr/include/bits/stdlib.h:33: multiple definition of `realpath'
main.o:/usr/include/bits/stdlib.h:33: first defined here
queue.o: In function `ptsname_r':
/usr/include/bits/stdlib.h:49: multiple definition of `ptsname_r'
main.o:/usr/include/bits/stdlib.h:49: first defined here
queue.o: In function `wctomb':
/usr/include/bits/stdlib.h:64: multiple definition of `wctomb'
main.o:/usr/include/bits/stdlib.h:64: first defined here
queue.o: In function `mbstowcs':
/usr/include/bits/stdlib.h:89: multiple definition of `mbstowcs'
main.o:/usr/include/bits/stdlib.h:89: first defined here
queue.o: In function `wcstombs':
/usr/include/bits/stdlib.h:110: multiple definition of `wcstombs'
main.o:/usr/include/bits/stdlib.h:110: first defined here
queue.o: In function `stpncpy':
/usr/include/bits/string3.h:156: multiple definition of `stpncpy'
main.o:/usr/include/bits/string3.h:156: first defined here
queue.o: In function `read':
/usr/include/bits/unistd.h:31: multiple definition of `read'
main.o:/usr/include/bits/unistd.h:31: first defined here
queue.o: In function `pread':
/usr/include/bits/unistd.h:53: multiple definition of `pread'
main.o:/usr/include/bits/unistd.h:53: first defined here
queue.o: In function `pread64':
/usr/include/bits/unistd.h:73: multiple definition of `pread64'
main.o:/usr/include/bits/unistd.h:73: first defined here
queue.o: In function `readlink':
/usr/include/bits/unistd.h:96: multiple definition of `readlink'
main.o:/usr/include/bits/unistd.h:96: first defined here
queue.o: In function `getcwd':
/usr/include/bits/unistd.h:111: multiple definition of `getcwd'
main.o:/usr/include/bits/unistd.h:111: first defined here
queue.o: In function `getwd':
/usr/include/bits/unistd.h:126: multiple definition of `getwd'
main.o:/usr/include/bits/unistd.h:126: first defined here
queue.o: In function `confstr':
/usr/include/bits/unistd.h:140: multiple definition of `confstr'
main.o:/usr/include/bits/unistd.h:140: first defined here
queue.o: In function `getgroups':
/usr/include/bits/unistd.h:155: multiple definition of `getgroups'
main.o:/usr/include/bits/unistd.h:155: first defined here
queue.o: In function `ttyname_r':
/usr/include/bits/unistd.h:172: multiple definition of `ttyname_r'
main.o:/usr/include/bits/unistd.h:172: first defined here
queue.o: In function `getlogin_r':
/usr/include/bits/unistd.h:188: multiple definition of `getlogin_r'
main.o:/usr/include/bits/unistd.h:188: first defined here
queue.o: In function `gethostname':
/usr/include/bits/unistd.h:205: multiple definition of `gethostname'
main.o:/usr/include/bits/unistd.h:205: first defined here
queue.o: In function `getdomainname':
/usr/include/bits/unistd.h:223: multiple definition of `getdomainname'
main.o:/usr/include/bits/unistd.h:223: first defined here
collect2: error: ld returned 1 exit status
The unconditional use of -D_FORTIFY_SOURCE=2 can lead to compile failures on older systems. It is also unclear why this should be unconditionally turned on. I would recommend removing it from Makefile.in, if you want it you can always specify it via CFLAGS/CPPFLAGS. Example output of a failed built on an Itanium machine: ``` checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for strlcpy... no checking for strlcat... no checking for strndup... yes checking whether to enable strict mode... (cached) no checking how to run the C preprocessor... cpp checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes configure: creating ./config.status config.status: creating Makefile config.status: creating tests/run.sh config.status: creating config.h gcc -c -g -O2 -DLIBDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/lib\" -DINCLUDEDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/include\" -DPKG_DEFAULT_PATH=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/lib/pkgconfig:/home/buildbot/build/sage/iras-1/sage_git/build/local/share/pkgconfig\" -DSYSTEM_INCLUDEDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/include\" -DSYSTEM_LIBDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/lib\" -Wall -Wextra -Wformat=2 -std=gnu99 -D_FORTIFY_SOURCE=2 -I. main.c -o main.o gcc -c -g -O2 -DLIBDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/lib\" -DINCLUDEDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/include\" -DPKG_DEFAULT_PATH=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/lib/pkgconfig:/home/buildbot/build/sage/iras-1/sage_git/build/local/share/pkgconfig\" -DSYSTEM_INCLUDEDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/include\" -DSYSTEM_LIBDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/lib\" -Wall -Wextra -Wformat=2 -std=gnu99 -D_FORTIFY_SOURCE=2 -I. cache.c -o cache.o gcc -c -g -O2 -DLIBDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/lib\" -DINCLUDEDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/include\" -DPKG_DEFAULT_PATH=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/lib/pkgconfig:/home/buildbot/build/sage/iras-1/sage_git/build/local/share/pkgconfig\" -DSYSTEM_INCLUDEDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/include\" -DSYSTEM_LIBDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/lib\" -Wall -Wextra -Wformat=2 -std=gnu99 -D_FORTIFY_SOURCE=2 -I. pkg.c -o pkg.o gcc -c -g -O2 -DLIBDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/lib\" -DINCLUDEDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/include\" -DPKG_DEFAULT_PATH=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/lib/pkgconfig:/home/buildbot/build/sage/iras-1/sage_git/build/local/share/pkgconfig\" -DSYSTEM_INCLUDEDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/include\" -DSYSTEM_LIBDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/lib\" -Wall -Wextra -Wformat=2 -std=gnu99 -D_FORTIFY_SOURCE=2 -I. bsdstubs.c -o bsdstubs.o gcc -c -g -O2 -DLIBDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/lib\" -DINCLUDEDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/include\" -DPKG_DEFAULT_PATH=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/lib/pkgconfig:/home/buildbot/build/sage/iras-1/sage_git/build/local/share/pkgconfig\" -DSYSTEM_INCLUDEDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/include\" -DSYSTEM_LIBDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/lib\" -Wall -Wextra -Wformat=2 -std=gnu99 -D_FORTIFY_SOURCE=2 -I. getopt_long.c -o getopt_long.o gcc -c -g -O2 -DLIBDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/lib\" -DINCLUDEDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/include\" -DPKG_DEFAULT_PATH=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/lib/pkgconfig:/home/buildbot/build/sage/iras-1/sage_git/build/local/share/pkgconfig\" -DSYSTEM_INCLUDEDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/include\" -DSYSTEM_LIBDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/lib\" -Wall -Wextra -Wformat=2 -std=gnu99 -D_FORTIFY_SOURCE=2 -I. fragment.c -o fragment.o gcc -c -g -O2 -DLIBDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/lib\" -DINCLUDEDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/include\" -DPKG_DEFAULT_PATH=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/lib/pkgconfig:/home/buildbot/build/sage/iras-1/sage_git/build/local/share/pkgconfig\" -DSYSTEM_INCLUDEDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/include\" -DSYSTEM_LIBDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/lib\" -Wall -Wextra -Wformat=2 -std=gnu99 -D_FORTIFY_SOURCE=2 -I. argvsplit.c -o argvsplit.o gcc -c -g -O2 -DLIBDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/lib\" -DINCLUDEDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/include\" -DPKG_DEFAULT_PATH=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/lib/pkgconfig:/home/buildbot/build/sage/iras-1/sage_git/build/local/share/pkgconfig\" -DSYSTEM_INCLUDEDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/include\" -DSYSTEM_LIBDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/lib\" -Wall -Wextra -Wformat=2 -std=gnu99 -D_FORTIFY_SOURCE=2 -I. fileio.c -o fileio.o gcc -c -g -O2 -DLIBDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/lib\" -DINCLUDEDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/include\" -DPKG_DEFAULT_PATH=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/lib/pkgconfig:/home/buildbot/build/sage/iras-1/sage_git/build/local/share/pkgconfig\" -DSYSTEM_INCLUDEDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/include\" -DSYSTEM_LIBDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/lib\" -Wall -Wextra -Wformat=2 -std=gnu99 -D_FORTIFY_SOURCE=2 -I. tuple.c -o tuple.o gcc -c -g -O2 -DLIBDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/lib\" -DINCLUDEDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/include\" -DPKG_DEFAULT_PATH=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/lib/pkgconfig:/home/buildbot/build/sage/iras-1/sage_git/build/local/share/pkgconfig\" -DSYSTEM_INCLUDEDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/include\" -DSYSTEM_LIBDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/lib\" -Wall -Wextra -Wformat=2 -std=gnu99 -D_FORTIFY_SOURCE=2 -I. dependency.c -o dependency.o gcc -c -g -O2 -DLIBDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/lib\" -DINCLUDEDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/include\" -DPKG_DEFAULT_PATH=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/lib/pkgconfig:/home/buildbot/build/sage/iras-1/sage_git/build/local/share/pkgconfig\" -DSYSTEM_INCLUDEDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/include\" -DSYSTEM_LIBDIR=\"/home/buildbot/build/sage/iras-1/sage_git/build/local/lib\" -Wall -Wextra -Wformat=2 -std=gnu99 -D_FORTIFY_SOURCE=2 -I. queue.c -o queue.o gcc -o pkgconf main.o cache.o pkg.o bsdstubs.o getopt_long.o fragment.o argvsplit.o fileio.o tuple.o dependency.o queue.o cache.o: In function `gets': /usr/include/bits/stdio2.h:80: multiple definition of `gets' main.o:/usr/include/bits/stdio2.h:80: first defined here cache.o: In function `fgets': /usr/include/bits/stdio2.h:94: multiple definition of `fgets' main.o:/usr/include/bits/stdio2.h:94: first defined here cache.o: In function `fgets_unlocked': /usr/include/bits/stdio2.h:110: multiple definition of `fgets_unlocked' main.o:/usr/include/bits/stdio2.h:110: first defined here cache.o: In function `realpath': /usr/include/bits/stdlib.h:33: multiple definition of `realpath' main.o:/usr/include/bits/stdlib.h:33: first defined here cache.o: In function `ptsname_r': /usr/include/bits/stdlib.h:49: multiple definition of `ptsname_r' main.o:/usr/include/bits/stdlib.h:49: first defined here cache.o: In function `wctomb': /usr/include/bits/stdlib.h:64: multiple definition of `wctomb' main.o:/usr/include/bits/stdlib.h:64: first defined here cache.o: In function `mbstowcs': /usr/include/bits/stdlib.h:89: multiple definition of `mbstowcs' main.o:/usr/include/bits/stdlib.h:89: first defined here cache.o: In function `wcstombs': /usr/include/bits/stdlib.h:110: multiple definition of `wcstombs' main.o:/usr/include/bits/stdlib.h:110: first defined here cache.o: In function `stpncpy': /usr/include/bits/string3.h:156: multiple definition of `stpncpy' main.o:/usr/include/bits/string3.h:156: first defined here cache.o: In function `read': /usr/include/bits/unistd.h:31: multiple definition of `read' main.o:/usr/include/bits/unistd.h:31: first defined here cache.o: In function `pread': /usr/include/bits/unistd.h:53: multiple definition of `pread' main.o:/usr/include/bits/unistd.h:53: first defined here cache.o: In function `pread64': /usr/include/bits/unistd.h:73: multiple definition of `pread64' main.o:/usr/include/bits/unistd.h:73: first defined here cache.o: In function `readlink': /usr/include/bits/unistd.h:96: multiple definition of `readlink' main.o:/usr/include/bits/unistd.h:96: first defined here cache.o: In function `getcwd': /usr/include/bits/unistd.h:111: multiple definition of `getcwd' main.o:/usr/include/bits/unistd.h:111: first defined here cache.o: In function `getwd': /usr/include/bits/unistd.h:126: multiple definition of `getwd' main.o:/usr/include/bits/unistd.h:126: first defined here cache.o: In function `confstr': /usr/include/bits/unistd.h:140: multiple definition of `confstr' main.o:/usr/include/bits/unistd.h:140: first defined here cache.o: In function `getgroups': /usr/include/bits/unistd.h:155: multiple definition of `getgroups' main.o:/usr/include/bits/unistd.h:155: first defined here cache.o: In function `ttyname_r': /usr/include/bits/unistd.h:172: multiple definition of `ttyname_r' main.o:/usr/include/bits/unistd.h:172: first defined here cache.o: In function `getlogin_r': /usr/include/bits/unistd.h:188: multiple definition of `getlogin_r' main.o:/usr/include/bits/unistd.h:188: first defined here cache.o: In function `gethostname': /usr/include/bits/unistd.h:205: multiple definition of `gethostname' main.o:/usr/include/bits/unistd.h:205: first defined here cache.o: In function `getdomainname': /usr/include/bits/unistd.h:223: multiple definition of `getdomainname' main.o:/usr/include/bits/unistd.h:223: first defined here pkg.o: In function `gets': /usr/include/bits/stdio2.h:80: multiple definition of `gets' main.o:/usr/include/bits/stdio2.h:80: first defined here pkg.o: In function `fgets': /usr/include/bits/stdio2.h:94: multiple definition of `fgets' main.o:/usr/include/bits/stdio2.h:94: first defined here pkg.o: In function `fgets_unlocked': /usr/include/bits/stdio2.h:110: multiple definition of `fgets_unlocked' main.o:/usr/include/bits/stdio2.h:110: first defined here pkg.o: In function `realpath': /usr/include/bits/stdlib.h:33: multiple definition of `realpath' main.o:/usr/include/bits/stdlib.h:33: first defined here pkg.o: In function `ptsname_r': /usr/include/bits/stdlib.h:49: multiple definition of `ptsname_r' main.o:/usr/include/bits/stdlib.h:49: first defined here pkg.o: In function `wctomb': /usr/include/bits/stdlib.h:64: multiple definition of `wctomb' main.o:/usr/include/bits/stdlib.h:64: first defined here pkg.o: In function `mbstowcs': /usr/include/bits/stdlib.h:89: multiple definition of `mbstowcs' main.o:/usr/include/bits/stdlib.h:89: first defined here pkg.o: In function `wcstombs': /usr/include/bits/stdlib.h:110: multiple definition of `wcstombs' main.o:/usr/include/bits/stdlib.h:110: first defined here pkg.o: In function `stpncpy': /usr/include/bits/string3.h:156: multiple definition of `stpncpy' main.o:/usr/include/bits/string3.h:156: first defined here pkg.o: In function `read': /usr/include/bits/unistd.h:31: multiple definition of `read' main.o:/usr/include/bits/unistd.h:31: first defined here pkg.o: In function `pread': /usr/include/bits/unistd.h:53: multiple definition of `pread' main.o:/usr/include/bits/unistd.h:53: first defined here pkg.o: In function `pread64': /usr/include/bits/unistd.h:73: multiple definition of `pread64' main.o:/usr/include/bits/unistd.h:73: first defined here pkg.o: In function `readlink': /usr/include/bits/unistd.h:96: multiple definition of `readlink' main.o:/usr/include/bits/unistd.h:96: first defined here pkg.o: In function `getcwd': /usr/include/bits/unistd.h:111: multiple definition of `getcwd' main.o:/usr/include/bits/unistd.h:111: first defined here pkg.o: In function `getwd': /usr/include/bits/unistd.h:126: multiple definition of `getwd' main.o:/usr/include/bits/unistd.h:126: first defined here pkg.o: In function `confstr': /usr/include/bits/unistd.h:140: multiple definition of `confstr' main.o:/usr/include/bits/unistd.h:140: first defined here pkg.o: In function `getgroups': /usr/include/bits/unistd.h:155: multiple definition of `getgroups' main.o:/usr/include/bits/unistd.h:155: first defined here pkg.o: In function `ttyname_r': /usr/include/bits/unistd.h:172: multiple definition of `ttyname_r' main.o:/usr/include/bits/unistd.h:172: first defined here pkg.o: In function `getlogin_r': /usr/include/bits/unistd.h:188: multiple definition of `getlogin_r' main.o:/usr/include/bits/unistd.h:188: first defined here pkg.o: In function `gethostname': /usr/include/bits/unistd.h:205: multiple definition of `gethostname' main.o:/usr/include/bits/unistd.h:205: first defined here pkg.o: In function `getdomainname': /usr/include/bits/unistd.h:223: multiple definition of `getdomainname' main.o:/usr/include/bits/unistd.h:223: first defined here bsdstubs.o: In function `stpncpy': /usr/include/bits/string3.h:156: multiple definition of `stpncpy' main.o:/usr/include/bits/string3.h:156: first defined here bsdstubs.o: In function `gets': /usr/include/bits/stdio2.h:80: multiple definition of `gets' main.o:/usr/include/bits/stdio2.h:80: first defined here bsdstubs.o: In function `fgets': /usr/include/bits/stdio2.h:94: multiple definition of `fgets' main.o:/usr/include/bits/stdio2.h:94: first defined here bsdstubs.o: In function `realpath': /usr/include/bits/stdlib.h:33: multiple definition of `realpath' main.o:/usr/include/bits/stdlib.h:33: first defined here bsdstubs.o: In function `ptsname_r': /usr/include/bits/stdlib.h:49: multiple definition of `ptsname_r' main.o:/usr/include/bits/stdlib.h:49: first defined here bsdstubs.o: In function `wctomb': /usr/include/bits/stdlib.h:64: multiple definition of `wctomb' main.o:/usr/include/bits/stdlib.h:64: first defined here bsdstubs.o: In function `mbstowcs': /usr/include/bits/stdlib.h:89: multiple definition of `mbstowcs' main.o:/usr/include/bits/stdlib.h:89: first defined here bsdstubs.o: In function `wcstombs': /usr/include/bits/stdlib.h:110: multiple definition of `wcstombs' main.o:/usr/include/bits/stdlib.h:110: first defined here bsdstubs.o: In function `read': /usr/include/bits/unistd.h:31: multiple definition of `read' main.o:/usr/include/bits/unistd.h:31: first defined here bsdstubs.o: In function `readlink': /usr/include/bits/unistd.h:96: multiple definition of `readlink' main.o:/usr/include/bits/unistd.h:96: first defined here bsdstubs.o: In function `getcwd': /usr/include/bits/unistd.h:111: multiple definition of `getcwd' main.o:/usr/include/bits/unistd.h:111: first defined here bsdstubs.o: In function `getwd': /usr/include/bits/unistd.h:126: multiple definition of `getwd' main.o:/usr/include/bits/unistd.h:126: first defined here bsdstubs.o: In function `confstr': /usr/include/bits/unistd.h:140: multiple definition of `confstr' main.o:/usr/include/bits/unistd.h:140: first defined here bsdstubs.o: In function `getgroups': /usr/include/bits/unistd.h:155: multiple definition of `getgroups' main.o:/usr/include/bits/unistd.h:155: first defined here bsdstubs.o: In function `ttyname_r': /usr/include/bits/unistd.h:172: multiple definition of `ttyname_r' main.o:/usr/include/bits/unistd.h:172: first defined here bsdstubs.o: In function `gethostname': /usr/include/bits/unistd.h:205: multiple definition of `gethostname' main.o:/usr/include/bits/unistd.h:205: first defined here bsdstubs.o: In function `getdomainname': /usr/include/bits/unistd.h:223: multiple definition of `getdomainname' main.o:/usr/include/bits/unistd.h:223: first defined here getopt_long.o: In function `gets': /usr/include/bits/stdio2.h:80: multiple definition of `gets' main.o:/usr/include/bits/stdio2.h:80: first defined here getopt_long.o: In function `fgets': /usr/include/bits/stdio2.h:94: multiple definition of `fgets' main.o:/usr/include/bits/stdio2.h:94: first defined here getopt_long.o: In function `fgets_unlocked': /usr/include/bits/stdio2.h:110: multiple definition of `fgets_unlocked' main.o:/usr/include/bits/stdio2.h:110: first defined here getopt_long.o: In function `realpath': /usr/include/bits/stdlib.h:33: multiple definition of `realpath' main.o:/usr/include/bits/stdlib.h:33: first defined here getopt_long.o: In function `ptsname_r': /usr/include/bits/stdlib.h:49: multiple definition of `ptsname_r' main.o:/usr/include/bits/stdlib.h:49: first defined here getopt_long.o: In function `wctomb': /usr/include/bits/stdlib.h:64: multiple definition of `wctomb' main.o:/usr/include/bits/stdlib.h:64: first defined here getopt_long.o: In function `mbstowcs': /usr/include/bits/stdlib.h:89: multiple definition of `mbstowcs' main.o:/usr/include/bits/stdlib.h:89: first defined here getopt_long.o: In function `wcstombs': /usr/include/bits/stdlib.h:110: multiple definition of `wcstombs' main.o:/usr/include/bits/stdlib.h:110: first defined here getopt_long.o: In function `stpncpy': /usr/include/bits/string3.h:156: multiple definition of `stpncpy' main.o:/usr/include/bits/string3.h:156: first defined here getopt_long.o: In function `read': /usr/include/bits/unistd.h:31: multiple definition of `read' main.o:/usr/include/bits/unistd.h:31: first defined here getopt_long.o: In function `pread': /usr/include/bits/unistd.h:53: multiple definition of `pread' main.o:/usr/include/bits/unistd.h:53: first defined here getopt_long.o: In function `pread64': /usr/include/bits/unistd.h:73: multiple definition of `pread64' main.o:/usr/include/bits/unistd.h:73: first defined here getopt_long.o: In function `readlink': /usr/include/bits/unistd.h:96: multiple definition of `readlink' main.o:/usr/include/bits/unistd.h:96: first defined here getopt_long.o: In function `getcwd': /usr/include/bits/unistd.h:111: multiple definition of `getcwd' main.o:/usr/include/bits/unistd.h:111: first defined here getopt_long.o: In function `getwd': /usr/include/bits/unistd.h:126: multiple definition of `getwd' main.o:/usr/include/bits/unistd.h:126: first defined here getopt_long.o: In function `confstr': /usr/include/bits/unistd.h:140: multiple definition of `confstr' main.o:/usr/include/bits/unistd.h:140: first defined here getopt_long.o: In function `getgroups': /usr/include/bits/unistd.h:155: multiple definition of `getgroups' main.o:/usr/include/bits/unistd.h:155: first defined here getopt_long.o: In function `ttyname_r': /usr/include/bits/unistd.h:172: multiple definition of `ttyname_r' main.o:/usr/include/bits/unistd.h:172: first defined here getopt_long.o: In function `getlogin_r': /usr/include/bits/unistd.h:188: multiple definition of `getlogin_r' main.o:/usr/include/bits/unistd.h:188: first defined here getopt_long.o: In function `gethostname': /usr/include/bits/unistd.h:205: multiple definition of `gethostname' main.o:/usr/include/bits/unistd.h:205: first defined here getopt_long.o: In function `getdomainname': /usr/include/bits/unistd.h:223: multiple definition of `getdomainname' main.o:/usr/include/bits/unistd.h:223: first defined here fragment.o: In function `gets': /usr/include/bits/stdio2.h:80: multiple definition of `gets' main.o:/usr/include/bits/stdio2.h:80: first defined here fragment.o: In function `fgets': /usr/include/bits/stdio2.h:94: multiple definition of `fgets' main.o:/usr/include/bits/stdio2.h:94: first defined here fragment.o: In function `fgets_unlocked': /usr/include/bits/stdio2.h:110: multiple definition of `fgets_unlocked' main.o:/usr/include/bits/stdio2.h:110: first defined here fragment.o: In function `realpath': /usr/include/bits/stdlib.h:33: multiple definition of `realpath' main.o:/usr/include/bits/stdlib.h:33: first defined here fragment.o: In function `ptsname_r': /usr/include/bits/stdlib.h:49: multiple definition of `ptsname_r' main.o:/usr/include/bits/stdlib.h:49: first defined here fragment.o: In function `wctomb': /usr/include/bits/stdlib.h:64: multiple definition of `wctomb' main.o:/usr/include/bits/stdlib.h:64: first defined here fragment.o: In function `mbstowcs': /usr/include/bits/stdlib.h:89: multiple definition of `mbstowcs' main.o:/usr/include/bits/stdlib.h:89: first defined here fragment.o: In function `wcstombs': /usr/include/bits/stdlib.h:110: multiple definition of `wcstombs' main.o:/usr/include/bits/stdlib.h:110: first defined here fragment.o: In function `stpncpy': /usr/include/bits/string3.h:156: multiple definition of `stpncpy' main.o:/usr/include/bits/string3.h:156: first defined here fragment.o: In function `read': /usr/include/bits/unistd.h:31: multiple definition of `read' main.o:/usr/include/bits/unistd.h:31: first defined here fragment.o: In function `pread': /usr/include/bits/unistd.h:53: multiple definition of `pread' main.o:/usr/include/bits/unistd.h:53: first defined here fragment.o: In function `pread64': /usr/include/bits/unistd.h:73: multiple definition of `pread64' main.o:/usr/include/bits/unistd.h:73: first defined here fragment.o: In function `readlink': /usr/include/bits/unistd.h:96: multiple definition of `readlink' main.o:/usr/include/bits/unistd.h:96: first defined here fragment.o: In function `getcwd': /usr/include/bits/unistd.h:111: multiple definition of `getcwd' main.o:/usr/include/bits/unistd.h:111: first defined here fragment.o: In function `getwd': /usr/include/bits/unistd.h:126: multiple definition of `getwd' main.o:/usr/include/bits/unistd.h:126: first defined here fragment.o: In function `confstr': /usr/include/bits/unistd.h:140: multiple definition of `confstr' main.o:/usr/include/bits/unistd.h:140: first defined here fragment.o: In function `getgroups': /usr/include/bits/unistd.h:155: multiple definition of `getgroups' main.o:/usr/include/bits/unistd.h:155: first defined here fragment.o: In function `ttyname_r': /usr/include/bits/unistd.h:172: multiple definition of `ttyname_r' main.o:/usr/include/bits/unistd.h:172: first defined here fragment.o: In function `getlogin_r': /usr/include/bits/unistd.h:188: multiple definition of `getlogin_r' main.o:/usr/include/bits/unistd.h:188: first defined here fragment.o: In function `gethostname': /usr/include/bits/unistd.h:205: multiple definition of `gethostname' main.o:/usr/include/bits/unistd.h:205: first defined here fragment.o: In function `getdomainname': /usr/include/bits/unistd.h:223: multiple definition of `getdomainname' main.o:/usr/include/bits/unistd.h:223: first defined here argvsplit.o: In function `gets': /usr/include/bits/stdio2.h:80: multiple definition of `gets' main.o:/usr/include/bits/stdio2.h:80: first defined here argvsplit.o: In function `fgets': /usr/include/bits/stdio2.h:94: multiple definition of `fgets' main.o:/usr/include/bits/stdio2.h:94: first defined here argvsplit.o: In function `fgets_unlocked': /usr/include/bits/stdio2.h:110: multiple definition of `fgets_unlocked' main.o:/usr/include/bits/stdio2.h:110: first defined here argvsplit.o: In function `realpath': /usr/include/bits/stdlib.h:33: multiple definition of `realpath' main.o:/usr/include/bits/stdlib.h:33: first defined here argvsplit.o: In function `ptsname_r': /usr/include/bits/stdlib.h:49: multiple definition of `ptsname_r' main.o:/usr/include/bits/stdlib.h:49: first defined here argvsplit.o: In function `wctomb': /usr/include/bits/stdlib.h:64: multiple definition of `wctomb' main.o:/usr/include/bits/stdlib.h:64: first defined here argvsplit.o: In function `mbstowcs': /usr/include/bits/stdlib.h:89: multiple definition of `mbstowcs' main.o:/usr/include/bits/stdlib.h:89: first defined here argvsplit.o: In function `wcstombs': /usr/include/bits/stdlib.h:110: multiple definition of `wcstombs' main.o:/usr/include/bits/stdlib.h:110: first defined here argvsplit.o: In function `stpncpy': /usr/include/bits/string3.h:156: multiple definition of `stpncpy' main.o:/usr/include/bits/string3.h:156: first defined here argvsplit.o: In function `read': /usr/include/bits/unistd.h:31: multiple definition of `read' main.o:/usr/include/bits/unistd.h:31: first defined here argvsplit.o: In function `pread': /usr/include/bits/unistd.h:53: multiple definition of `pread' main.o:/usr/include/bits/unistd.h:53: first defined here argvsplit.o: In function `pread64': /usr/include/bits/unistd.h:73: multiple definition of `pread64' main.o:/usr/include/bits/unistd.h:73: first defined here argvsplit.o: In function `readlink': /usr/include/bits/unistd.h:96: multiple definition of `readlink' main.o:/usr/include/bits/unistd.h:96: first defined here argvsplit.o: In function `getcwd': /usr/include/bits/unistd.h:111: multiple definition of `getcwd' main.o:/usr/include/bits/unistd.h:111: first defined here argvsplit.o: In function `getwd': /usr/include/bits/unistd.h:126: multiple definition of `getwd' main.o:/usr/include/bits/unistd.h:126: first defined here argvsplit.o: In function `confstr': /usr/include/bits/unistd.h:140: multiple definition of `confstr' main.o:/usr/include/bits/unistd.h:140: first defined here argvsplit.o: In function `getgroups': /usr/include/bits/unistd.h:155: multiple definition of `getgroups' main.o:/usr/include/bits/unistd.h:155: first defined here argvsplit.o: In function `ttyname_r': /usr/include/bits/unistd.h:172: multiple definition of `ttyname_r' main.o:/usr/include/bits/unistd.h:172: first defined here argvsplit.o: In function `getlogin_r': /usr/include/bits/unistd.h:188: multiple definition of `getlogin_r' main.o:/usr/include/bits/unistd.h:188: first defined here argvsplit.o: In function `gethostname': /usr/include/bits/unistd.h:205: multiple definition of `gethostname' main.o:/usr/include/bits/unistd.h:205: first defined here argvsplit.o: In function `getdomainname': /usr/include/bits/unistd.h:223: multiple definition of `getdomainname' main.o:/usr/include/bits/unistd.h:223: first defined here fileio.o: In function `gets': /usr/include/bits/stdio2.h:80: multiple definition of `gets' main.o:/usr/include/bits/stdio2.h:80: first defined here fileio.o: In function `fgets': /usr/include/bits/stdio2.h:94: multiple definition of `fgets' main.o:/usr/include/bits/stdio2.h:94: first defined here fileio.o: In function `fgets_unlocked': /usr/include/bits/stdio2.h:110: multiple definition of `fgets_unlocked' main.o:/usr/include/bits/stdio2.h:110: first defined here fileio.o: In function `realpath': /usr/include/bits/stdlib.h:33: multiple definition of `realpath' main.o:/usr/include/bits/stdlib.h:33: first defined here fileio.o: In function `ptsname_r': /usr/include/bits/stdlib.h:49: multiple definition of `ptsname_r' main.o:/usr/include/bits/stdlib.h:49: first defined here fileio.o: In function `wctomb': /usr/include/bits/stdlib.h:64: multiple definition of `wctomb' main.o:/usr/include/bits/stdlib.h:64: first defined here fileio.o: In function `mbstowcs': /usr/include/bits/stdlib.h:89: multiple definition of `mbstowcs' main.o:/usr/include/bits/stdlib.h:89: first defined here fileio.o: In function `wcstombs': /usr/include/bits/stdlib.h:110: multiple definition of `wcstombs' main.o:/usr/include/bits/stdlib.h:110: first defined here fileio.o: In function `stpncpy': /usr/include/bits/string3.h:156: multiple definition of `stpncpy' main.o:/usr/include/bits/string3.h:156: first defined here fileio.o: In function `read': /usr/include/bits/unistd.h:31: multiple definition of `read' main.o:/usr/include/bits/unistd.h:31: first defined here fileio.o: In function `pread': /usr/include/bits/unistd.h:53: multiple definition of `pread' main.o:/usr/include/bits/unistd.h:53: first defined here fileio.o: In function `pread64': /usr/include/bits/unistd.h:73: multiple definition of `pread64' main.o:/usr/include/bits/unistd.h:73: first defined here fileio.o: In function `readlink': /usr/include/bits/unistd.h:96: multiple definition of `readlink' main.o:/usr/include/bits/unistd.h:96: first defined here fileio.o: In function `getcwd': /usr/include/bits/unistd.h:111: multiple definition of `getcwd' main.o:/usr/include/bits/unistd.h:111: first defined here fileio.o: In function `getwd': /usr/include/bits/unistd.h:126: multiple definition of `getwd' main.o:/usr/include/bits/unistd.h:126: first defined here fileio.o: In function `confstr': /usr/include/bits/unistd.h:140: multiple definition of `confstr' main.o:/usr/include/bits/unistd.h:140: first defined here fileio.o: In function `getgroups': /usr/include/bits/unistd.h:155: multiple definition of `getgroups' main.o:/usr/include/bits/unistd.h:155: first defined here fileio.o: In function `ttyname_r': /usr/include/bits/unistd.h:172: multiple definition of `ttyname_r' main.o:/usr/include/bits/unistd.h:172: first defined here fileio.o: In function `getlogin_r': /usr/include/bits/unistd.h:188: multiple definition of `getlogin_r' main.o:/usr/include/bits/unistd.h:188: first defined here fileio.o: In function `gethostname': /usr/include/bits/unistd.h:205: multiple definition of `gethostname' main.o:/usr/include/bits/unistd.h:205: first defined here fileio.o: In function `getdomainname': /usr/include/bits/unistd.h:223: multiple definition of `getdomainname' main.o:/usr/include/bits/unistd.h:223: first defined here tuple.o: In function `gets': /usr/include/bits/stdio2.h:80: multiple definition of `gets' main.o:/usr/include/bits/stdio2.h:80: first defined here tuple.o: In function `fgets': /usr/include/bits/stdio2.h:94: multiple definition of `fgets' main.o:/usr/include/bits/stdio2.h:94: first defined here tuple.o: In function `fgets_unlocked': /usr/include/bits/stdio2.h:110: multiple definition of `fgets_unlocked' main.o:/usr/include/bits/stdio2.h:110: first defined here tuple.o: In function `realpath': /usr/include/bits/stdlib.h:33: multiple definition of `realpath' main.o:/usr/include/bits/stdlib.h:33: first defined here tuple.o: In function `ptsname_r': /usr/include/bits/stdlib.h:49: multiple definition of `ptsname_r' main.o:/usr/include/bits/stdlib.h:49: first defined here tuple.o: In function `wctomb': /usr/include/bits/stdlib.h:64: multiple definition of `wctomb' main.o:/usr/include/bits/stdlib.h:64: first defined here tuple.o: In function `mbstowcs': /usr/include/bits/stdlib.h:89: multiple definition of `mbstowcs' main.o:/usr/include/bits/stdlib.h:89: first defined here tuple.o: In function `wcstombs': /usr/include/bits/stdlib.h:110: multiple definition of `wcstombs' main.o:/usr/include/bits/stdlib.h:110: first defined here tuple.o: In function `stpncpy': /usr/include/bits/string3.h:156: multiple definition of `stpncpy' main.o:/usr/include/bits/string3.h:156: first defined here tuple.o: In function `read': /usr/include/bits/unistd.h:31: multiple definition of `read' main.o:/usr/include/bits/unistd.h:31: first defined here tuple.o: In function `pread': /usr/include/bits/unistd.h:53: multiple definition of `pread' main.o:/usr/include/bits/unistd.h:53: first defined here tuple.o: In function `pread64': /usr/include/bits/unistd.h:73: multiple definition of `pread64' main.o:/usr/include/bits/unistd.h:73: first defined here tuple.o: In function `readlink': /usr/include/bits/unistd.h:96: multiple definition of `readlink' main.o:/usr/include/bits/unistd.h:96: first defined here tuple.o: In function `getcwd': /usr/include/bits/unistd.h:111: multiple definition of `getcwd' main.o:/usr/include/bits/unistd.h:111: first defined here tuple.o: In function `getwd': /usr/include/bits/unistd.h:126: multiple definition of `getwd' main.o:/usr/include/bits/unistd.h:126: first defined here tuple.o: In function `confstr': /usr/include/bits/unistd.h:140: multiple definition of `confstr' main.o:/usr/include/bits/unistd.h:140: first defined here tuple.o: In function `getgroups': /usr/include/bits/unistd.h:155: multiple definition of `getgroups' main.o:/usr/include/bits/unistd.h:155: first defined here tuple.o: In function `ttyname_r': /usr/include/bits/unistd.h:172: multiple definition of `ttyname_r' main.o:/usr/include/bits/unistd.h:172: first defined here tuple.o: In function `getlogin_r': /usr/include/bits/unistd.h:188: multiple definition of `getlogin_r' main.o:/usr/include/bits/unistd.h:188: first defined here tuple.o: In function `gethostname': /usr/include/bits/unistd.h:205: multiple definition of `gethostname' main.o:/usr/include/bits/unistd.h:205: first defined here tuple.o: In function `getdomainname': /usr/include/bits/unistd.h:223: multiple definition of `getdomainname' main.o:/usr/include/bits/unistd.h:223: first defined here dependency.o: In function `gets': /usr/include/bits/stdio2.h:80: multiple definition of `gets' main.o:/usr/include/bits/stdio2.h:80: first defined here dependency.o: In function `fgets': /usr/include/bits/stdio2.h:94: multiple definition of `fgets' main.o:/usr/include/bits/stdio2.h:94: first defined here dependency.o: In function `fgets_unlocked': /usr/include/bits/stdio2.h:110: multiple definition of `fgets_unlocked' main.o:/usr/include/bits/stdio2.h:110: first defined here dependency.o: In function `realpath': /usr/include/bits/stdlib.h:33: multiple definition of `realpath' main.o:/usr/include/bits/stdlib.h:33: first defined here dependency.o: In function `ptsname_r': /usr/include/bits/stdlib.h:49: multiple definition of `ptsname_r' main.o:/usr/include/bits/stdlib.h:49: first defined here dependency.o: In function `wctomb': /usr/include/bits/stdlib.h:64: multiple definition of `wctomb' main.o:/usr/include/bits/stdlib.h:64: first defined here dependency.o: In function `mbstowcs': /usr/include/bits/stdlib.h:89: multiple definition of `mbstowcs' main.o:/usr/include/bits/stdlib.h:89: first defined here dependency.o: In function `wcstombs': /usr/include/bits/stdlib.h:110: multiple definition of `wcstombs' main.o:/usr/include/bits/stdlib.h:110: first defined here dependency.o: In function `stpncpy': /usr/include/bits/string3.h:156: multiple definition of `stpncpy' main.o:/usr/include/bits/string3.h:156: first defined here dependency.o: In function `read': /usr/include/bits/unistd.h:31: multiple definition of `read' main.o:/usr/include/bits/unistd.h:31: first defined here dependency.o: In function `pread': /usr/include/bits/unistd.h:53: multiple definition of `pread' main.o:/usr/include/bits/unistd.h:53: first defined here dependency.o: In function `pread64': /usr/include/bits/unistd.h:73: multiple definition of `pread64' main.o:/usr/include/bits/unistd.h:73: first defined here dependency.o: In function `readlink': /usr/include/bits/unistd.h:96: multiple definition of `readlink' main.o:/usr/include/bits/unistd.h:96: first defined here dependency.o: In function `getcwd': /usr/include/bits/unistd.h:111: multiple definition of `getcwd' main.o:/usr/include/bits/unistd.h:111: first defined here dependency.o: In function `getwd': /usr/include/bits/unistd.h:126: multiple definition of `getwd' main.o:/usr/include/bits/unistd.h:126: first defined here dependency.o: In function `confstr': /usr/include/bits/unistd.h:140: multiple definition of `confstr' main.o:/usr/include/bits/unistd.h:140: first defined here dependency.o: In function `getgroups': /usr/include/bits/unistd.h:155: multiple definition of `getgroups' main.o:/usr/include/bits/unistd.h:155: first defined here dependency.o: In function `ttyname_r': /usr/include/bits/unistd.h:172: multiple definition of `ttyname_r' main.o:/usr/include/bits/unistd.h:172: first defined here dependency.o: In function `getlogin_r': /usr/include/bits/unistd.h:188: multiple definition of `getlogin_r' main.o:/usr/include/bits/unistd.h:188: first defined here dependency.o: In function `gethostname': /usr/include/bits/unistd.h:205: multiple definition of `gethostname' main.o:/usr/include/bits/unistd.h:205: first defined here dependency.o: In function `getdomainname': /usr/include/bits/unistd.h:223: multiple definition of `getdomainname' main.o:/usr/include/bits/unistd.h:223: first defined here queue.o: In function `gets': /usr/include/bits/stdio2.h:80: multiple definition of `gets' main.o:/usr/include/bits/stdio2.h:80: first defined here queue.o: In function `fgets': /usr/include/bits/stdio2.h:94: multiple definition of `fgets' main.o:/usr/include/bits/stdio2.h:94: first defined here queue.o: In function `fgets_unlocked': /usr/include/bits/stdio2.h:110: multiple definition of `fgets_unlocked' main.o:/usr/include/bits/stdio2.h:110: first defined here queue.o: In function `realpath': /usr/include/bits/stdlib.h:33: multiple definition of `realpath' main.o:/usr/include/bits/stdlib.h:33: first defined here queue.o: In function `ptsname_r': /usr/include/bits/stdlib.h:49: multiple definition of `ptsname_r' main.o:/usr/include/bits/stdlib.h:49: first defined here queue.o: In function `wctomb': /usr/include/bits/stdlib.h:64: multiple definition of `wctomb' main.o:/usr/include/bits/stdlib.h:64: first defined here queue.o: In function `mbstowcs': /usr/include/bits/stdlib.h:89: multiple definition of `mbstowcs' main.o:/usr/include/bits/stdlib.h:89: first defined here queue.o: In function `wcstombs': /usr/include/bits/stdlib.h:110: multiple definition of `wcstombs' main.o:/usr/include/bits/stdlib.h:110: first defined here queue.o: In function `stpncpy': /usr/include/bits/string3.h:156: multiple definition of `stpncpy' main.o:/usr/include/bits/string3.h:156: first defined here queue.o: In function `read': /usr/include/bits/unistd.h:31: multiple definition of `read' main.o:/usr/include/bits/unistd.h:31: first defined here queue.o: In function `pread': /usr/include/bits/unistd.h:53: multiple definition of `pread' main.o:/usr/include/bits/unistd.h:53: first defined here queue.o: In function `pread64': /usr/include/bits/unistd.h:73: multiple definition of `pread64' main.o:/usr/include/bits/unistd.h:73: first defined here queue.o: In function `readlink': /usr/include/bits/unistd.h:96: multiple definition of `readlink' main.o:/usr/include/bits/unistd.h:96: first defined here queue.o: In function `getcwd': /usr/include/bits/unistd.h:111: multiple definition of `getcwd' main.o:/usr/include/bits/unistd.h:111: first defined here queue.o: In function `getwd': /usr/include/bits/unistd.h:126: multiple definition of `getwd' main.o:/usr/include/bits/unistd.h:126: first defined here queue.o: In function `confstr': /usr/include/bits/unistd.h:140: multiple definition of `confstr' main.o:/usr/include/bits/unistd.h:140: first defined here queue.o: In function `getgroups': /usr/include/bits/unistd.h:155: multiple definition of `getgroups' main.o:/usr/include/bits/unistd.h:155: first defined here queue.o: In function `ttyname_r': /usr/include/bits/unistd.h:172: multiple definition of `ttyname_r' main.o:/usr/include/bits/unistd.h:172: first defined here queue.o: In function `getlogin_r': /usr/include/bits/unistd.h:188: multiple definition of `getlogin_r' main.o:/usr/include/bits/unistd.h:188: first defined here queue.o: In function `gethostname': /usr/include/bits/unistd.h:205: multiple definition of `gethostname' main.o:/usr/include/bits/unistd.h:205: first defined here queue.o: In function `getdomainname': /usr/include/bits/unistd.h:223: multiple definition of `getdomainname' main.o:/usr/include/bits/unistd.h:223: first defined here collect2: error: ld returned 1 exit status ```

-D_FORTIFY_SOURCE=2 is added for security reasons. On some libc's it uses substitute functions which are more secure. It shouldn't have this sort of effect.

`-D_FORTIFY_SOURCE=2` is added for security reasons. On some libc's it uses substitute functions which are more secure. It shouldn't have this sort of effect.
vbraun commented 2014-03-23 08:52:54 +00:00 (Migrated from github.com)

I know what you are trying to achieve. Still, underscore-capital letter names are reserved. Portable code must either not use them, or use autoconf tests to determine if the compiler (and libc in this case) supports them.

William Pitcock notifications@github.com wrote:

-D_FORTIFY_SOURCE=2 is added for security reasons. On some libc's it
uses substitute functions which are more secure. It shouldn't have
this sort of effect.


Reply to this email directly or view it on GitHub:
https://github.com/pkgconf/pkgconf/issues/61#issuecomment-38374789

Sent from Kaiten Mail for Android. Please excuse my brevity.

I know what you are trying to achieve. Still, underscore-capital letter names are reserved. Portable code must either not use them, or use autoconf tests to determine if the compiler (and libc in this case) supports them. William Pitcock notifications@github.com wrote: > `-D_FORTIFY_SOURCE=2` is added for security reasons. On some libc's it > uses substitute functions which are more secure. It shouldn't have > this sort of effect. > > --- > > Reply to this email directly or view it on GitHub: > https://github.com/pkgconf/pkgconf/issues/61#issuecomment-38374789 ## Sent from Kaiten Mail for Android. Please excuse my brevity.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: ariadne/pkgconf#61
There is no content yet.