Bug 36349 - gcc-4.3.0 build fails with multiple definitions
Summary: gcc-4.3.0 build fails with multiple definitions
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: target (show other bugs)
Version: 4.3.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-28 01:06 UTC by Patrick Horgan
Modified: 2008-06-13 21:54 UTC (History)
2 users (show)

See Also:
Host: x86_64-unknown-linux-gnu
Target: x86_64-unknown-linux-gnu
Build: x86_64-unknown-linux-gnu
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Horgan 2008-05-28 01:06:39 UTC
+++ This bug was initially created as a clone of Bug #35619 +++

That one was closed with no resolution, and I still can't build gcc-3.4.0.
Help!!!)

Attempting to build gcc-4.3.0 on Suse 10.1 with gcc compiler


Exact version of gcc used to build gcc-4.3.0:
gcc version 4.2.1

Options when GCC was configured/built:

./configure

libtool: link: /usr/local/gcc-4.3.0/host-x86_64-unknown-linux-gnu/gcc/xgcc -B/usr/local/gcc-4.3.0/host-x86_64-unknown-linux-gnu/gcc/ -B/usr/local/x86_64-unknown-linux-gnu/bin/ -B/usr/local/x86_64-unknown-linux-gnu/lib/ -isystem /usr/local/x86_64-unknown-linux-gnu/include -isystem /usr/local/x86_64-unknown-linux-gnu/sys-include -shared  .libs/backtrace.o .libs/compile_options.o .libs/environ.o .libs/error.o .libs/fpu.o .libs/main.o .libs/memory.o .libs/pause.o .libs/stop.o .libs/string.o .libs/select.o .libs/all_l1.o .libs/all_l2.o .libs/all_l4.o .libs/all_l8.o .libs/all_l16.o .libs/any_l1.o .libs/any_l2.o .libs/any_l4.o .libs/any_l8.o .libs/any_l16.o .libs/count_1_l.o .libs/count_2_l.o .libs/count_4_l.o .libs/count_8_l.o .libs/count_16_l.o .libs/maxloc0_4_i1.o .libs/maxloc0_8_i1.o .libs/maxloc0_16_i1.o .libs/maxloc0_4_i2.o .libs/maxloc0_8_i2.o .libs/maxloc0_16_i2.o .libs/maxloc0_4_i4.o .libs/maxloc0_8_i4.o .libs/maxloc0_16_i4.o .libs/maxloc0_4_i8.o .libs/maxloc0_8_i8.o .libs/maxloc0_16_i8.o .libs/maxloc0_4_i16.o .libs/maxloc0_8_i16.o .libs/maxloc0_16_i16.o .libs/maxloc0_4_r4.o .libs/maxloc0_8_r4.o .libs/maxloc0_16_r4.o .libs/maxloc0_4_r8.o .libs/maxloc0_8_r8.o .libs/maxloc0_16_r8.o .libs/maxloc0_4_r10.o .libs/maxloc0_8_r10.o .libs/maxloc0_16_r10.o .libs/maxloc0_4_r16.o .libs/maxloc0_8_r16.o .libs/maxloc0_16_r16.o .libs/maxloc1_4_i1.o .libs/maxloc1_8_i1.o .libs/maxloc1_16_i1.o .libs/maxloc1_4_i2.o .libs/maxloc1_8_i2.o .libs/maxloc1_16_i2.o .libs/maxloc1_4_i4.o .libs/maxloc1_8_i4.o .libs/maxloc1_16_i4.o .libs/maxloc1_4_i8.o .libs/maxloc1_8_i8.o .libs/maxloc1_16_i8.o .libs/maxloc1_4_i16.o .libs/maxloc1_8_i16.o .libs/maxloc1_16_i16.o .libs/maxloc1_4_r4.o .libs/maxloc1_8_r4.o .libs/maxloc1_16_r4.o .libs/maxloc1_4_r8.o .libs/maxloc1_8_r8.o .libs/maxloc1_16_r8.o .libs/maxloc1_4_r10.o .libs/maxloc1_8_r10.o .libs/maxloc1_16_r10.o .libs/maxloc1_4_r16.o .libs/maxloc1_8_r16.o .libs/maxloc1_16_r16.o .libs/maxval_i1.o .libs/maxval_i2.o .libs/maxval_i4.o .libs/maxval_i8.o .libs/maxval_i16.o .libs/maxval_r4.o .libs/maxval_r8.o .libs/maxval_r10.o .libs/maxval_r16.o .libs/minloc0_4_i1.o .libs/minloc0_8_i1.o .libs/minloc0_16_i1.o .libs/minloc0_4_i2.o .libs/minloc0_8_i2.o .libs/minloc0_16_i2.o .libs/minloc0_4_i4.o .libs/minloc0_8_i4.o .libs/minloc0_16_i4.o .libs/minloc0_4_i8.o .libs/minloc0_8_i8.o .libs/minloc0_16_i8.o .libs/minloc0_4_i16.o .libs/minloc0_8_i16.o .libs/minloc0_16_i16.o .libs/minloc0_4_r4.o .libs/minloc0_8_r4.o .libs/minloc0_16_r4.o .libs/minloc0_4_r8.o .libs/minloc0_8_r8.o .libs/minloc0_16_r8.o .libs/minloc0_4_r10.o .libs/minloc0_8_r10.o .libs/minloc0_16_r10.o .libs/minloc0_4_r16.o .libs/minloc0_8_r16.o .libs/minloc0_16_r16.o .libs/minloc1_4_i1.o .libs/minloc1_8_i1.o .libs/minloc1_16_i1.o .libs/minloc1_4_i2.o .libs/minloc1_8_i2.o .libs/minloc1_16_i2.o .libs/minloc1_4_i4.o .libs/minloc1_8_i4.o .libs/minloc1_16_i4.o .libs/minloc1_4_i8.o .libs/minloc1_8_i8.o .libs/minloc1_16_i8.o .libs/minloc1_4_i16.o .libs/minloc1_8_i16.o .libs/minloc1_16_i16.o .libs/minloc1_4_r4.o .libs/minloc1_8_r4.o .libs/minloc1_16_r4.o .libs/minloc1_4_r8.o .libs/minloc1_8_r8.o .libs/minloc1_16_r8.o .libs/minloc1_4_r10.o .libs/minloc1_8_r10.o .libs/minloc1_16_r10.o .libs/minloc1_4_r16.o .libs/minloc1_8_r16.o .libs/minloc1_16_r16.o .libs/minval_i1.o .libs/minval_i2.o .libs/minval_i4.o .libs/minval_i8.o .libs/minval_i16.o .libs/minval_r4.o .libs/minval_r8.o .libs/minval_r10.o .libs/minval_r16.o .libs/product_i1.o .libs/product_i2.o .libs/product_i4.o .libs/product_i8.o .libs/product_i16.o .libs/product_r4.o .libs/product_r8.o .libs/product_r10.o .libs/product_r16.o .libs/product_c4.o
.libs/compile_options.o: In function `feof_unlocked':
/usr/include/bits/stdio.h:113: multiple definition of `feof_unlocked'
.libs/backtrace.o:/usr/include/bits/stdio.h:113: first defined here
.libs/compile_options.o: In function `ferror_unlocked':
/usr/include/bits/stdio.h:120: multiple definition of `ferror_unlocked'
.libs/backtrace.o:/usr/include/bits/stdio.h:120: first defined here
.libs/compile_options.o: In function `__signbitf': 
/usr/include/bits/mathinline.h:38: multiple definition of `__signbitf'
.libs/backtrace.o:/usr/include/bits/mathinline.h:38: first defined here
.libs/compile_options.o: In function `__signbit':
/usr/include/bits/mathinline.h:44: multiple definition of `__signbit'
.libs/backtrace.o:/usr/include/bits/mathinline.h:44: first defined here
.libs/compile_options.o: In function `__signbitl':
/usr/include/bits/mathinline.h:50: multiple definition of `__signbitl'
.libs/backtrace.o:/usr/include/bits/mathinline.h:50: first defined here
.libs/compile_options.o: In function `gnu_dev_major':
/usr/include/sys/sysmacros.h:43: multiple definition of `gnu_dev_major'
.libs/backtrace.o:/usr/include/sys/sysmacros.h:43: first defined here
.libs/compile_options.o: In function `gnu_dev_minor':
/usr/include/sys/sysmacros.h:49: multiple definition of `gnu_dev_minor'
.libs/backtrace.o:/usr/include/sys/sysmacros.h:49: first defined here
.libs/compile_options.o: In function `gnu_dev_makedev':
/usr/include/sys/sysmacros.h:55: multiple definition of `gnu_dev_makedev'
.libs/backtrace.o:/usr/include/sys/sysmacros.h:55: first defined here
.libs/compile_options.o: In function `__sigismember':
/usr/include/bits/sigset.h:117: multiple definition of `__sigismember'
.libs/backtrace.o:/usr/include/bits/sigset.h:117: first defined here
.libs/compile_options.o: In function `__sigaddset':
/usr/include/bits/sigset.h:118: multiple definition of `__sigaddset'
.libs/backtrace.o:/usr/include/bits/sigset.h:118: first defined here
.libs/compile_options.o: In function `__sigdelset':
/usr/include/bits/sigset.h:119: multiple definition of `__sigdelset'
.libs/backtrace.o:/usr/include/bits/sigset.h:119: first defined here
.libs/compile_options.o: In function `getline':
/usr/include/bits/stdio.h:103: multiple definition of `getline'
.libs/backtrace.o:/usr/include/bits/stdio.h:103: first defined here 
.libs/compile_options.o: In function `putchar_unlocked':
/usr/include/bits/stdio.h:94: multiple definition of `putchar_unlocked'
.libs/backtrace.o:/usr/include/bits/stdio.h:94: first defined here
.libs/compile_options.o: In function `putc_unlocked':
/usr/include/bits/stdio.h:87: multiple definition of `putc_unlocked'
.libs/backtrace.o:/usr/include/bits/stdio.h:87: first defined here
/usr/include/bits/stdio.h:87: multiple definition of `putc_unlocked'
.libs/backtrace.o:/usr/include/bits/stdio.h:87: first defined here
.libs/compile_options.o: In function `fputc_unlocked':
/usr/include/bits/stdio.h:77: multiple definition of `fputc_unlocked'
.libs/backtrace.o:/usr/include/bits/stdio.h:77: first defined here
.libs/compile_options.o: In function `putchar':
/usr/include/bits/stdio.h:68: multiple definition of `putchar'
.libs/backtrace.o:/usr/include/bits/stdio.h:68: first defined here
.libs/compile_options.o: In function `getchar_unlocked':
/usr/include/bits/stdio.h:59: multiple definition of `getchar_unlocked'
.libs/backtrace.o:/usr/include/bits/stdio.h:59: first defined here
.libs/compile_options.o: In function `getc_unlocked':
/usr/include/bits/stdio.h:52: multiple definition of `getc_unlocked'
.libs/backtrace.o:/usr/include/bits/stdio.h:52: first defined here
.libs/compile_options.o: In function `getchar':
/usr/include/bits/stdio.h:43: multiple definition of `getchar'
.libs/backtrace.o:/usr/include/bits/stdio.h:43: first defined here
.libs/compile_options.o: In function `vprintf':
/usr/include/bits/stdio.h:36: multiple definition of `vprintf'
.libs/backtrace.o:/usr/include/bits/stdio.h:36: first defined here
.libs/environ.o: In function `feof_unlocked':
/usr/include/bits/stdio.h:113: multiple definition of `feof_unlocked'
.libs/backtrace.o:/usr/include/bits/stdio.h:113: first defined here
.libs/environ.o: In function `ferror_unlocked':
/usr/include/bits/stdio.h:120: multiple definition of `ferror_unlocked'
.libs/backtrace.o:/usr/include/bits/stdio.h:120: first defined here
.libs/environ.o: In function `__signbitf':
/usr/include/bits/mathinline.h:38: multiple definition of `__signbitf'
.libs/backtrace.o:/usr/include/bits/mathinline.h:38: first defined here
.libs/environ.o: In function `__signbit':
/usr/include/bits/mathinline.h:44: multiple definition of `__signbit'
.libs/backtrace.o:/usr/include/bits/mathinline.h:44: first defined here
.libs/environ.o: In function `__signbitl':
/usr/include/bits/mathinline.h:50: multiple definition of `__signbitl'
.libs/backtrace.o:/usr/include/bits/mathinline.h:50: first defined here
.libs/environ.o: In function `gnu_dev_major':
/usr/include/sys/sysmacros.h:43: multiple definition of `gnu_dev_major'
.libs/backtrace.o:/usr/include/sys/sysmacros.h:43: first defined here
.libs/environ.o: In function `gnu_dev_minor':
/usr/include/sys/sysmacros.h:49: multiple definition of `gnu_dev_minor'
.libs/backtrace.o:/usr/include/sys/sysmacros.h:49: first defined here
.libs/environ.o: In function `gnu_dev_makedev':
etc...
Comment 1 Andrew Pinski 2008-05-28 01:15:23 UTC
This is a dup of bug 35619.
Workaround: don't build in the source directory.

