public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libfortran/29867] New: building libgfortran fails because of multiple definitions gcc-4.3-20061111
@ 2006-11-16 8:51 Jean-pierre dot vial at wanadoo dot fr
2006-11-16 11:50 ` [Bug libfortran/29867] " rguenth at gcc dot gnu dot org
` (19 more replies)
0 siblings, 20 replies; 21+ messages in thread
From: Jean-pierre dot vial at wanadoo dot fr @ 2006-11-16 8:51 UTC (permalink / raw)
To: gcc-bugs
linking libgfortran fails becaus of multiple definitions.
Here are le last lines of error messages. there are several hundred such lines
/usr/include/stdlib.h:342: multiple definition of `strtoul'
.libs/environ.o:/usr/include/stdlib.h:342: first defined here
.libs/in_unpack_generic.o: In function `strtol':
/usr/include/stdlib.h:336: multiple definition of `strtol'
.libs/environ.o:/usr/include/stdlib.h:336: first defined here
.libs/in_unpack_generic.o: In function `strtod':
/usr/include/stdlib.h:330: multiple definition of `strtod'
.libs/environ.o:/usr/include/stdlib.h:330: first defined here
.libs/in_unpack_generic.o: In function `atoi':
/usr/include/stdlib.h:403: multiple definition of `atoi'
.libs/environ.o:/usr/include/stdlib.h:403: first defined here
.libs/in_unpack_generic.o: In function `strtol':
/usr/include/stdlib.h:336: multiple definition of `atol'
.libs/environ.o:/usr/include/stdlib.h:336: first defined here
.libs/in_unpack_generic.o: In function `strtoll':
/usr/include/stdlib.h:384: multiple definition of `atoll'
.libs/environ.o:/usr/include/stdlib.h:384: first defined here
.libs/in_unpack_generic.o: In function `strtod':
/usr/include/stdlib.h:330: multiple definition of `atof'
.libs/environ.o:/usr/include/stdlib.h:330: first defined here
collect2: ld returned 1 exit status
make[3]: *** [libgfortran.la] Erreur 1
This problem did not exist in the previous edition of gcc-4.3
it is new in 20061111
--
Summary: building libgfortran fails because of multiple
definitions gcc-4.3-20061111
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libfortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: Jean-pierre dot vial at wanadoo dot fr
GCC build triplet: host-x86_64-unknown-linux-gnu
GCC host triplet: host-x86_64-unknown-linux-gnu
GCC target triplet: host-x86_64-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29867
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug libfortran/29867] building libgfortran fails because of multiple definitions gcc-4.3-20061111
2006-11-16 8:51 [Bug libfortran/29867] New: building libgfortran fails because of multiple definitions gcc-4.3-20061111 Jean-pierre dot vial at wanadoo dot fr
@ 2006-11-16 11:50 ` rguenth at gcc dot gnu dot org
2006-11-16 15:20 ` jpvial at nerim dot net
` (18 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2006-11-16 11:50 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from rguenth at gcc dot gnu dot org 2006-11-16 11:50 -------
This is because of the C99 inline changes and your glibc.
2006-11-07 Richard Guenther <rguenther@suse.de>
* inclhack.def (glibc_c99_inline_2): Adjust for glibc 2.3
systems.
* fixincl.x: Regenerate.
and
2006-11-02 Geoffrey Keating <geoffk@apple.com>
* inclhack.def (glibc_c99_inline_1): New.
* inclhack.def (glibc_c99_inline_2): New.
* inclhack.def (glibc_c99_inline_3): New.
* inclhack.def (glibc_c99_inline_4): New.
* fixincl.x: Regenerate.
* tests/base/bits/string2.h: New.
* tests/base/sys/sysmacros.h: New.
* tests/base/sys/stat.h: Update.
were supposed to fix it. Please provide your stdlib.h header and/or glibc
version.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |geoffk at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29867
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug libfortran/29867] building libgfortran fails because of multiple definitions gcc-4.3-20061111
2006-11-16 8:51 [Bug libfortran/29867] New: building libgfortran fails because of multiple definitions gcc-4.3-20061111 Jean-pierre dot vial at wanadoo dot fr
2006-11-16 11:50 ` [Bug libfortran/29867] " rguenth at gcc dot gnu dot org
@ 2006-11-16 15:20 ` jpvial at nerim dot net
2006-11-16 15:27 ` Jean-pierre dot vial at wanadoo dot fr
` (17 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: jpvial at nerim dot net @ 2006-11-16 15:20 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from jpvial at nerim dot net 2006-11-16 15:19 -------
Subject: Re: building libgfortran fails because of
multiple definitions gcc-4.3-20061111
rguenth at gcc dot gnu dot org wrote:
> ------- Comment #1 from rguenth at gcc dot gnu dot org 2006-11-16 11:50 -------
> This is because of the C99 inline changes and your glibc.
>
> 2006-11-07 Richard Guenther <rguenther@suse.de>
>
> * inclhack.def (glibc_c99_inline_2): Adjust for glibc 2.3
> systems.
> * fixincl.x: Regenerate.
>
> and
>
> 2006-11-02 Geoffrey Keating <geoffk@apple.com>
>
> * inclhack.def (glibc_c99_inline_1): New.
> * inclhack.def (glibc_c99_inline_2): New.
> * inclhack.def (glibc_c99_inline_3): New.
> * inclhack.def (glibc_c99_inline_4): New.
> * fixincl.x: Regenerate.
> * tests/base/bits/string2.h: New.
> * tests/base/sys/sysmacros.h: New.
> * tests/base/sys/stat.h: Update.
>
> were supposed to fix it. Please provide your stdlib.h header and/or glibc
> version.
>
>
here is /usr/include/stdlib.h and /usr/include/bits/stdlib.h (as tar.gz)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29867
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug libfortran/29867] building libgfortran fails because of multiple definitions gcc-4.3-20061111
2006-11-16 8:51 [Bug libfortran/29867] New: building libgfortran fails because of multiple definitions gcc-4.3-20061111 Jean-pierre dot vial at wanadoo dot fr
2006-11-16 11:50 ` [Bug libfortran/29867] " rguenth at gcc dot gnu dot org
2006-11-16 15:20 ` jpvial at nerim dot net
@ 2006-11-16 15:27 ` Jean-pierre dot vial at wanadoo dot fr
2006-11-16 15:36 ` Jean-pierre dot vial at wanadoo dot fr
` (16 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: Jean-pierre dot vial at wanadoo dot fr @ 2006-11-16 15:27 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from Jean-pierre dot vial at wanadoo dot fr 2006-11-16 15:27 -------
Created an attachment (id=12631)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12631&action=view)
stdlib.h and bits/stdlib.h Linux Suse 10.1 amd64
from linux Suse/Novell 10.1, amd64 version
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29867
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug libfortran/29867] building libgfortran fails because of multiple definitions gcc-4.3-20061111
2006-11-16 8:51 [Bug libfortran/29867] New: building libgfortran fails because of multiple definitions gcc-4.3-20061111 Jean-pierre dot vial at wanadoo dot fr
` (2 preceding siblings ...)
2006-11-16 15:27 ` Jean-pierre dot vial at wanadoo dot fr
@ 2006-11-16 15:36 ` Jean-pierre dot vial at wanadoo dot fr
2006-11-16 16:24 ` [Bug libfortran/29867] [4.3 Regression] " pinskia at gcc dot gnu dot org
` (15 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: Jean-pierre dot vial at wanadoo dot fr @ 2006-11-16 15:36 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from Jean-pierre dot vial at wanadoo dot fr 2006-11-16 15:36 -------
(In reply to comment #1)
> This is because of the C99 inline changes and your glibc.
>
>
> Please provide your stdlib.h header and/or glibc
> version.
>
glibc-2.4-31.1
(Suse/Novell 10.1, x86_64)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29867
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug libfortran/29867] [4.3 Regression] building libgfortran fails because of multiple definitions gcc-4.3-20061111
2006-11-16 8:51 [Bug libfortran/29867] New: building libgfortran fails because of multiple definitions gcc-4.3-20061111 Jean-pierre dot vial at wanadoo dot fr
` (3 preceding siblings ...)
2006-11-16 15:36 ` Jean-pierre dot vial at wanadoo dot fr
@ 2006-11-16 16:24 ` pinskia at gcc dot gnu dot org
2006-11-20 9:34 ` [Bug target/29867] " eesrjhc at bath dot ac dot uk
` (14 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-11-16 16:24 UTC (permalink / raw)
To: gcc-bugs
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu dot
| |org
Severity|normal |blocker
GCC build triplet|host-x86_64-unknown-linux- |x86_64-unknown-linux-gnu
|gnu |
GCC host triplet|host-x86_64-unknown-linux- |x86_64-unknown-linux-gnu
|gnu |
GCC target triplet|host-x86_64-unknown-linux- |x86_64-unknown-linux-gnu
|gnu |
Keywords| |build
Summary|building libgfortran fails |[4.3 Regression] building
|because of multiple |libgfortran fails because of
|definitions gcc-4.3-20061111|multiple definitions gcc-
| |4.3-20061111
Target Milestone|--- |4.3.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29867
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug target/29867] [4.3 Regression] building libgfortran fails because of multiple definitions gcc-4.3-20061111
2006-11-16 8:51 [Bug libfortran/29867] New: building libgfortran fails because of multiple definitions gcc-4.3-20061111 Jean-pierre dot vial at wanadoo dot fr
` (4 preceding siblings ...)
2006-11-16 16:24 ` [Bug libfortran/29867] [4.3 Regression] " pinskia at gcc dot gnu dot org
@ 2006-11-20 9:34 ` eesrjhc at bath dot ac dot uk
2006-11-21 17:30 ` Jean-pierre dot vial at wanadoo dot fr
` (13 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: eesrjhc at bath dot ac dot uk @ 2006-11-20 9:34 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from eesrjhc at bath dot ac dot uk 2006-11-20 09:34 -------
I see this too on Gentoo Linux x86_64. The libraries on my system are identical
to those posted.
roger@hertz ~ $ uname -a
Linux hertz 2.6.17-gentoo-r4 #1 SMP Thu Aug 24 16:20:25 BST 2006 x86_64 AMD
Opteron(tm) Processor 844 GNU/Linux
roger@hertz ~ $ /lib/libc.so.6
GNU C Library development release version 2.4, by Roland McGrath et al.
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 3.4.6 (Gentoo 3.4.6-r1, ssp-3.4.5-1.0, pie-8.7.9).
Compiled on a Linux 2.6.11 system on 2006-10-13.
Available extensions:
The C stubs add-on version 2.1.2.
crypt add-on version 2.1 by Michael Glad and others
GNU Libidn by Simon Josefsson
GNU libio by Per Bothner
NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
Native POSIX Threads Library by Ulrich Drepper et al
Support for some architectures added on, not maintained in glibc core.
BIND-8.2.3-T5B
Thread-local storage support included.
For bug reporting instructions, please see:
<http://www.gnu.org/software/libc/bugs.html>.
On i686 with the same glibc version, this problem does not exist.
If you need help with testing patches on x86_64, let me know.
--
eesrjhc at bath dot ac dot uk changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |eesrjhc at bath dot ac dot
| |uk
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29867
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug target/29867] [4.3 Regression] building libgfortran fails because of multiple definitions gcc-4.3-20061111
2006-11-16 8:51 [Bug libfortran/29867] New: building libgfortran fails because of multiple definitions gcc-4.3-20061111 Jean-pierre dot vial at wanadoo dot fr
` (5 preceding siblings ...)
2006-11-20 9:34 ` [Bug target/29867] " eesrjhc at bath dot ac dot uk
@ 2006-11-21 17:30 ` Jean-pierre dot vial at wanadoo dot fr
2006-12-01 11:42 ` dfranke at gcc dot gnu dot org
` (12 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: Jean-pierre dot vial at wanadoo dot fr @ 2006-11-21 17:30 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from Jean-pierre dot vial at wanadoo dot fr 2006-11-21 17:30 -------
Created an attachment (id=12664)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12664&action=view)
all include files with conflicts in libgfortran for x86_64 (amd64) linux
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29867
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug target/29867] [4.3 Regression] building libgfortran fails because of multiple definitions gcc-4.3-20061111
2006-11-16 8:51 [Bug libfortran/29867] New: building libgfortran fails because of multiple definitions gcc-4.3-20061111 Jean-pierre dot vial at wanadoo dot fr
` (6 preceding siblings ...)
2006-11-21 17:30 ` Jean-pierre dot vial at wanadoo dot fr
@ 2006-12-01 11:42 ` dfranke at gcc dot gnu dot org
2006-12-03 4:55 ` ron3763 at msn dot com
` (11 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: dfranke at gcc dot gnu dot org @ 2006-12-01 11:42 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from dfranke at gcc dot gnu dot org 2006-12-01 11:41 -------
*** Bug 30008 has been marked as a duplicate of this bug. ***
--
dfranke at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |franke dot daniel at gmail
| |dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29867
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug target/29867] [4.3 Regression] building libgfortran fails because of multiple definitions gcc-4.3-20061111
2006-11-16 8:51 [Bug libfortran/29867] New: building libgfortran fails because of multiple definitions gcc-4.3-20061111 Jean-pierre dot vial at wanadoo dot fr
` (7 preceding siblings ...)
2006-12-01 11:42 ` dfranke at gcc dot gnu dot org
@ 2006-12-03 4:55 ` ron3763 at msn dot com
2006-12-03 4:58 ` ron3763 at msn dot com
` (10 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: ron3763 at msn dot com @ 2006-12-03 4:55 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from ron3763 at msn dot com 2006-12-03 04:55 -------
I am using gcc-4.3 1202, also 2.17.x headers. glibc 2.5
I get this on a few programs didn't build with emerge -e system (gentoo distro)
amd64(core2) and multilib environment.
sys-libs/timezone-data-2006p, this *** did *** when using "-fno-inline", also
looking over the build like, --std=c99 was used.
sys-apps/coreutils-6.6 "-fno-inline" NOT work here, cmdline uses 'gnu99' using
-std=gnu89 it compiles, config scripts still see things at c99 compliant, don't
know what problems that may cause, just talking here about them compiling.
net-misc/rsync-2.6.9 uses -std=gnu99, if I override that with -std=gnu89 it
compiles.
net-misc/openssh-4.5_p1 using --std=c89 not help here as I think the build is
pulling in a another lib (randlib) not compiled the same? <insert guess here>
=========
>From looking over the stdlib.h
Seems its uses __USE_ISOC99 define. there is two name spaces used.
__[BEGIN|END] NAMESPACE_STD and __[BEGIN|END]_NAMESPACE_C99
Could these both defined and thus pulling in multiple definitions? what about
amd64/x86 headers at the same time?
I am proposing idea from ignorance, to hopefully a 'dumb' questions triggers
thought.
Thank you.
-Ron
--
ron3763 at msn dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ron3763 at msn dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29867
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug target/29867] [4.3 Regression] building libgfortran fails because of multiple definitions gcc-4.3-20061111
2006-11-16 8:51 [Bug libfortran/29867] New: building libgfortran fails because of multiple definitions gcc-4.3-20061111 Jean-pierre dot vial at wanadoo dot fr
` (8 preceding siblings ...)
2006-12-03 4:55 ` ron3763 at msn dot com
@ 2006-12-03 4:58 ` ron3763 at msn dot com
2006-12-07 15:11 ` dfranke at gcc dot gnu dot org
` (9 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: ron3763 at msn dot com @ 2006-12-03 4:58 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from ron3763 at msn dot com 2006-12-03 04:58 -------
I am using gcc-4.3 1202, also 2.17.x headers. glibc 2.5
I get this on a few programs didn't build with emerge -e system (gentoo distro)
amd64(core2) and multilib environment.
sys-libs/timezone-data-2006p, this *** did *** when using "-fno-inline", also
looking over the build like, --std=c99 was used.
sys-apps/coreutils-6.6 "-fno-inline" NOT work here, cmdline uses 'gnu99' using
-std=gnu89 it compiles, config scripts still see things at c99 compliant, don't
know what problems that may cause, just talking here about them compiling.
net-misc/rsync-2.6.9 uses -std=gnu99, if I override that with -std=gnu89 it
compiles.
net-misc/openssh-4.5_p1 using --std=c89 not help here as I think the build is
pulling in a another lib (randlib) not compiled the same? <insert guess here>
=========
>From looking over the stdlib.h
Seems its uses __USE_ISOC99 define. there is two name spaces used.
__[BEGIN|END] NAMESPACE_STD and __[BEGIN|END]_NAMESPACE_C99
Could these both defined and thus pulling in multiple definitions? what about
amd64/x86 headers at the same time?
I am proposing idea from ignorance, to hopefully a 'dumb' questions triggers
thought.
Thank you.
-Ron
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29867
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug target/29867] [4.3 Regression] building libgfortran fails because of multiple definitions gcc-4.3-20061111
2006-11-16 8:51 [Bug libfortran/29867] New: building libgfortran fails because of multiple definitions gcc-4.3-20061111 Jean-pierre dot vial at wanadoo dot fr
` (9 preceding siblings ...)
2006-12-03 4:58 ` ron3763 at msn dot com
@ 2006-12-07 15:11 ` dfranke at gcc dot gnu dot org
2006-12-14 21:41 ` dfranke at gcc dot gnu dot org
` (8 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: dfranke at gcc dot gnu dot org @ 2006-12-07 15:11 UTC (permalink / raw)
To: gcc-bugs
------- Comment #10 from dfranke at gcc dot gnu dot org 2006-12-07 15:11 -------
Here on debian, the last revision that successfully bootstrapped was r118355
(glibc-2.3.2, kernel-2.6.15.7).
Anything else I can do?
--
dfranke at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2006-12-07 15:11:20
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29867
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug target/29867] [4.3 Regression] building libgfortran fails because of multiple definitions gcc-4.3-20061111
2006-11-16 8:51 [Bug libfortran/29867] New: building libgfortran fails because of multiple definitions gcc-4.3-20061111 Jean-pierre dot vial at wanadoo dot fr
` (10 preceding siblings ...)
2006-12-07 15:11 ` dfranke at gcc dot gnu dot org
@ 2006-12-14 21:41 ` dfranke at gcc dot gnu dot org
2006-12-20 23:01 ` dfranke at gcc dot gnu dot org
` (7 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: dfranke at gcc dot gnu dot org @ 2006-12-14 21:41 UTC (permalink / raw)
To: gcc-bugs
------- Comment #11 from dfranke at gcc dot gnu dot org 2006-12-14 21:41 -------
In reply to comment #1:
Hack "glibc_c99_inline_2" was meant to fix sys/stat.h: but while I have a fixed
$(top_builddir)/gcc/include/sys/stat.h on i686, there is no such file on
x86_64.
These commands where run on x86_64:
$> find /usr -name stat.h
/usr/include/asm/stat.h
/usr/include/sys/stat.h <----
/usr/include/bits/stat.h
/usr/include/linux/stat.h
/usr/include/i386-linux/asm/stat.h
/usr/include/x86_64-linux/sys/stat.h <----
/usr/include/x86_64-linux/bits/stat.h
/usr/include/i486-linux/sys/stat.h
/usr/include/i486-linux/bits/stat.h
$> grep "extern __inline__ int" /usr/include/sys/stat.h
[no output]
$> grep "extern __inline__ int" /usr/include/x86_64-linux/sys/stat.h
extern __inline__ int stat (__const char *__path,
[6 more lines snipped]
("extern __inline__ int" is the SELECT statement in fix glibc_c99_inline_2)
For me, compilation bails out because of header files included from
/usr/include/x86_64-linux/.
Below, a verbose log of `make stmp-fixinc` (pwd=$(top_builddir)/gcc):
$> rm -rf include/ stmp-fixinc
$> VERBOSE=9
$> make stmp-fixinc
rm -rf include; mkdir include
chmod a+rx include
if [ -d ../prev-gcc ]; then \
cd ../prev-gcc && \
make real-install-headers-tar DESTDIR=`pwd`/../gcc/ \
libsubdir=. ; \
else \
(TARGET_MACHINE='x86_64-pc-linux-gnu'; srcdir=`cd ../../../svn/gcc-head/gcc;
${PWDCMD-pwd}`; \
SHELL='/bin/sh'; MACRO_LIST=`${PWDCMD-pwd}`/macro_list ; \
export TARGET_MACHINE srcdir SHELL MACRO_LIST && \
cd ../build-x86_64-linux/fixincludes && \
/bin/sh ./fixinc.sh ../../gcc/include \
`echo /usr/include | sed -e :a -e "s,[^/]*/\.\.\/,," -e ta` ); \
rm -f include/syslimits.h; \
if [ -f include/limits.h ]; then \
mv include/limits.h include/syslimits.h; \
else \
cp ../../../svn/gcc-head/gcc/gsyslimits.h include/syslimits.h; \
fi; \
fi
Fixing headers into /data/home/daniel/svn-build/gcc-head/gcc/include for
x86_64-pc-linux-gnu target
Forbidden identifiers: linux unix
Finding directories and links to directories
Searching /usr/include/.
Searching /usr/include/./X11
Searching /usr/include/./mpi
Searching /usr/include/./i386-linux/linux
Searching /usr/include/./i386-linux/asm-generic
Making symbolic directory links
Fixing directory /usr/include into
/data/home/daniel/svn-build/gcc-head/gcc/include
Applying io_quotes_def to asm/apicdef.h
Applying io_quotes_use to asm/mtrr.h
Applying glibc_c99_inline_4 to sys/sysmacros.h
Applying glibc_c99_inline_3 to bits/string2.h
Applying io_quotes_use to linux/dn.h
Applying io_quotes_use to linux/fd.h
Applying io_quotes_use to linux/fs.h
Applying io_quotes_use to linux/raid/md_u.h
Applying io_quotes_use to linux/umsdos_fs.h
Applying io_quotes_use to linux/atmbr2684.h
Applying io_quotes_use to linux/nbd.h
Applying io_quotes_use to linux/raw.h
Applying io_quotes_use to linux/auto_fs4.h
Applying io_quotes_use to linux/i2o-dev.h
Applying io_quotes_use to linux/if_pppox.h
Applying io_quotes_def to linux/ppp-comp.h
Applying io_quotes_def to linux/completion.h
Applying io_quotes_def to linux/soundcard.h
Applying io_quotes_def to linux/netfilter_ipv4/ip_conntrack_tuple.h
Applying io_quotes_use to linux/ite_gpio.h
Applying io_quotes_use to linux/uinput.h
Applying io_quotes_def to linux/isapnp.h
Applying machine_name to linux/flat.h
Fixed: linux/flat.h
Applying io_quotes_use to linux/random.h
Applying io_quotes_use to linux/ipmi.h
Applying io_quotes_use to linux/jffs.h
Applying io_quotes_use to linux/dm-ioctl-v1.h
Applying io_quotes_use to linux/dm-ioctl-v4.h
Applying io_quotes_use to linux/agpgart.h
Applying io_quotes_use to linux/auto_fs.h
Applying io_quotes_use to linux/watchdog.h
Applying io_quotes_def to linux/reiserfs_fs.h
Applying io_quotes_use to linux/reiserfs_fs.h
Applying io_quotes_def to linux/modsetver.h
Applying io_quotes_use to linux/cciss_ioctl.h
Applying io_quotes_use to linux/blkpg.h
Applying io_quotes_use to linux/synclink.h
Applying machine_name to linux/a.out.h
Fixed: linux/a.out.h
Applying io_quotes_def to linux/version.h
Applying io_quotes_use to linux/input.h
Applying io_quotes_use to linux/ppdev.h
Applying io_quotes_use to linux/devfs_fs.h
Applying io_quotes_def to i386-linux/asm/apicdef.h
Applying io_quotes_use to i386-linux/asm/mtrr.h
Applying avoid_wchar_t_type to intel-icc64-8.1/stddef.h
Fixed: intel-icc64-8.1/stddef.h
Applying avoid_wchar_t_type to intel-icc64-9.0/stddef.h
Fixed: intel-icc64-9.0/stddef.h
Applying sun_malloc to malloc.h
Applying stdio_va_list_clients to curses.h
Applying stdio_stdarg_h to stdio.h
Applying stdio_va_list to stdio.h
Fixed: stdio.h
Applying avoid_wchar_t_type to intel-icc-9.0/stddef.h
Fixed: intel-icc-9.0/stddef.h
Applying io_quotes_use to x86_64-linux/sys/raw.h
Applying io_quotes_use to x86_64-linux/sys/mount.h
Applying ctrl_quotes_def to x86_64-linux/readline/chardefs.h
Applying io_quotes_use to i486-linux/sys/raw.h
Applying io_quotes_use to i486-linux/sys/mount.h
Applying stdio_va_list_clients to wchar.h
Applying io_quotes_use to valgrind/vki-linux.h
Applying sysv68_string to string.h
Fixing directory /usr/include/X11 into
/data/home/daniel/svn-build/gcc-head/gcc/include/root/usr/X11R6/include/X11
Fixing directory /usr/include/mpi into
/data/home/daniel/svn-build/gcc-head/gcc/include/root/etc/alternatives/mpi
Cleaning up unneeded directories:
fixincludes is done
chmod a+r include/syslimits.h
echo timestamp > stmp-fixinc
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29867
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug target/29867] [4.3 Regression] building libgfortran fails because of multiple definitions gcc-4.3-20061111
2006-11-16 8:51 [Bug libfortran/29867] New: building libgfortran fails because of multiple definitions gcc-4.3-20061111 Jean-pierre dot vial at wanadoo dot fr
` (11 preceding siblings ...)
2006-12-14 21:41 ` dfranke at gcc dot gnu dot org
@ 2006-12-20 23:01 ` dfranke at gcc dot gnu dot org
2006-12-21 9:10 ` eesrjhc at bath dot ac dot uk
` (6 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: dfranke at gcc dot gnu dot org @ 2006-12-20 23:01 UTC (permalink / raw)
To: gcc-bugs
------- Comment #12 from dfranke at gcc dot gnu dot org 2006-12-20 23:01 -------
Jean-Pierre, Roger,
could you please add the following files to your attachments of this PR (or
send them by private mail):
* /usr/include/features.h
* /usr/include/sys/stat.h
* /usr/include/bits/string2.h
* /usr/include/sys/sysmacros.h
If there are other instances of, say features.h (as shown in comment #11),
please add them as well. Please preserve the directory structure as you did
with the current attachments - thanks.
Daniel
--
dfranke at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |dfranke at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
Last reconfirmed|2006-12-07 15:11:20 |2006-12-20 23:01:03
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29867
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug target/29867] [4.3 Regression] building libgfortran fails because of multiple definitions gcc-4.3-20061111
2006-11-16 8:51 [Bug libfortran/29867] New: building libgfortran fails because of multiple definitions gcc-4.3-20061111 Jean-pierre dot vial at wanadoo dot fr
` (12 preceding siblings ...)
2006-12-20 23:01 ` dfranke at gcc dot gnu dot org
@ 2006-12-21 9:10 ` eesrjhc at bath dot ac dot uk
2006-12-21 21:01 ` Jean-pierre dot vial at wanadoo dot fr
` (5 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: eesrjhc at bath dot ac dot uk @ 2006-12-21 9:10 UTC (permalink / raw)
To: gcc-bugs
------- Comment #13 from eesrjhc at bath dot ac dot uk 2006-12-21 09:10 -------
Created an attachment (id=12830)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12830&action=view)
Includes as requested by Daniel
Various include files as requested by Daniel in comment number 12.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29867
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug target/29867] [4.3 Regression] building libgfortran fails because of multiple definitions gcc-4.3-20061111
2006-11-16 8:51 [Bug libfortran/29867] New: building libgfortran fails because of multiple definitions gcc-4.3-20061111 Jean-pierre dot vial at wanadoo dot fr
` (13 preceding siblings ...)
2006-12-21 9:10 ` eesrjhc at bath dot ac dot uk
@ 2006-12-21 21:01 ` Jean-pierre dot vial at wanadoo dot fr
2006-12-21 21:13 ` dfranke at gcc dot gnu dot org
` (4 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: Jean-pierre dot vial at wanadoo dot fr @ 2006-12-21 21:01 UTC (permalink / raw)
To: gcc-bugs
------- Comment #14 from Jean-pierre dot vial at wanadoo dot fr 2006-12-21 21:00 -------
Created an attachment (id=12832)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12832&action=view)
new conflicting includes
the requested files, plus /usr/include/bits/stdio.h
all variants existing in the system are included
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29867
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug target/29867] [4.3 Regression] building libgfortran fails because of multiple definitions gcc-4.3-20061111
2006-11-16 8:51 [Bug libfortran/29867] New: building libgfortran fails because of multiple definitions gcc-4.3-20061111 Jean-pierre dot vial at wanadoo dot fr
` (14 preceding siblings ...)
2006-12-21 21:01 ` Jean-pierre dot vial at wanadoo dot fr
@ 2006-12-21 21:13 ` dfranke at gcc dot gnu dot org
2006-12-22 19:20 ` Jean-pierre dot vial at wanadoo dot fr
` (3 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: dfranke at gcc dot gnu dot org @ 2006-12-21 21:13 UTC (permalink / raw)
To: gcc-bugs
------- Comment #15 from dfranke at gcc dot gnu dot org 2006-12-21 21:13 -------
Jean-Pierre, thanks for this.
While my conjecture [1] was correct for Roger's files, those you attached seem
to pose another problem. I will investigate further ...
[1] http://gcc.gnu.org/ml/gcc-patches/2006-12/msg01520.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29867
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug target/29867] [4.3 Regression] building libgfortran fails because of multiple definitions gcc-4.3-20061111
2006-11-16 8:51 [Bug libfortran/29867] New: building libgfortran fails because of multiple definitions gcc-4.3-20061111 Jean-pierre dot vial at wanadoo dot fr
` (15 preceding siblings ...)
2006-12-21 21:13 ` dfranke at gcc dot gnu dot org
@ 2006-12-22 19:20 ` Jean-pierre dot vial at wanadoo dot fr
2006-12-23 17:54 ` dfranke at gcc dot gnu dot org
` (2 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: Jean-pierre dot vial at wanadoo dot fr @ 2006-12-22 19:20 UTC (permalink / raw)
To: gcc-bugs
------- Comment #16 from Jean-pierre dot vial at wanadoo dot fr 2006-12-22 19:20 -------
Created an attachment (id=12836)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12836&action=view)
complet error message x86_64 suse linux 10.1
in case it may help, here is the list of
conflicting files (latest gcc-4.3: 20061216)
/usr/include/bits/mathinline.h
/usr/include/bits/sigset.h
/usr/include/bits/stdio.h
/usr/include/bits/string2.h
/usr/include/ctype.h
/usr/include/stdlib.h
/usr/include/sys/stat.h
/usr/include/sys/sysmacros.h
extracted from the error file using :
grep -o -P '^\/.+\.h' erreur |sort -u
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29867
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug target/29867] [4.3 Regression] building libgfortran fails because of multiple definitions gcc-4.3-20061111
2006-11-16 8:51 [Bug libfortran/29867] New: building libgfortran fails because of multiple definitions gcc-4.3-20061111 Jean-pierre dot vial at wanadoo dot fr
` (16 preceding siblings ...)
2006-12-22 19:20 ` Jean-pierre dot vial at wanadoo dot fr
@ 2006-12-23 17:54 ` dfranke at gcc dot gnu dot org
2007-01-02 1:14 ` eesrjhc at bath dot ac dot uk
2007-01-06 11:11 ` dfranke at gcc dot gnu dot org
19 siblings, 0 replies; 21+ messages in thread
From: dfranke at gcc dot gnu dot org @ 2006-12-23 17:54 UTC (permalink / raw)
To: gcc-bugs
------- Comment #17 from dfranke at gcc dot gnu dot org 2006-12-23 17:53 -------
Created an attachment (id=12839)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12839&action=view)
fixincludes: find headers in distro-specfic paths
* fixincl.c(fix_applies): Use fnmatch instead of strstr to allow
shell-like wildcard pattern matching.
* inclhack.def(glibc_c99_inline_[1234]): Add search patterns to file list.
* fixincl.x: Regenerated.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29867
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug target/29867] [4.3 Regression] building libgfortran fails because of multiple definitions gcc-4.3-20061111
2006-11-16 8:51 [Bug libfortran/29867] New: building libgfortran fails because of multiple definitions gcc-4.3-20061111 Jean-pierre dot vial at wanadoo dot fr
` (17 preceding siblings ...)
2006-12-23 17:54 ` dfranke at gcc dot gnu dot org
@ 2007-01-02 1:14 ` eesrjhc at bath dot ac dot uk
2007-01-06 11:11 ` dfranke at gcc dot gnu dot org
19 siblings, 0 replies; 21+ messages in thread
From: eesrjhc at bath dot ac dot uk @ 2007-01-02 1:14 UTC (permalink / raw)
To: gcc-bugs
------- Comment #18 from eesrjhc at bath dot ac dot uk 2007-01-02 01:14 -------
(In reply to comment #17)
> Created an attachment (id=12839)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12839&action=view) [edit]
> fixincludes: find headers in distro-specfic paths
Sorry about the delay in replying.
I can confirm that with this patch I can now bootstrap successfully:
=== gfortran Summary ===
# of expected passes 15820
# of expected failures 7
# of unsupported tests 17
/home/roger/src/gcc-svn/build_amber/gcc/testsuite/gfortran/../../gfortran
version 4.3.0 20070101 (experimental)
Thanks very much, I really appreciate your hard work.
Roger.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29867
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug target/29867] [4.3 Regression] building libgfortran fails because of multiple definitions gcc-4.3-20061111
2006-11-16 8:51 [Bug libfortran/29867] New: building libgfortran fails because of multiple definitions gcc-4.3-20061111 Jean-pierre dot vial at wanadoo dot fr
` (18 preceding siblings ...)
2007-01-02 1:14 ` eesrjhc at bath dot ac dot uk
@ 2007-01-06 11:11 ` dfranke at gcc dot gnu dot org
19 siblings, 0 replies; 21+ messages in thread
From: dfranke at gcc dot gnu dot org @ 2007-01-06 11:11 UTC (permalink / raw)
To: gcc-bugs
------- Comment #19 from dfranke at gcc dot gnu dot org 2007-01-06 11:11 -------
Resolved in private mail to difficulties with the build process.
Although PR30008 gave the same error messages, it is not a dupe.
--
dfranke at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |WORKSFORME
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29867
^ permalink raw reply [flat|nested] 21+ messages in thread
end of thread, other threads:[~2007-01-06 11:11 UTC | newest]
Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-11-16 8:51 [Bug libfortran/29867] New: building libgfortran fails because of multiple definitions gcc-4.3-20061111 Jean-pierre dot vial at wanadoo dot fr
2006-11-16 11:50 ` [Bug libfortran/29867] " rguenth at gcc dot gnu dot org
2006-11-16 15:20 ` jpvial at nerim dot net
2006-11-16 15:27 ` Jean-pierre dot vial at wanadoo dot fr
2006-11-16 15:36 ` Jean-pierre dot vial at wanadoo dot fr
2006-11-16 16:24 ` [Bug libfortran/29867] [4.3 Regression] " pinskia at gcc dot gnu dot org
2006-11-20 9:34 ` [Bug target/29867] " eesrjhc at bath dot ac dot uk
2006-11-21 17:30 ` Jean-pierre dot vial at wanadoo dot fr
2006-12-01 11:42 ` dfranke at gcc dot gnu dot org
2006-12-03 4:55 ` ron3763 at msn dot com
2006-12-03 4:58 ` ron3763 at msn dot com
2006-12-07 15:11 ` dfranke at gcc dot gnu dot org
2006-12-14 21:41 ` dfranke at gcc dot gnu dot org
2006-12-20 23:01 ` dfranke at gcc dot gnu dot org
2006-12-21 9:10 ` eesrjhc at bath dot ac dot uk
2006-12-21 21:01 ` Jean-pierre dot vial at wanadoo dot fr
2006-12-21 21:13 ` dfranke at gcc dot gnu dot org
2006-12-22 19:20 ` Jean-pierre dot vial at wanadoo dot fr
2006-12-23 17:54 ` dfranke at gcc dot gnu dot org
2007-01-02 1:14 ` eesrjhc at bath dot ac dot uk
2007-01-06 11:11 ` dfranke at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).