public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgomp/25910] New: bootstrap failure
@ 2006-01-22 14:03 aldot at gcc dot gnu dot org
2006-01-22 14:04 ` [Bug libgomp/25910] " aldot at gcc dot gnu dot org
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: aldot at gcc dot gnu dot org @ 2006-01-22 14:03 UTC (permalink / raw)
To: gcc-bugs
/home/cow/obj.ia32/gcc/./gcc/xgcc -B/home/cow/obj.ia32/gcc/./gcc/
-B/opt/gcc-4.2//i686-linux-gnu/bin/ -B/opt/gcc-4.2//i686-linux-gnu/lib/ -
isystem /opt/gcc-4.2//i686-linux-gnu/include -isystem
/opt/gcc-4.2//i686-linux-gnu/sys-include -DHAVE_CONFIG_H -I.
-I../../../../src/gcc-4.
2/libgomp -I. -I../../../../src/gcc-4.2/libgomp/config/linux/x86
-I../../../../src/gcc-4.2/libgomp/config/linux -I../../../../src/gcc-4.2/l
ibgomp/config/posix -I../../../../src/gcc-4.2/libgomp -Wall -Werror
-ftls-model=initial-exec -march=i486 -pthread -mtune=i686 -O2 -W -Wall
-Wextra -march=pentium4 -g -ggdb -O0 -g -ggdb3 -mtune=pentium4 -MT alloc.lo -MD
-MP -MF .deps/alloc.Tpo -c ../../../../src/gcc-4.2/libgomp/
alloc.c -fPIC -DPIC -o .libs/alloc.o
cc1: warnings being treated as errors
In file included from ../../../../src/gcc-4.2/libgomp/libgomp.h:49,
from ../../../../src/gcc-4.2/libgomp/alloc.c:32:
../../../../src/gcc-4.2/libgomp/config/linux/sem.h:56: warning: unused
parameter 'sem'
In file included from ../../../../src/gcc-4.2/libgomp/libgomp.h:50,
from ../../../../src/gcc-4.2/libgomp/alloc.c:32:
../../../../src/gcc-4.2/libgomp/config/linux/mutex.h:59: warning: unused
parameter 'mutex'
make[4]: *** [alloc.lo] Error 1
This can be fixed by the attached patch gcc.libgomp_unused_arg.01.diff
--
Summary: bootstrap failure
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libgomp
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: aldot at gcc dot gnu dot org
GCC build triplet: i686-linux-gnu
GCC host triplet: i686-linux-gnu
GCC target triplet: i686-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25910
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libgomp/25910] bootstrap failure
2006-01-22 14:03 [Bug libgomp/25910] New: bootstrap failure aldot at gcc dot gnu dot org
@ 2006-01-22 14:04 ` aldot at gcc dot gnu dot org
2006-01-22 14:06 ` aldot at gcc dot gnu dot org
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: aldot at gcc dot gnu dot org @ 2006-01-22 14:04 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from aldot at gcc dot gnu dot org 2006-01-22 14:04 -------
Created an attachment (id=10702)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10702&action=view)
Mark arguments as unused.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25910
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libgomp/25910] bootstrap failure
2006-01-22 14:03 [Bug libgomp/25910] New: bootstrap failure aldot at gcc dot gnu dot org
2006-01-22 14:04 ` [Bug libgomp/25910] " aldot at gcc dot gnu dot org
@ 2006-01-22 14:06 ` aldot at gcc dot gnu dot org
2006-01-22 15:46 ` aldot at gcc dot gnu dot org
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: aldot at gcc dot gnu dot org @ 2006-01-22 14:06 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from aldot at gcc dot gnu dot org 2006-01-22 14:06 -------
(In reply to comment #1)
> Created an attachment (id=10702)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10702&action=view) [edit]
> Mark arguments as unused.
>
Now the bootstrap stops later on with:
/home/cow/obj.ia32/gcc/./gcc/xgcc -B/home/cow/obj.ia32/gcc/./gcc/
-B/opt/gcc-4.2//i686-linux-gnu/bin/ -B/opt/gcc-4.2//i686-linux-gnu/lib/
-isystem /opt/gcc-4.2//i686-linux-gnu/include -isystem
/opt/gcc-4.2//i686-linux-gnu/sys-include -DHAVE_CONFIG_H -I.
-I../../../../src/gcc-4.2/libgomp -I.
-I../../../../src/gcc-4.2/libgomp/config/linux/x86
-I../../../../src/gcc-4.2/libgomp/config/linux
-I../../../../src/gcc-4.2/libgomp/config/posix
-I../../../../src/gcc-4.2/libgomp -Wall -Werror -ftls-model=initial-exec
-march=i486 -pthread -mtune=i686 -O2 -W -Wall -Wextra -march=pentium4 -g -ggdb
-O0 -g -ggdb3 -mtune=pentium4 -MT iter.lo -MD -MP -MF .deps/iter.Tpo -c
../../../../src/gcc-4.2/libgomp/iter.c -fPIC -DPIC -o .libs/iter.o
cc1: warnings being treated as errors
../../../../src/gcc-4.2/libgomp/iter.c: In function 'gomp_iter_static_next':
../../../../src/gcc-4.2/libgomp/iter.c:48: warning: comparison between signed
and unsigned
../../../../src/gcc-4.2/libgomp/iter.c: In function
'gomp_iter_guided_next_locked':
../../../../src/gcc-4.2/libgomp/iter.c:248: warning: comparison between signed
and unsigned
make[4]: *** [iter.lo] Error 1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25910
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libgomp/25910] bootstrap failure
2006-01-22 14:03 [Bug libgomp/25910] New: bootstrap failure aldot at gcc dot gnu dot org
2006-01-22 14:04 ` [Bug libgomp/25910] " aldot at gcc dot gnu dot org
2006-01-22 14:06 ` aldot at gcc dot gnu dot org
@ 2006-01-22 15:46 ` aldot at gcc dot gnu dot org
2006-01-23 15:46 ` [Bug libgomp/25910] [4.2 Regression] " pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: aldot at gcc dot gnu dot org @ 2006-01-22 15:46 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from aldot at gcc dot gnu dot org 2006-01-22 15:46 -------
Created an attachment (id=10705)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10705&action=view)
Probably improper patch to make it build somehow.
With this patch libgomp builds again for me. This patch is most likely not
accurate, so please fix proper.
In gomp_iter_dynamic_next() and gomp_iter_guided_next() i added a check for an
early return, which is of course not needed to fix the bootstrap failure.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25910
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libgomp/25910] [4.2 Regression] bootstrap failure
2006-01-22 14:03 [Bug libgomp/25910] New: bootstrap failure aldot at gcc dot gnu dot org
` (2 preceding siblings ...)
2006-01-22 15:46 ` aldot at gcc dot gnu dot org
@ 2006-01-23 15:46 ` pinskia at gcc dot gnu dot org
2006-01-23 23:49 ` aldot at gcc dot gnu dot org
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-01-23 15:46 UTC (permalink / raw)
To: gcc-bugs
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |build
Summary|bootstrap failure |[4.2 Regression] bootstrap
| |failure
Target Milestone|--- |4.2.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25910
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libgomp/25910] [4.2 Regression] bootstrap failure
2006-01-22 14:03 [Bug libgomp/25910] New: bootstrap failure aldot at gcc dot gnu dot org
` (3 preceding siblings ...)
2006-01-23 15:46 ` [Bug libgomp/25910] [4.2 Regression] " pinskia at gcc dot gnu dot org
@ 2006-01-23 23:49 ` aldot at gcc dot gnu dot org
2006-01-24 16:54 ` rth at gcc dot gnu dot org
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: aldot at gcc dot gnu dot org @ 2006-01-23 23:49 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from aldot at gcc dot gnu dot org 2006-01-23 23:49 -------
Better mv ansidecl.h to libgomp.h per rth on IRC.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25910
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libgomp/25910] [4.2 Regression] bootstrap failure
2006-01-22 14:03 [Bug libgomp/25910] New: bootstrap failure aldot at gcc dot gnu dot org
` (4 preceding siblings ...)
2006-01-23 23:49 ` aldot at gcc dot gnu dot org
@ 2006-01-24 16:54 ` rth at gcc dot gnu dot org
2006-01-25 10:14 ` aldot at gcc dot gnu dot org
2006-01-25 17:55 ` rth at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: rth at gcc dot gnu dot org @ 2006-01-24 16:54 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from rth at gcc dot gnu dot org 2006-01-24 16:54 -------
How are you configuring? I can't reproduce *any* of these failures.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25910
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libgomp/25910] [4.2 Regression] bootstrap failure
2006-01-22 14:03 [Bug libgomp/25910] New: bootstrap failure aldot at gcc dot gnu dot org
` (5 preceding siblings ...)
2006-01-24 16:54 ` rth at gcc dot gnu dot org
@ 2006-01-25 10:14 ` aldot at gcc dot gnu dot org
2006-01-25 17:55 ` rth at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: aldot at gcc dot gnu dot org @ 2006-01-25 10:14 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from aldot at gcc dot gnu dot org 2006-01-25 10:14 -------
fla="-W -Wall -Wextra -march=pentium4 -mtune=pentium4 -O0 -g -ggdb"
BOOT_CC=gcc-4.0 CFLAGS="$fla" CXXFLAGS="$fla" BOOT_CFLAGS="$fla" ../../src/${
what}-${ver}/configure -v --enable-languages=c,c++,fortran,treelang
--prefix=/op
t/gcc-${ver}/ --enable-shared --with-system-zlib
--libexecdir=/opt/gcc-${ver}/li
b --enable-nls --without-included-gettext --enable-threads=posix
--program-suffi
x=-${ver}-HEAD --enable-__cxa_atexit --enable-libstdcxx-allocator=mt
--enable-cl
ocale=gnu --enable-libstdcxx-debug --enable-mpfr --disable-werror
--enable-check
ing=release --enable-debug i686-linux-gnu
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25910
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libgomp/25910] [4.2 Regression] bootstrap failure
2006-01-22 14:03 [Bug libgomp/25910] New: bootstrap failure aldot at gcc dot gnu dot org
` (6 preceding siblings ...)
2006-01-25 10:14 ` aldot at gcc dot gnu dot org
@ 2006-01-25 17:55 ` rth at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: rth at gcc dot gnu dot org @ 2006-01-25 17:55 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from rth at gcc dot gnu dot org 2006-01-25 17:55 -------
(In reply to comment #6)
> fla="-W -Wall -Wextra -march=pentium4 -mtune=pentium4 -O0 -g -ggdb"
Ah, so it falls into the category of Your Own Fault. Remove those bogus
extra warning flags and you won't have this problem.
--
rth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25910
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2006-01-25 17:55 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-22 14:03 [Bug libgomp/25910] New: bootstrap failure aldot at gcc dot gnu dot org
2006-01-22 14:04 ` [Bug libgomp/25910] " aldot at gcc dot gnu dot org
2006-01-22 14:06 ` aldot at gcc dot gnu dot org
2006-01-22 15:46 ` aldot at gcc dot gnu dot org
2006-01-23 15:46 ` [Bug libgomp/25910] [4.2 Regression] " pinskia at gcc dot gnu dot org
2006-01-23 23:49 ` aldot at gcc dot gnu dot org
2006-01-24 16:54 ` rth at gcc dot gnu dot org
2006-01-25 10:14 ` aldot at gcc dot gnu dot org
2006-01-25 17:55 ` rth 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).