Moral of the story, follow recommended instructions of building.

*** This bug has been marked as a duplicate of 35619 ***
Comment 2 Patrick Horgan 2008-05-28 03:59:08 UTC
Build in objdir fails similarly when building libiberty.a  Still has the same multiple definitions.

make[3]: Entering directory `/usr/local/gcc-4.3.0/objdir/build-x86_64-unknown-linux-gnu/fixincludes'
gcc -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wno-overlength-strings -pedantic -Wno-long-long   -DHAVE_CONFIG_H -I. -I../../../fixincludes -I../include -I../../../fixincludes/../include ../../../fixincludes/fixincl.c
gcc -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wno-overlength-strings -pedantic -Wno-long-long   -DHAVE_CONFIG_H -I. -I../../../fixincludes -I../include -I../../../fixincludes/../include ../../../fixincludes/fixtests.c
gcc -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wno-overlength-strings -pedantic -Wno-long-long   -DHAVE_CONFIG_H -I. -I../../../fixincludes -I../include -I../../../fixincludes/../include ../../../fixincludes/fixfixes.c
gcc -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wno-overlength-strings -pedantic -Wno-long-long   -DHAVE_CONFIG_H -I. -I../../../fixincludes -I../include -I../../../fixincludes/../include ../../../fixincludes/server.c
gcc -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wno-overlength-strings -pedantic -Wno-long-long   -DHAVE_CONFIG_H -I. -I../../../fixincludes -I../include -I../../../fixincludes/../include ../../../fixincludes/procopen.c
gcc -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wno-overlength-strings -pedantic -Wno-long-long   -DHAVE_CONFIG_H -I. -I../../../fixincludes -I../include -I../../../fixincludes/../include ../../../fixincludes/fixlib.c
gcc -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wno-overlength-strings -pedantic -Wno-long-long   -DHAVE_CONFIG_H -I. -I../../../fixincludes -I../include -I../../../fixincludes/../include ../../../fixincludes/fixopts.c
gcc -g -O2  -o fixincl fixincl.o fixtests.o fixfixes.o server.o procopen.o fixlib.o fixopts.o ../libiberty/libiberty.a
fixtests.o: In function `feof_unlocked':
/usr/include/bits/stdio.h:127: multiple definition of `feof_unlocked'
fixincl.o:/usr/include/bits/stdio.h:127: first defined here
fixtests.o: In function `ferror_unlocked':
/usr/include/bits/stdio.h:134: multiple definition of `ferror_unlocked'
fixincl.o:/usr/include/bits/stdio.h:134: first defined here
fixtests.o: In function `putchar_unlocked':
/usr/include/bits/stdio.h:108: multiple definition of `putchar_unlocked'
fixincl.o:/usr/include/bits/stdio.h:108: first defined here
fixtests.o: In function `putc_unlocked':
/usr/include/bits/stdio.h:101: multiple definition of `putc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:101: first defined here
fixtests.o: In function `fputc_unlocked':
/usr/include/bits/stdio.h:91: multiple definition of `fputc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:91: first defined here
fixtests.o: In function `putchar':
/usr/include/bits/stdio.h:82: multiple definition of `putchar'
fixincl.o:/usr/include/bits/stdio.h:82: first defined here
fixtests.o: In function `getchar_unlocked':
/usr/include/bits/stdio.h:73: multiple definition of `getchar_unlocked'
fixincl.o:/usr/include/bits/stdio.h:73: first defined here
fixtests.o: In function `getc_unlocked':
/usr/include/bits/stdio.h:66: multiple definition of `getc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:66: first defined here
fixtests.o: In function `fgetc_unlocked':
/usr/include/bits/stdio.h:56: multiple definition of `fgetc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:56: first defined here
fixtests.o: In function `getchar':
/usr/include/bits/stdio.h:47: multiple definition of `getchar'
fixincl.o:/usr/include/bits/stdio.h:47: first defined here
fixtests.o: In function `vprintf':
/usr/include/bits/stdio.h:39: multiple definition of `vprintf'
fixincl.o:/usr/include/bits/stdio.h:39: first defined here
fixfixes.o: In function `feof_unlocked':
/usr/include/bits/stdio.h:127: multiple definition of `feof_unlocked'
fixincl.o:/usr/include/bits/stdio.h:127: first defined here
fixfixes.o: In function `ferror_unlocked':
/usr/include/bits/stdio.h:134: multiple definition of `ferror_unlocked'
fixincl.o:/usr/include/bits/stdio.h:134: first defined here
fixfixes.o: In function `putchar_unlocked':
/usr/include/bits/stdio.h:108: multiple definition of `putchar_unlocked'
fixincl.o:/usr/include/bits/stdio.h:108: first defined here
fixfixes.o: In function `putc_unlocked':
/usr/include/bits/stdio.h:101: multiple definition of `putc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:101: first defined here
fixfixes.o: In function `fputc_unlocked':
/usr/include/bits/stdio.h:91: multiple definition of `fputc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:91: first defined here
fixfixes.o: In function `putchar':
/usr/include/bits/stdio.h:82: multiple definition of `putchar'
fixincl.o:/usr/include/bits/stdio.h:82: first defined here
fixfixes.o: In function `getchar_unlocked':
/usr/include/bits/stdio.h:73: multiple definition of `getchar_unlocked'
fixincl.o:/usr/include/bits/stdio.h:73: first defined here
fixfixes.o: In function `getc_unlocked':
/usr/include/bits/stdio.h:66: multiple definition of `getc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:66: first defined here
fixfixes.o: In function `fgetc_unlocked':
/usr/include/bits/stdio.h:56: multiple definition of `fgetc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:56: first defined here
fixfixes.o: In function `getchar':
/usr/include/bits/stdio.h:47: multiple definition of `getchar'
fixincl.o:/usr/include/bits/stdio.h:47: first defined here
fixfixes.o: In function `vprintf':
/usr/include/bits/stdio.h:39: multiple definition of `vprintf'
fixincl.o:/usr/include/bits/stdio.h:39: first defined here
server.o: In function `feof_unlocked':
/usr/include/bits/stdio.h:127: multiple definition of `feof_unlocked'
fixincl.o:/usr/include/bits/stdio.h:127: first defined here
server.o: In function `ferror_unlocked':
/usr/include/bits/stdio.h:134: multiple definition of `ferror_unlocked'
fixincl.o:/usr/include/bits/stdio.h:134: first defined here
server.o: In function `putchar_unlocked':
/usr/include/bits/stdio.h:108: multiple definition of `putchar_unlocked'
fixincl.o:/usr/include/bits/stdio.h:108: first defined here
server.o: In function `putc_unlocked':
/usr/include/bits/stdio.h:101: multiple definition of `putc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:101: first defined here
server.o: In function `fputc_unlocked':
/usr/include/bits/stdio.h:91: multiple definition of `fputc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:91: first defined here
server.o: In function `putchar':
/usr/include/bits/stdio.h:82: multiple definition of `putchar'
fixincl.o:/usr/include/bits/stdio.h:82: first defined here
server.o: In function `getchar_unlocked':
/usr/include/bits/stdio.h:73: multiple definition of `getchar_unlocked'
fixincl.o:/usr/include/bits/stdio.h:73: first defined here
server.o: In function `getc_unlocked':
/usr/include/bits/stdio.h:66: multiple definition of `getc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:66: first defined here
server.o: In function `fgetc_unlocked':
/usr/include/bits/stdio.h:56: multiple definition of `fgetc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:56: first defined here
server.o: In function `getchar':
/usr/include/bits/stdio.h:47: multiple definition of `getchar'
fixincl.o:/usr/include/bits/stdio.h:47: first defined here
server.o: In function `vprintf':
/usr/include/bits/stdio.h:39: multiple definition of `vprintf'
fixincl.o:/usr/include/bits/stdio.h:39: first defined here
procopen.o: In function `feof_unlocked':
/usr/include/bits/stdio.h:127: multiple definition of `feof_unlocked'
fixincl.o:/usr/include/bits/stdio.h:127: first defined here
procopen.o: In function `ferror_unlocked':
/usr/include/bits/stdio.h:134: multiple definition of `ferror_unlocked'
fixincl.o:/usr/include/bits/stdio.h:134: first defined here
procopen.o: In function `putchar_unlocked':
/usr/include/bits/stdio.h:108: multiple definition of `putchar_unlocked'
fixincl.o:/usr/include/bits/stdio.h:108: first defined here
procopen.o: In function `putc_unlocked':
/usr/include/bits/stdio.h:101: multiple definition of `putc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:101: first defined here
procopen.o: In function `fputc_unlocked':
/usr/include/bits/stdio.h:91: multiple definition of `fputc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:91: first defined here
procopen.o: In function `putchar':
/usr/include/bits/stdio.h:82: multiple definition of `putchar'
fixincl.o:/usr/include/bits/stdio.h:82: first defined here
procopen.o: In function `getchar_unlocked':
/usr/include/bits/stdio.h:73: multiple definition of `getchar_unlocked'
fixincl.o:/usr/include/bits/stdio.h:73: first defined here
procopen.o: In function `getc_unlocked':
/usr/include/bits/stdio.h:66: multiple definition of `getc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:66: first defined here
procopen.o: In function `fgetc_unlocked':
/usr/include/bits/stdio.h:56: multiple definition of `fgetc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:56: first defined here
procopen.o: In function `getchar':
/usr/include/bits/stdio.h:47: multiple definition of `getchar'
fixincl.o:/usr/include/bits/stdio.h:47: first defined here
procopen.o: In function `vprintf':
/usr/include/bits/stdio.h:39: multiple definition of `vprintf'
fixincl.o:/usr/include/bits/stdio.h:39: first defined here
fixlib.o: In function `feof_unlocked':
/usr/include/bits/stdio.h:127: multiple definition of `feof_unlocked'
fixincl.o:/usr/include/bits/stdio.h:127: first defined here
fixlib.o: In function `ferror_unlocked':
/usr/include/bits/stdio.h:134: multiple definition of `ferror_unlocked'
fixincl.o:/usr/include/bits/stdio.h:134: first defined here
fixlib.o: In function `putchar_unlocked':
/usr/include/bits/stdio.h:108: multiple definition of `putchar_unlocked'
fixincl.o:/usr/include/bits/stdio.h:108: first defined here
fixlib.o: In function `putc_unlocked':
/usr/include/bits/stdio.h:101: multiple definition of `putc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:101: first defined here
fixlib.o: In function `fputc_unlocked':
/usr/include/bits/stdio.h:91: multiple definition of `fputc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:91: first defined here
fixlib.o: In function `putchar':
/usr/include/bits/stdio.h:82: multiple definition of `putchar'
fixincl.o:/usr/include/bits/stdio.h:82: first defined here
fixlib.o: In function `getchar_unlocked':
/usr/include/bits/stdio.h:73: multiple definition of `getchar_unlocked'
fixincl.o:/usr/include/bits/stdio.h:73: first defined here
fixlib.o: In function `getc_unlocked':
/usr/include/bits/stdio.h:66: multiple definition of `getc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:66: first defined here
fixlib.o: In function `fgetc_unlocked':
/usr/include/bits/stdio.h:56: multiple definition of `fgetc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:56: first defined here
fixlib.o: In function `getchar':
/usr/include/bits/stdio.h:47: multiple definition of `getchar'
fixincl.o:/usr/include/bits/stdio.h:47: first defined here
fixlib.o: In function `vprintf':
/usr/include/bits/stdio.h:39: multiple definition of `vprintf'
fixincl.o:/usr/include/bits/stdio.h:39: first defined here
fixopts.o: In function `feof_unlocked':
/usr/include/bits/stdio.h:127: multiple definition of `feof_unlocked'
fixincl.o:/usr/include/bits/stdio.h:127: first defined here
fixopts.o: In function `ferror_unlocked':
/usr/include/bits/stdio.h:134: multiple definition of `ferror_unlocked'
fixincl.o:/usr/include/bits/stdio.h:134: first defined here
fixopts.o: In function `putchar_unlocked':
/usr/include/bits/stdio.h:108: multiple definition of `putchar_unlocked'
fixincl.o:/usr/include/bits/stdio.h:108: first defined here
fixopts.o: In function `putc_unlocked':
/usr/include/bits/stdio.h:101: multiple definition of `putc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:101: first defined here
fixopts.o: In function `fputc_unlocked':
/usr/include/bits/stdio.h:91: multiple definition of `fputc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:91: first defined here
fixopts.o: In function `putchar':
/usr/include/bits/stdio.h:82: multiple definition of `putchar'
fixincl.o:/usr/include/bits/stdio.h:82: first defined here
fixopts.o: In function `getchar_unlocked':
/usr/include/bits/stdio.h:73: multiple definition of `getchar_unlocked'
fixincl.o:/usr/include/bits/stdio.h:73: first defined here
fixopts.o: In function `getc_unlocked':
/usr/include/bits/stdio.h:66: multiple definition of `getc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:66: first defined here
fixopts.o: In function `fgetc_unlocked':
/usr/include/bits/stdio.h:56: multiple definition of `fgetc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:56: first defined here
fixopts.o: In function `getchar':
/usr/include/bits/stdio.h:47: multiple definition of `getchar'
fixincl.o:/usr/include/bits/stdio.h:47: first defined here
fixopts.o: In function `vprintf':
/usr/include/bits/stdio.h:39: multiple definition of `vprintf'
fixincl.o:/usr/include/bits/stdio.h:39: first defined here
../libiberty/libiberty.a(fopen_unlocked.o): In function `feof_unlocked':
/usr/include/bits/stdio.h:127: multiple definition of `feof_unlocked'
fixincl.o:/usr/include/bits/stdio.h:127: first defined here
../libiberty/libiberty.a(fopen_unlocked.o): In function `ferror_unlocked':
/usr/include/bits/stdio.h:134: multiple definition of `ferror_unlocked'
fixincl.o:/usr/include/bits/stdio.h:134: first defined here
../libiberty/libiberty.a(fopen_unlocked.o): In function `putchar_unlocked':
/usr/include/bits/stdio.h:108: multiple definition of `putchar_unlocked'
fixincl.o:/usr/include/bits/stdio.h:108: first defined here
../libiberty/libiberty.a(fopen_unlocked.o): In function `putc_unlocked':
/usr/include/bits/stdio.h:101: multiple definition of `putc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:101: first defined here
../libiberty/libiberty.a(fopen_unlocked.o): In function `fputc_unlocked':
/usr/include/bits/stdio.h:91: multiple definition of `fputc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:91: first defined here
../libiberty/libiberty.a(fopen_unlocked.o): In function `putchar':
/usr/include/bits/stdio.h:82: multiple definition of `putchar'
fixincl.o:/usr/include/bits/stdio.h:82: first defined here
../libiberty/libiberty.a(fopen_unlocked.o): In function `getchar_unlocked':
/usr/include/bits/stdio.h:73: multiple definition of `getchar_unlocked'
fixincl.o:/usr/include/bits/stdio.h:73: first defined here
../libiberty/libiberty.a(fopen_unlocked.o): In function `getc_unlocked':
/usr/include/bits/stdio.h:66: multiple definition of `getc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:66: first defined here
../libiberty/libiberty.a(fopen_unlocked.o): In function `fgetc_unlocked':
/usr/include/bits/stdio.h:56: multiple definition of `fgetc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:56: first defined here
../libiberty/libiberty.a(fopen_unlocked.o): In function `getchar':
/usr/include/bits/stdio.h:47: multiple definition of `getchar'
fixincl.o:/usr/include/bits/stdio.h:47: first defined here
../libiberty/libiberty.a(fopen_unlocked.o): In function `vprintf':
/usr/include/bits/stdio.h:39: multiple definition of `vprintf'
fixincl.o:/usr/include/bits/stdio.h:39: first defined here
../libiberty/libiberty.a(safe-ctype.o): In function `feof_unlocked':
/usr/include/bits/stdio.h:127: multiple definition of `feof_unlocked'
fixincl.o:/usr/include/bits/stdio.h:127: first defined here
../libiberty/libiberty.a(safe-ctype.o): In function `ferror_unlocked':
/usr/include/bits/stdio.h:134: multiple definition of `ferror_unlocked'
fixincl.o:/usr/include/bits/stdio.h:134: first defined here
../libiberty/libiberty.a(safe-ctype.o): In function `putchar_unlocked':
/usr/include/bits/stdio.h:108: multiple definition of `putchar_unlocked'
fixincl.o:/usr/include/bits/stdio.h:108: first defined here
../libiberty/libiberty.a(safe-ctype.o): In function `putc_unlocked':
/usr/include/bits/stdio.h:101: multiple definition of `putc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:101: first defined here
../libiberty/libiberty.a(safe-ctype.o): In function `fputc_unlocked':
/usr/include/bits/stdio.h:91: multiple definition of `fputc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:91: first defined here
../libiberty/libiberty.a(safe-ctype.o): In function `putchar':
/usr/include/bits/stdio.h:82: multiple definition of `putchar'
fixincl.o:/usr/include/bits/stdio.h:82: first defined here
../libiberty/libiberty.a(safe-ctype.o): In function `getchar_unlocked':
/usr/include/bits/stdio.h:73: multiple definition of `getchar_unlocked'
fixincl.o:/usr/include/bits/stdio.h:73: first defined here
../libiberty/libiberty.a(safe-ctype.o): In function `getc_unlocked':
/usr/include/bits/stdio.h:66: multiple definition of `getc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:66: first defined here
../libiberty/libiberty.a(safe-ctype.o): In function `fgetc_unlocked':
/usr/include/bits/stdio.h:56: multiple definition of `fgetc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:56: first defined here
../libiberty/libiberty.a(safe-ctype.o): In function `getchar':
/usr/include/bits/stdio.h:47: multiple definition of `getchar'
fixincl.o:/usr/include/bits/stdio.h:47: first defined here
../libiberty/libiberty.a(safe-ctype.o): In function `vprintf':
/usr/include/bits/stdio.h:39: multiple definition of `vprintf'
fixincl.o:/usr/include/bits/stdio.h:39: first defined here
../libiberty/libiberty.a(xmalloc.o): In function `feof_unlocked':
/usr/include/bits/stdio.h:127: multiple definition of `feof_unlocked'
fixincl.o:/usr/include/bits/stdio.h:127: first defined here
../libiberty/libiberty.a(xmalloc.o): In function `ferror_unlocked':
/usr/include/bits/stdio.h:134: multiple definition of `ferror_unlocked'
fixincl.o:/usr/include/bits/stdio.h:134: first defined here
../libiberty/libiberty.a(xmalloc.o): In function `putchar_unlocked':
/usr/include/bits/stdio.h:108: multiple definition of `putchar_unlocked'
fixincl.o:/usr/include/bits/stdio.h:108: first defined here
../libiberty/libiberty.a(xmalloc.o): In function `putc_unlocked':
/usr/include/bits/stdio.h:101: multiple definition of `putc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:101: first defined here
../libiberty/libiberty.a(xmalloc.o): In function `fputc_unlocked':
/usr/include/bits/stdio.h:91: multiple definition of `fputc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:91: first defined here
../libiberty/libiberty.a(xmalloc.o): In function `putchar':
/usr/include/bits/stdio.h:82: multiple definition of `putchar'
fixincl.o:/usr/include/bits/stdio.h:82: first defined here
../libiberty/libiberty.a(xmalloc.o): In function `getchar_unlocked':
/usr/include/bits/stdio.h:73: multiple definition of `getchar_unlocked'
fixincl.o:/usr/include/bits/stdio.h:73: first defined here
../libiberty/libiberty.a(xmalloc.o): In function `getc_unlocked':
/usr/include/bits/stdio.h:66: multiple definition of `getc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:66: first defined here
../libiberty/libiberty.a(xmalloc.o): In function `fgetc_unlocked':
/usr/include/bits/stdio.h:56: multiple definition of `fgetc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:56: first defined here
../libiberty/libiberty.a(xmalloc.o): In function `getchar':
/usr/include/bits/stdio.h:47: multiple definition of `getchar'
fixincl.o:/usr/include/bits/stdio.h:47: first defined here
../libiberty/libiberty.a(xmalloc.o): In function `vprintf':
/usr/include/bits/stdio.h:39: multiple definition of `vprintf'
fixincl.o:/usr/include/bits/stdio.h:39: first defined here
../libiberty/libiberty.a(xstrdup.o): In function `feof_unlocked':
/usr/include/bits/stdio.h:127: multiple definition of `feof_unlocked'
fixincl.o:/usr/include/bits/stdio.h:127: first defined here
../libiberty/libiberty.a(xstrdup.o): In function `ferror_unlocked':
/usr/include/bits/stdio.h:134: multiple definition of `ferror_unlocked'
fixincl.o:/usr/include/bits/stdio.h:134: first defined here
../libiberty/libiberty.a(xstrdup.o): In function `putchar_unlocked':
/usr/include/bits/stdio.h:108: multiple definition of `putchar_unlocked'
fixincl.o:/usr/include/bits/stdio.h:108: first defined here
../libiberty/libiberty.a(xstrdup.o): In function `putc_unlocked':
/usr/include/bits/stdio.h:101: multiple definition of `putc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:101: first defined here
../libiberty/libiberty.a(xstrdup.o): In function `fputc_unlocked':
/usr/include/bits/stdio.h:91: multiple definition of `fputc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:91: first defined here
../libiberty/libiberty.a(xstrdup.o): In function `putchar':
/usr/include/bits/stdio.h:82: multiple definition of `putchar'
fixincl.o:/usr/include/bits/stdio.h:82: first defined here
../libiberty/libiberty.a(xstrdup.o): In function `getchar_unlocked':
/usr/include/bits/stdio.h:73: multiple definition of `getchar_unlocked'
fixincl.o:/usr/include/bits/stdio.h:73: first defined here
../libiberty/libiberty.a(xstrdup.o): In function `getc_unlocked':
/usr/include/bits/stdio.h:66: multiple definition of `getc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:66: first defined here
../libiberty/libiberty.a(xstrdup.o): In function `fgetc_unlocked':
/usr/include/bits/stdio.h:56: multiple definition of `fgetc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:56: first defined here
../libiberty/libiberty.a(xstrdup.o): In function `getchar':
/usr/include/bits/stdio.h:47: multiple definition of `getchar'
fixincl.o:/usr/include/bits/stdio.h:47: first defined here
../libiberty/libiberty.a(xstrdup.o): In function `vprintf':
/usr/include/bits/stdio.h:39: multiple definition of `vprintf'
fixincl.o:/usr/include/bits/stdio.h:39: first defined here
../libiberty/libiberty.a(xstrerror.o): In function `feof_unlocked':
/usr/include/bits/stdio.h:127: multiple definition of `feof_unlocked'
fixincl.o:/usr/include/bits/stdio.h:127: first defined here
../libiberty/libiberty.a(xstrerror.o): In function `ferror_unlocked':
/usr/include/bits/stdio.h:134: multiple definition of `ferror_unlocked'
fixincl.o:/usr/include/bits/stdio.h:134: first defined here
../libiberty/libiberty.a(xstrerror.o): In function `putchar_unlocked':
/usr/include/bits/stdio.h:108: multiple definition of `putchar_unlocked'
fixincl.o:/usr/include/bits/stdio.h:108: first defined here
../libiberty/libiberty.a(xstrerror.o): In function `putc_unlocked':
/usr/include/bits/stdio.h:101: multiple definition of `putc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:101: first defined here
../libiberty/libiberty.a(xstrerror.o): In function `fputc_unlocked':
/usr/include/bits/stdio.h:91: multiple definition of `fputc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:91: first defined here
../libiberty/libiberty.a(xstrerror.o): In function `putchar':
/usr/include/bits/stdio.h:82: multiple definition of `putchar'
fixincl.o:/usr/include/bits/stdio.h:82: first defined here
../libiberty/libiberty.a(xstrerror.o): In function `getchar_unlocked':
/usr/include/bits/stdio.h:73: multiple definition of `getchar_unlocked'
fixincl.o:/usr/include/bits/stdio.h:73: first defined here
../libiberty/libiberty.a(xstrerror.o): In function `getc_unlocked':
/usr/include/bits/stdio.h:66: multiple definition of `getc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:66: first defined here
../libiberty/libiberty.a(xstrerror.o): In function `fgetc_unlocked':
/usr/include/bits/stdio.h:56: multiple definition of `fgetc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:56: first defined here
../libiberty/libiberty.a(xstrerror.o): In function `getchar':
/usr/include/bits/stdio.h:47: multiple definition of `getchar'
fixincl.o:/usr/include/bits/stdio.h:47: first defined here
../libiberty/libiberty.a(xstrerror.o): In function `vprintf':
/usr/include/bits/stdio.h:39: multiple definition of `vprintf'
fixincl.o:/usr/include/bits/stdio.h:39: first defined here
../libiberty/libiberty.a(xexit.o): In function `feof_unlocked':
/usr/include/bits/stdio.h:127: multiple definition of `feof_unlocked'
fixincl.o:/usr/include/bits/stdio.h:127: first defined here
../libiberty/libiberty.a(xexit.o): In function `ferror_unlocked':
/usr/include/bits/stdio.h:134: multiple definition of `ferror_unlocked'
fixincl.o:/usr/include/bits/stdio.h:134: first defined here
../libiberty/libiberty.a(xexit.o): In function `putchar_unlocked':
/usr/include/bits/stdio.h:108: multiple definition of `putchar_unlocked'
fixincl.o:/usr/include/bits/stdio.h:108: first defined here
../libiberty/libiberty.a(xexit.o): In function `putc_unlocked':
/usr/include/bits/stdio.h:101: multiple definition of `putc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:101: first defined here
../libiberty/libiberty.a(xexit.o): In function `fputc_unlocked':
/usr/include/bits/stdio.h:91: multiple definition of `fputc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:91: first defined here
../libiberty/libiberty.a(xexit.o): In function `putchar':
/usr/include/bits/stdio.h:82: multiple definition of `putchar'
fixincl.o:/usr/include/bits/stdio.h:82: first defined here
../libiberty/libiberty.a(xexit.o): In function `getchar_unlocked':
/usr/include/bits/stdio.h:73: multiple definition of `getchar_unlocked'
fixincl.o:/usr/include/bits/stdio.h:73: first defined here
../libiberty/libiberty.a(xexit.o): In function `getc_unlocked':
/usr/include/bits/stdio.h:66: multiple definition of `getc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:66: first defined here
../libiberty/libiberty.a(xexit.o): In function `fgetc_unlocked':
/usr/include/bits/stdio.h:56: multiple definition of `fgetc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:56: first defined here
../libiberty/libiberty.a(xexit.o): In function `getchar':
/usr/include/bits/stdio.h:47: multiple definition of `getchar'
fixincl.o:/usr/include/bits/stdio.h:47: first defined here
../libiberty/libiberty.a(xexit.o): In function `vprintf':
/usr/include/bits/stdio.h:39: multiple definition of `vprintf'
fixincl.o:/usr/include/bits/stdio.h:39: first defined here
collect2: ld returned 1 exit status
make[3]: *** [full-stamp] Error 1
make[3]: Leaving directory `/usr/local/gcc-4.3.0/objdir/build-x86_64-unknown-linux-gnu/fixincludes'
make[2]: *** [all-build-fixincludes] Error 2
make[2]: Leaving directory `/usr/local/gcc-4.3.0/objdir'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/usr/local/gcc-4.3.0/objdir'
make: *** [all] Error 2
Comment 3 Andrew Pinski 2008-05-28 04:24:30 UTC
Can you make sure that your source tree is clean before building in the object directory?
Comment 4 Patrick Horgan 2008-05-28 04:44:04 UTC
I reinstalled gcc-4.3.0 from the tar.gz file, and extracted it in /usr/local/gcc-4.3.0.  Then I made a completely separate object directory /usr/local/gcc-4.3.0-objdir.  From within that directory I executed ../gcc-4.3.0/configure, then typed make.  The result was the same as in the last comment, multiple defines when building libiberty.a   

mkdir -p -- build-x86_64-unknown-linux-gnu/fixincludes
Configuring in build-x86_64-unknown-linux-gnu/fixincludes
configure: loading cache ../config.cache
checking build system type... (cached) x86_64-unknown-linux-gnu
checking host system type... (cached) x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for x86_64-unknown-linux-gnu-gcc... (cached) gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... (cached) o
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... none needed
checking whether gcc supports -W... (cached) yes
checking whether gcc supports -Wall... (cached) yes
checking whether gcc supports -Wwrite-strings... (cached) yes
checking whether gcc supports -Wstrict-prototypes... (cached) yes
checking whether gcc supports -Wmissing-prototypes... yes
checking whether gcc supports -Wold-style-definition... yes
checking whether gcc supports -Wmissing-format-attribute... yes
checking whether gcc supports -Wno-overlength-strings... yes
checking whether gcc supports -pedantic -Wno-long-long... yes
checking how to run the C preprocessor... (cached) gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for strings.h... (cached) yes
checking for unistd.h... (cached) yes
checking for fcntl.h... (cached) yes
checking for sys/file.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for clearerr_unlocked... yes
checking for feof_unlocked... yes
checking for ferror_unlocked... yes
checking for fflush_unlocked... yes
checking for fgetc_unlocked... yes
checking for fgets_unlocked... yes
checking for fileno_unlocked... yes
checking for fprintf_unlocked... no
checking for fputc_unlocked... yes
checking for fputs_unlocked... yes
checking for fread_unlocked... yes
checking for fwrite_unlocked... yes
checking for getchar_unlocked... yes
checking for getc_unlocked... yes
checking for putchar_unlocked... yes
checking for putc_unlocked... yes
checking whether abort is declared... yes
checking whether asprintf is declared... (cached) no
checking whether basename is declared... (cached) no
checking whether errno is declared... no
checking whether vasprintf is declared... (cached) no
checking whether clearerr_unlocked is declared... yes
checking whether feof_unlocked is declared... yes
checking whether ferror_unlocked is declared... yes
checking whether fflush_unlocked is declared... yes
checking whether fgetc_unlocked is declared... yes
checking whether fgets_unlocked is declared... no
checking whether fileno_unlocked is declared... yes
checking whether fprintf_unlocked is declared... no
checking whether fputc_unlocked is declared... yes
checking whether fputs_unlocked is declared... no
checking whether fread_unlocked is declared... yes
checking whether fwrite_unlocked is declared... yes
checking whether getchar_unlocked is declared... yes
checking whether getc_unlocked is declared... yes
checking whether putchar_unlocked is declared... yes
checking whether putc_unlocked is declared... yes
checking for an ANSI C-conforming const... (cached) yes
checking for sys/mman.h... (cached) yes
checking for mmap... yes
checking whether read-only mmap of a plain file works... yes
checking whether mmap from /dev/zero works... yes
checking for MAP_ANON(YMOUS)... yes
checking whether mmap with MAP_ANON(YMOUS) works... yes
checking whether to enable maintainer-specific portions of Makefiles... no
configure: updating cache ../config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: creating mkheaders.almost
config.status: creating config.h
make[3]: Entering directory `/usr/local/gcc-4.3.0-objdir/build-x86_64-unknown-linux-gnu/fixincludes'
gcc -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wno-overlength-strings -pedantic -Wno-long-long   -DHAVE_CONFIG_H -I. -I../../../gcc-4.3.0/fixincludes -I../include -I../../../gcc-4.3.0/fixincludes/../include ../../../gcc-4.3.0/fixincludes/fixincl.c
gcc -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wno-overlength-strings -pedantic -Wno-long-long   -DHAVE_CONFIG_H -I. -I../../../gcc-4.3.0/fixincludes -I../include -I../../../gcc-4.3.0/fixincludes/../include ../../../gcc-4.3.0/fixincludes/fixtests.c
gcc -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wno-overlength-strings -pedantic -Wno-long-long   -DHAVE_CONFIG_H -I. -I../../../gcc-4.3.0/fixincludes -I../include -I../../../gcc-4.3.0/fixincludes/../include ../../../gcc-4.3.0/fixincludes/fixfixes.c
gcc -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wno-overlength-strings -pedantic -Wno-long-long   -DHAVE_CONFIG_H -I. -I../../../gcc-4.3.0/fixincludes -I../include -I../../../gcc-4.3.0/fixincludes/../include ../../../gcc-4.3.0/fixincludes/server.c
gcc -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wno-overlength-strings -pedantic -Wno-long-long   -DHAVE_CONFIG_H -I. -I../../../gcc-4.3.0/fixincludes -I../include -I../../../gcc-4.3.0/fixincludes/../include ../../../gcc-4.3.0/fixincludes/procopen.c
gcc -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wno-overlength-strings -pedantic -Wno-long-long   -DHAVE_CONFIG_H -I. -I../../../gcc-4.3.0/fixincludes -I../include -I../../../gcc-4.3.0/fixincludes/../include ../../../gcc-4.3.0/fixincludes/fixlib.c
gcc -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wno-overlength-strings -pedantic -Wno-long-long   -DHAVE_CONFIG_H -I. -I../../../gcc-4.3.0/fixincludes -I../include -I../../../gcc-4.3.0/fixincludes/../include ../../../gcc-4.3.0/fixincludes/fixopts.c
gcc -g -O2  -o fixincl fixincl.o fixtests.o fixfixes.o server.o procopen.o fixlib.o fixopts.o ../libiberty/libiberty.a
fixtests.o: In function `feof_unlocked':
/usr/include/bits/stdio.h:127: multiple definition of `feof_unlocked'
fixincl.o:/usr/include/bits/stdio.h:127: first defined here
fixtests.o: In function `ferror_unlocked':
/usr/include/bits/stdio.h:134: multiple definition of `ferror_unlocked'
fixincl.o:/usr/include/bits/stdio.h:134: first defined here
fixtests.o: In function `putchar_unlocked':
/usr/include/bits/stdio.h:108: multiple definition of `putchar_unlocked'
fixincl.o:/usr/include/bits/stdio.h:108: first defined here
fixtests.o: In function `putc_unlocked':
/usr/include/bits/stdio.h:101: multiple definition of `putc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:101: first defined here
fixtests.o: In function `fputc_unlocked':
/usr/include/bits/stdio.h:91: multiple definition of `fputc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:91: first defined here
fixtests.o: In function `putchar':
/usr/include/bits/stdio.h:82: multiple definition of `putchar'
fixincl.o:/usr/include/bits/stdio.h:82: first defined here
fixtests.o: In function `getchar_unlocked':
/usr/include/bits/stdio.h:73: multiple definition of `getchar_unlocked'
fixincl.o:/usr/include/bits/stdio.h:73: first defined here
fixtests.o: In function `getc_unlocked':
/usr/include/bits/stdio.h:66: multiple definition of `getc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:66: first defined here
fixtests.o: In function `fgetc_unlocked':
/usr/include/bits/stdio.h:56: multiple definition of `fgetc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:56: first defined here
fixtests.o: In function `getchar':
/usr/include/bits/stdio.h:47: multiple definition of `getchar'
fixincl.o:/usr/include/bits/stdio.h:47: first defined here
fixtests.o: In function `vprintf':
/usr/include/bits/stdio.h:39: multiple definition of `vprintf'
fixincl.o:/usr/include/bits/stdio.h:39: first defined here
fixfixes.o: In function `feof_unlocked':
/usr/include/bits/stdio.h:127: multiple definition of `feof_unlocked'
fixincl.o:/usr/include/bits/stdio.h:127: first defined here
fixfixes.o: In function `ferror_unlocked':
/usr/include/bits/stdio.h:134: multiple definition of `ferror_unlocked'
fixincl.o:/usr/include/bits/stdio.h:134: first defined here
fixfixes.o: In function `putchar_unlocked':
/usr/include/bits/stdio.h:108: multiple definition of `putchar_unlocked'
fixincl.o:/usr/include/bits/stdio.h:108: first defined here
fixfixes.o: In function `putc_unlocked':
/usr/include/bits/stdio.h:101: multiple definition of `putc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:101: first defined here
fixfixes.o: In function `fputc_unlocked':
/usr/include/bits/stdio.h:91: multiple definition of `fputc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:91: first defined here
fixfixes.o: In function `putchar':
/usr/include/bits/stdio.h:82: multiple definition of `putchar'
fixincl.o:/usr/include/bits/stdio.h:82: first defined here
fixfixes.o: In function `getchar_unlocked':
/usr/include/bits/stdio.h:73: multiple definition of `getchar_unlocked'
fixincl.o:/usr/include/bits/stdio.h:73: first defined here
fixfixes.o: In function `getc_unlocked':
/usr/include/bits/stdio.h:66: multiple definition of `getc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:66: first defined here
fixfixes.o: In function `fgetc_unlocked':
/usr/include/bits/stdio.h:56: multiple definition of `fgetc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:56: first defined here
fixfixes.o: In function `getchar':
/usr/include/bits/stdio.h:47: multiple definition of `getchar'
fixincl.o:/usr/include/bits/stdio.h:47: first defined here
fixfixes.o: In function `vprintf':
/usr/include/bits/stdio.h:39: multiple definition of `vprintf'
fixincl.o:/usr/include/bits/stdio.h:39: first defined here
server.o: In function `feof_unlocked':
/usr/include/bits/stdio.h:127: multiple definition of `feof_unlocked'
fixincl.o:/usr/include/bits/stdio.h:127: first defined here
server.o: In function `ferror_unlocked':
/usr/include/bits/stdio.h:134: multiple definition of `ferror_unlocked'
fixincl.o:/usr/include/bits/stdio.h:134: first defined here
server.o: In function `putchar_unlocked':
/usr/include/bits/stdio.h:108: multiple definition of `putchar_unlocked'
fixincl.o:/usr/include/bits/stdio.h:108: first defined here
server.o: In function `putc_unlocked':
/usr/include/bits/stdio.h:101: multiple definition of `putc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:101: first defined here
server.o: In function `fputc_unlocked':
/usr/include/bits/stdio.h:91: multiple definition of `fputc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:91: first defined here
server.o: In function `putchar':
/usr/include/bits/stdio.h:82: multiple definition of `putchar'
fixincl.o:/usr/include/bits/stdio.h:82: first defined here
server.o: In function `getchar_unlocked':
/usr/include/bits/stdio.h:73: multiple definition of `getchar_unlocked'
fixincl.o:/usr/include/bits/stdio.h:73: first defined here
server.o: In function `getc_unlocked':
/usr/include/bits/stdio.h:66: multiple definition of `getc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:66: first defined here
server.o: In function `fgetc_unlocked':
/usr/include/bits/stdio.h:56: multiple definition of `fgetc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:56: first defined here
server.o: In function `getchar':
/usr/include/bits/stdio.h:47: multiple definition of `getchar'
fixincl.o:/usr/include/bits/stdio.h:47: first defined here
server.o: In function `vprintf':
/usr/include/bits/stdio.h:39: multiple definition of `vprintf'
fixincl.o:/usr/include/bits/stdio.h:39: first defined here
procopen.o: In function `feof_unlocked':
/usr/include/bits/stdio.h:127: multiple definition of `feof_unlocked'
fixincl.o:/usr/include/bits/stdio.h:127: first defined here
procopen.o: In function `ferror_unlocked':
/usr/include/bits/stdio.h:134: multiple definition of `ferror_unlocked'
fixincl.o:/usr/include/bits/stdio.h:134: first defined here
procopen.o: In function `putchar_unlocked':
/usr/include/bits/stdio.h:108: multiple definition of `putchar_unlocked'
fixincl.o:/usr/include/bits/stdio.h:108: first defined here
procopen.o: In function `putc_unlocked':
/usr/include/bits/stdio.h:101: multiple definition of `putc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:101: first defined here
procopen.o: In function `fputc_unlocked':
/usr/include/bits/stdio.h:91: multiple definition of `fputc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:91: first defined here
procopen.o: In function `putchar':
/usr/include/bits/stdio.h:82: multiple definition of `putchar'
fixincl.o:/usr/include/bits/stdio.h:82: first defined here
procopen.o: In function `getchar_unlocked':
/usr/include/bits/stdio.h:73: multiple definition of `getchar_unlocked'
fixincl.o:/usr/include/bits/stdio.h:73: first defined here
procopen.o: In function `getc_unlocked':
/usr/include/bits/stdio.h:66: multiple definition of `getc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:66: first defined here
procopen.o: In function `fgetc_unlocked':
/usr/include/bits/stdio.h:56: multiple definition of `fgetc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:56: first defined here
procopen.o: In function `getchar':
/usr/include/bits/stdio.h:47: multiple definition of `getchar'
fixincl.o:/usr/include/bits/stdio.h:47: first defined here
procopen.o: In function `vprintf':
/usr/include/bits/stdio.h:39: multiple definition of `vprintf'
fixincl.o:/usr/include/bits/stdio.h:39: first defined here
fixlib.o: In function `feof_unlocked':
/usr/include/bits/stdio.h:127: multiple definition of `feof_unlocked'
fixincl.o:/usr/include/bits/stdio.h:127: first defined here
fixlib.o: In function `ferror_unlocked':
/usr/include/bits/stdio.h:134: multiple definition of `ferror_unlocked'
fixincl.o:/usr/include/bits/stdio.h:134: first defined here
fixlib.o: In function `putchar_unlocked':
/usr/include/bits/stdio.h:108: multiple definition of `putchar_unlocked'
fixincl.o:/usr/include/bits/stdio.h:108: first defined here
fixlib.o: In function `putc_unlocked':
/usr/include/bits/stdio.h:101: multiple definition of `putc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:101: first defined here
fixlib.o: In function `fputc_unlocked':
/usr/include/bits/stdio.h:91: multiple definition of `fputc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:91: first defined here
fixlib.o: In function `putchar':
/usr/include/bits/stdio.h:82: multiple definition of `putchar'
fixincl.o:/usr/include/bits/stdio.h:82: first defined here
fixlib.o: In function `getchar_unlocked':
/usr/include/bits/stdio.h:73: multiple definition of `getchar_unlocked'
fixincl.o:/usr/include/bits/stdio.h:73: first defined here
fixlib.o: In function `getc_unlocked':
/usr/include/bits/stdio.h:66: multiple definition of `getc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:66: first defined here
fixlib.o: In function `fgetc_unlocked':
/usr/include/bits/stdio.h:56: multiple definition of `fgetc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:56: first defined here
fixlib.o: In function `getchar':
/usr/include/bits/stdio.h:47: multiple definition of `getchar'
fixincl.o:/usr/include/bits/stdio.h:47: first defined here
fixlib.o: In function `vprintf':
/usr/include/bits/stdio.h:39: multiple definition of `vprintf'
fixincl.o:/usr/include/bits/stdio.h:39: first defined here
fixopts.o: In function `feof_unlocked':
/usr/include/bits/stdio.h:127: multiple definition of `feof_unlocked'
fixincl.o:/usr/include/bits/stdio.h:127: first defined here
fixopts.o: In function `ferror_unlocked':
/usr/include/bits/stdio.h:134: multiple definition of `ferror_unlocked'
fixincl.o:/usr/include/bits/stdio.h:134: first defined here
fixopts.o: In function `putchar_unlocked':
/usr/include/bits/stdio.h:108: multiple definition of `putchar_unlocked'
fixincl.o:/usr/include/bits/stdio.h:108: first defined here
fixopts.o: In function `putc_unlocked':
/usr/include/bits/stdio.h:101: multiple definition of `putc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:101: first defined here
fixopts.o: In function `fputc_unlocked':
/usr/include/bits/stdio.h:91: multiple definition of `fputc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:91: first defined here
fixopts.o: In function `putchar':
/usr/include/bits/stdio.h:82: multiple definition of `putchar'
fixincl.o:/usr/include/bits/stdio.h:82: first defined here
fixopts.o: In function `getchar_unlocked':
/usr/include/bits/stdio.h:73: multiple definition of `getchar_unlocked'
fixincl.o:/usr/include/bits/stdio.h:73: first defined here
fixopts.o: In function `getc_unlocked':
/usr/include/bits/stdio.h:66: multiple definition of `getc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:66: first defined here
fixopts.o: In function `fgetc_unlocked':
/usr/include/bits/stdio.h:56: multiple definition of `fgetc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:56: first defined here
fixopts.o: In function `getchar':
/usr/include/bits/stdio.h:47: multiple definition of `getchar'
fixincl.o:/usr/include/bits/stdio.h:47: first defined here
fixopts.o: In function `vprintf':
/usr/include/bits/stdio.h:39: multiple definition of `vprintf'
fixincl.o:/usr/include/bits/stdio.h:39: first defined here
../libiberty/libiberty.a(fopen_unlocked.o): In function `feof_unlocked':
/usr/include/bits/stdio.h:127: multiple definition of `feof_unlocked'
fixincl.o:/usr/include/bits/stdio.h:127: first defined here
../libiberty/libiberty.a(fopen_unlocked.o): In function `ferror_unlocked':
/usr/include/bits/stdio.h:134: multiple definition of `ferror_unlocked'
fixincl.o:/usr/include/bits/stdio.h:134: first defined here
../libiberty/libiberty.a(fopen_unlocked.o): In function `putchar_unlocked':
/usr/include/bits/stdio.h:108: multiple definition of `putchar_unlocked'
fixincl.o:/usr/include/bits/stdio.h:108: first defined here
../libiberty/libiberty.a(fopen_unlocked.o): In function `putc_unlocked':
/usr/include/bits/stdio.h:101: multiple definition of `putc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:101: first defined here
../libiberty/libiberty.a(fopen_unlocked.o): In function `fputc_unlocked':
/usr/include/bits/stdio.h:91: multiple definition of `fputc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:91: first defined here
../libiberty/libiberty.a(fopen_unlocked.o): In function `putchar':
/usr/include/bits/stdio.h:82: multiple definition of `putchar'
fixincl.o:/usr/include/bits/stdio.h:82: first defined here
../libiberty/libiberty.a(fopen_unlocked.o): In function `getchar_unlocked':
/usr/include/bits/stdio.h:73: multiple definition of `getchar_unlocked'
fixincl.o:/usr/include/bits/stdio.h:73: first defined here
../libiberty/libiberty.a(fopen_unlocked.o): In function `getc_unlocked':
/usr/include/bits/stdio.h:66: multiple definition of `getc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:66: first defined here
../libiberty/libiberty.a(fopen_unlocked.o): In function `fgetc_unlocked':
/usr/include/bits/stdio.h:56: multiple definition of `fgetc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:56: first defined here
../libiberty/libiberty.a(fopen_unlocked.o): In function `getchar':
/usr/include/bits/stdio.h:47: multiple definition of `getchar'
fixincl.o:/usr/include/bits/stdio.h:47: first defined here
../libiberty/libiberty.a(fopen_unlocked.o): In function `vprintf':
/usr/include/bits/stdio.h:39: multiple definition of `vprintf'
fixincl.o:/usr/include/bits/stdio.h:39: first defined here
../libiberty/libiberty.a(safe-ctype.o): In function `feof_unlocked':
/usr/include/bits/stdio.h:127: multiple definition of `feof_unlocked'
fixincl.o:/usr/include/bits/stdio.h:127: first defined here
../libiberty/libiberty.a(safe-ctype.o): In function `ferror_unlocked':
/usr/include/bits/stdio.h:134: multiple definition of `ferror_unlocked'
fixincl.o:/usr/include/bits/stdio.h:134: first defined here
../libiberty/libiberty.a(safe-ctype.o): In function `putchar_unlocked':
/usr/include/bits/stdio.h:108: multiple definition of `putchar_unlocked'
fixincl.o:/usr/include/bits/stdio.h:108: first defined here
../libiberty/libiberty.a(safe-ctype.o): In function `putc_unlocked':
/usr/include/bits/stdio.h:101: multiple definition of `putc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:101: first defined here
../libiberty/libiberty.a(safe-ctype.o): In function `fputc_unlocked':
/usr/include/bits/stdio.h:91: multiple definition of `fputc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:91: first defined here
../libiberty/libiberty.a(safe-ctype.o): In function `putchar':
/usr/include/bits/stdio.h:82: multiple definition of `putchar'
fixincl.o:/usr/include/bits/stdio.h:82: first defined here
../libiberty/libiberty.a(safe-ctype.o): In function `getchar_unlocked':
/usr/include/bits/stdio.h:73: multiple definition of `getchar_unlocked'
fixincl.o:/usr/include/bits/stdio.h:73: first defined here
../libiberty/libiberty.a(safe-ctype.o): In function `getc_unlocked':
/usr/include/bits/stdio.h:66: multiple definition of `getc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:66: first defined here
../libiberty/libiberty.a(safe-ctype.o): In function `fgetc_unlocked':
/usr/include/bits/stdio.h:56: multiple definition of `fgetc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:56: first defined here
../libiberty/libiberty.a(safe-ctype.o): In function `getchar':
/usr/include/bits/stdio.h:47: multiple definition of `getchar'
fixincl.o:/usr/include/bits/stdio.h:47: first defined here
../libiberty/libiberty.a(safe-ctype.o): In function `vprintf':
/usr/include/bits/stdio.h:39: multiple definition of `vprintf'
fixincl.o:/usr/include/bits/stdio.h:39: first defined here
../libiberty/libiberty.a(xmalloc.o): In function `feof_unlocked':
/usr/include/bits/stdio.h:127: multiple definition of `feof_unlocked'
fixincl.o:/usr/include/bits/stdio.h:127: first defined here
../libiberty/libiberty.a(xmalloc.o): In function `ferror_unlocked':
/usr/include/bits/stdio.h:134: multiple definition of `ferror_unlocked'
fixincl.o:/usr/include/bits/stdio.h:134: first defined here
../libiberty/libiberty.a(xmalloc.o): In function `putchar_unlocked':
/usr/include/bits/stdio.h:108: multiple definition of `putchar_unlocked'
fixincl.o:/usr/include/bits/stdio.h:108: first defined here
../libiberty/libiberty.a(xmalloc.o): In function `putc_unlocked':
/usr/include/bits/stdio.h:101: multiple definition of `putc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:101: first defined here
../libiberty/libiberty.a(xmalloc.o): In function `fputc_unlocked':
/usr/include/bits/stdio.h:91: multiple definition of `fputc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:91: first defined here
../libiberty/libiberty.a(xmalloc.o): In function `putchar':
/usr/include/bits/stdio.h:82: multiple definition of `putchar'
fixincl.o:/usr/include/bits/stdio.h:82: first defined here
../libiberty/libiberty.a(xmalloc.o): In function `getchar_unlocked':
/usr/include/bits/stdio.h:73: multiple definition of `getchar_unlocked'
fixincl.o:/usr/include/bits/stdio.h:73: first defined here
../libiberty/libiberty.a(xmalloc.o): In function `getc_unlocked':
/usr/include/bits/stdio.h:66: multiple definition of `getc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:66: first defined here
../libiberty/libiberty.a(xmalloc.o): In function `fgetc_unlocked':
/usr/include/bits/stdio.h:56: multiple definition of `fgetc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:56: first defined here
../libiberty/libiberty.a(xmalloc.o): In function `getchar':
/usr/include/bits/stdio.h:47: multiple definition of `getchar'
fixincl.o:/usr/include/bits/stdio.h:47: first defined here
../libiberty/libiberty.a(xmalloc.o): In function `vprintf':
/usr/include/bits/stdio.h:39: multiple definition of `vprintf'
fixincl.o:/usr/include/bits/stdio.h:39: first defined here
../libiberty/libiberty.a(xstrdup.o): In function `feof_unlocked':
/usr/include/bits/stdio.h:127: multiple definition of `feof_unlocked'
fixincl.o:/usr/include/bits/stdio.h:127: first defined here
../libiberty/libiberty.a(xstrdup.o): In function `ferror_unlocked':
/usr/include/bits/stdio.h:134: multiple definition of `ferror_unlocked'
fixincl.o:/usr/include/bits/stdio.h:134: first defined here
../libiberty/libiberty.a(xstrdup.o): In function `putchar_unlocked':
/usr/include/bits/stdio.h:108: multiple definition of `putchar_unlocked'
fixincl.o:/usr/include/bits/stdio.h:108: first defined here
../libiberty/libiberty.a(xstrdup.o): In function `putc_unlocked':
/usr/include/bits/stdio.h:101: multiple definition of `putc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:101: first defined here
../libiberty/libiberty.a(xstrdup.o): In function `fputc_unlocked':
/usr/include/bits/stdio.h:91: multiple definition of `fputc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:91: first defined here
../libiberty/libiberty.a(xstrdup.o): In function `putchar':
/usr/include/bits/stdio.h:82: multiple definition of `putchar'
fixincl.o:/usr/include/bits/stdio.h:82: first defined here
../libiberty/libiberty.a(xstrdup.o): In function `getchar_unlocked':
/usr/include/bits/stdio.h:73: multiple definition of `getchar_unlocked'
fixincl.o:/usr/include/bits/stdio.h:73: first defined here
../libiberty/libiberty.a(xstrdup.o): In function `getc_unlocked':
/usr/include/bits/stdio.h:66: multiple definition of `getc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:66: first defined here
../libiberty/libiberty.a(xstrdup.o): In function `fgetc_unlocked':
/usr/include/bits/stdio.h:56: multiple definition of `fgetc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:56: first defined here
../libiberty/libiberty.a(xstrdup.o): In function `getchar':
/usr/include/bits/stdio.h:47: multiple definition of `getchar'
fixincl.o:/usr/include/bits/stdio.h:47: first defined here
../libiberty/libiberty.a(xstrdup.o): In function `vprintf':
/usr/include/bits/stdio.h:39: multiple definition of `vprintf'
fixincl.o:/usr/include/bits/stdio.h:39: first defined here
../libiberty/libiberty.a(xstrerror.o): In function `feof_unlocked':
/usr/include/bits/stdio.h:127: multiple definition of `feof_unlocked'
fixincl.o:/usr/include/bits/stdio.h:127: first defined here
../libiberty/libiberty.a(xstrerror.o): In function `ferror_unlocked':
/usr/include/bits/stdio.h:134: multiple definition of `ferror_unlocked'
fixincl.o:/usr/include/bits/stdio.h:134: first defined here
../libiberty/libiberty.a(xstrerror.o): In function `putchar_unlocked':
/usr/include/bits/stdio.h:108: multiple definition of `putchar_unlocked'
fixincl.o:/usr/include/bits/stdio.h:108: first defined here
../libiberty/libiberty.a(xstrerror.o): In function `putc_unlocked':
/usr/include/bits/stdio.h:101: multiple definition of `putc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:101: first defined here
../libiberty/libiberty.a(xstrerror.o): In function `fputc_unlocked':
/usr/include/bits/stdio.h:91: multiple definition of `fputc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:91: first defined here
../libiberty/libiberty.a(xstrerror.o): In function `putchar':
/usr/include/bits/stdio.h:82: multiple definition of `putchar'
fixincl.o:/usr/include/bits/stdio.h:82: first defined here
../libiberty/libiberty.a(xstrerror.o): In function `getchar_unlocked':
/usr/include/bits/stdio.h:73: multiple definition of `getchar_unlocked'
fixincl.o:/usr/include/bits/stdio.h:73: first defined here
../libiberty/libiberty.a(xstrerror.o): In function `getc_unlocked':
/usr/include/bits/stdio.h:66: multiple definition of `getc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:66: first defined here
../libiberty/libiberty.a(xstrerror.o): In function `fgetc_unlocked':
/usr/include/bits/stdio.h:56: multiple definition of `fgetc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:56: first defined here
../libiberty/libiberty.a(xstrerror.o): In function `getchar':
/usr/include/bits/stdio.h:47: multiple definition of `getchar'
fixincl.o:/usr/include/bits/stdio.h:47: first defined here
../libiberty/libiberty.a(xstrerror.o): In function `vprintf':
/usr/include/bits/stdio.h:39: multiple definition of `vprintf'
fixincl.o:/usr/include/bits/stdio.h:39: first defined here
../libiberty/libiberty.a(xexit.o): In function `feof_unlocked':
/usr/include/bits/stdio.h:127: multiple definition of `feof_unlocked'
fixincl.o:/usr/include/bits/stdio.h:127: first defined here
../libiberty/libiberty.a(xexit.o): In function `ferror_unlocked':
/usr/include/bits/stdio.h:134: multiple definition of `ferror_unlocked'
fixincl.o:/usr/include/bits/stdio.h:134: first defined here
../libiberty/libiberty.a(xexit.o): In function `putchar_unlocked':
/usr/include/bits/stdio.h:108: multiple definition of `putchar_unlocked'
fixincl.o:/usr/include/bits/stdio.h:108: first defined here
../libiberty/libiberty.a(xexit.o): In function `putc_unlocked':
/usr/include/bits/stdio.h:101: multiple definition of `putc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:101: first defined here
../libiberty/libiberty.a(xexit.o): In function `fputc_unlocked':
/usr/include/bits/stdio.h:91: multiple definition of `fputc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:91: first defined here
../libiberty/libiberty.a(xexit.o): In function `putchar':
/usr/include/bits/stdio.h:82: multiple definition of `putchar'
fixincl.o:/usr/include/bits/stdio.h:82: first defined here
../libiberty/libiberty.a(xexit.o): In function `getchar_unlocked':
/usr/include/bits/stdio.h:73: multiple definition of `getchar_unlocked'
fixincl.o:/usr/include/bits/stdio.h:73: first defined here
../libiberty/libiberty.a(xexit.o): In function `getc_unlocked':
/usr/include/bits/stdio.h:66: multiple definition of `getc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:66: first defined here
../libiberty/libiberty.a(xexit.o): In function `fgetc_unlocked':
/usr/include/bits/stdio.h:56: multiple definition of `fgetc_unlocked'
fixincl.o:/usr/include/bits/stdio.h:56: first defined here
../libiberty/libiberty.a(xexit.o): In function `getchar':
/usr/include/bits/stdio.h:47: multiple definition of `getchar'
fixincl.o:/usr/include/bits/stdio.h:47: first defined here
../libiberty/libiberty.a(xexit.o): In function `vprintf':
/usr/include/bits/stdio.h:39: multiple definition of `vprintf'
fixincl.o:/usr/include/bits/stdio.h:39: first defined here
collect2: ld returned 1 exit status
make[3]: *** [full-stamp] Error 1
make[3]: Leaving directory `/usr/local/gcc-4.3.0-objdir/build-x86_64-unknown-linux-gnu/fixincludes'
make[2]: *** [all-build-fixincludes] Error 2
make[2]: Leaving directory `/usr/local/gcc-4.3.0-objdir'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/usr/local/gcc-4.3.0-objdir'
make: *** [all] Error 2
Comment 5 Andrew Pinski 2008-05-28 04:46:38 UTC
>gcc -g -O2  -o fixincl fixincl.o fixtests.o fixfixes.o server.o procopen.o
> fixlib.o fixopts.o ../libiberty/libiberty.a

What version of gcc do you have?
Can you do "gcc -v"?  This has to be a bug with glibc.
Comment 6 Patrick Horgan 2008-05-28 04:54:03 UTC
Subject: Re:  gcc-4.3.0 build fails with multiple definitions

pinskia at gcc dot gnu dot org wrote:
> What version of gcc do you have?
> Can you do "gcc -v"?  This has to be a bug with glibc.
>   
Using built-in specs.
Target: x86_64-unknown-linux-gnu
Configured with: ../gcc-4.2.1/configure --enable-languages=c,c++ 
--prefix=/usr/local/share/gcc-4.2.1
Thread model: posix
gcc version 4.2.1

Comment 7 Patrick Horgan 2008-06-13 21:54:14 UTC
I don't know what changed, but on the same machine with the same circumstances the build completes successfully now.  I can only think that something in the environment changed as a result of updates on the machine, although the version of gcc that builds it now is the same as the one that didn't build it before?:(

Patricik