public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/30684] New: [4.2 regression] boostrap failed with undefined reference to system__pure_exceptions_*
@ 2007-02-02 23:00 pluto at agmk dot net
2007-02-02 23:25 ` [Bug ada/30684] " pluto at agmk dot net
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: pluto at agmk dot net @ 2007-02-02 23:00 UTC (permalink / raw)
To: gcc-bugs
stage1 of 4.2 (c,c++,ada) bootstrap fails:
(...)
gcc -c -O2 -mieee -O1 -g0 -gnatpg -gnata -I- -I. -Iada -I../../gcc/ada
../../gcc/ada/sinput-c.adb -o ada/sinput-c.o
gcc -c -O2 -mieee -O1 -g0 -gnatpg -gnata -I- -I. -Iada -I../../gcc/ada
../../gcc/ada/switch-b.adb -o ada/switch-b.o
gnatbind -C -I- -I. -Iada -I../../gcc/ada -o ada/b_gnatb.c ada/gnatbind.ali
gcc -c -O2 -mieee -O1 -g0 -DIN_GCC -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -fno-common -Wno-error
-DHAVE_CONFIG_H -I. -Iada -I../../gcc -I../../gcc/ada -I../../gcc/../include
-I../../gcc/../libcpp/include -I../../gcc/../libdecnumber -I../libdecnumber
ada/b_gnatb.c -o ada/b_gnatb.o
gcc -O2 -mieee -O1 -g0 -DIN_GCC -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
-Wmissing-format-attribute -fno-common -DHAVE_CONFIG_H -o gnatbind
ada/b_gnatb.o ada/adaint.o ada/argv.o ada/exit.o ada/cio.o ada/cstreams.o
ada/env.o ada/final.o ada/init.o ada/initialize.o ada/seh_init.o ada/link.o
ada/targext.o ada/raise.o ada/tracebak.o ada/a-except.o ada/ada.o
ada/a-elchha.o ada/ali-util.o ada/ali.o ada/alloc.o ada/atree.o ada/bcheck.o
ada/binde.o ada/binderr.o ada/bindgen.o ada/bindusg.o ada/butil.o ada/casing.o
ada/csets.o ada/debug.o ada/einfo.o ada/elists.o ada/err_vars.o ada/errout.o
ada/erroutc.o ada/fmap.o ada/fname.o ada/g-hesora.o ada/g-htable.o
ada/g-os_lib.o ada/g-string.o ada/g-utf_32.o ada/gnat.o ada/gnatbind.o
ada/gnatvsn.o ada/hostparm.o ada/interfac.o ada/lib.o ada/namet.o ada/nlists.o
ada/opt.o ada/osint-b.o ada/osint.o ada/output.o ada/rident.o ada/s-addope.o
ada/s-assert.o ada/s-carun8.o ada/s-casuti.o ada/s-crc32.o ada/s-crtl.o
ada/s-exctab.o ada/s-htable.o ada/s-imgenu.o ada/s-mastop.o ada/s-memory.o
ada/s-parame.o ada/s-secsta.o ada/s-soflin.o ada/s-sopco3.o ada/s-sopco4.o
ada/s-sopco5.o ada/s-stache.o ada/s-stalib.o ada/s-stoele.o ada/s-strops.o
ada/s-traceb.o ada/s-traent.o ada/s-unstyp.o ada/s-wchcnv.o ada/s-wchcon.o
ada/s-wchjis.o ada/scng.o ada/scans.o ada/sdefault.o ada/sinfo.o ada/sinput.o
ada/sinput-c.o ada/snames.o ada/stand.o ada/stringt.o ada/switch-b.o
ada/switch.o ada/style.o ada/styleg.o ada/stylesw.o ada/system.o ada/table.o
ada/targparm.o ada/tree_io.o ada/types.o ada/uintp.o ada/uname.o ada/urealp.o
ada/widechar.o prefix.o version.o \
../libcpp/libcpp.a ../libiberty/libiberty.a
../libdecnumber/libdecnumber.a
ada/b_gnatb.o: In function `adainit':
(.text+0x344): undefined reference to `system__pure_exceptions___elabs'
ada/b_gnatb.o: In function `adainit':
(.text+0x348): undefined reference to `system__pure_exceptions___elabs'
ada/b_gnatb.o: In function `adainit':
(.text+0x354): undefined reference to `system__pure_exceptions_E'
collect2: ld returned 1 exit status
make[3]: *** [gnatbind] Error 1
make[3]: Leaving directory
`/home/users/builder2/rpm/BUILD/gcc-4_2-branch/builddir/gcc'
make[2]: *** [all-stage1-gcc] Error 2
make[2]: Leaving directory
`/home/users/builder2/rpm/BUILD/gcc-4_2-branch/builddir'
make[1]: *** [stage1-bubble] Error 2
$ ./gnat1 --version
GNU Ada version 4.2.0 20070126 (prerelease) (PLD-Linux) (alpha-pld-linux)
compiled by GNU C version 4.1.2 20061201 (prerelease) (PLD-Linux).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
--
Summary: [4.2 regression] boostrap failed with undefined
reference to system__pure_exceptions_*
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: ada
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pluto at agmk dot net
GCC target triplet: alpha-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30684
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug ada/30684] [4.2 regression] boostrap failed with undefined reference to system__pure_exceptions_*
2007-02-02 23:00 [Bug ada/30684] New: [4.2 regression] boostrap failed with undefined reference to system__pure_exceptions_* pluto at agmk dot net
@ 2007-02-02 23:25 ` pluto at agmk dot net
2007-02-03 17:32 ` jsm28 at gcc dot gnu dot org
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pluto at agmk dot net @ 2007-02-02 23:25 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pluto at agmk dot net 2007-02-02 23:25 -------
i don't know what's wrong. s-purex.o exports such symbols.
linker bug?
[builder2@fly ada]$ objdump -t s-purexc.o|grep system__pure_exceptions
0000000000000000 g F .text 0000000000000004 0x80
system__pure_exceptions__exception_typeIP
0000000000000004 g F .text 000000000000001c 0x88
system__pure_exceptions___elabs
0000000000000000 g O .sbss 0000000000000004 system__pure_exceptions_E
[builder2@fly ada]$ objdump -t b_gnatb.o|grep system__pure_exceptions
0000000000000000 *UND* 0000000000000000
system__pure_exceptions___elabs
0000000000000000 *UND* 0000000000000000 system__pure_exceptions_E
0000000000000114 g O .sdata 0000000000000004 system__pure_exceptionsS
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30684
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug ada/30684] [4.2 regression] boostrap failed with undefined reference to system__pure_exceptions_*
2007-02-02 23:00 [Bug ada/30684] New: [4.2 regression] boostrap failed with undefined reference to system__pure_exceptions_* pluto at agmk dot net
2007-02-02 23:25 ` [Bug ada/30684] " pluto at agmk dot net
@ 2007-02-03 17:32 ` jsm28 at gcc dot gnu dot org
2007-02-18 13:25 ` ebotcazou at gcc dot gnu dot org
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2007-02-03 17:32 UTC (permalink / raw)
To: gcc-bugs
--
jsm28 at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.2.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30684
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug ada/30684] [4.2 regression] boostrap failed with undefined reference to system__pure_exceptions_*
2007-02-02 23:00 [Bug ada/30684] New: [4.2 regression] boostrap failed with undefined reference to system__pure_exceptions_* pluto at agmk dot net
2007-02-02 23:25 ` [Bug ada/30684] " pluto at agmk dot net
2007-02-03 17:32 ` jsm28 at gcc dot gnu dot org
@ 2007-02-18 13:25 ` ebotcazou at gcc dot gnu dot org
2007-02-19 18:10 ` ebotcazou at gcc dot gnu dot org
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2007-02-18 13:25 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from ebotcazou at gcc dot gnu dot org 2007-02-18 13:24 -------
Most likely a bug in the bootstrap compiler (PR ada/27936). Try with 3.4.x.
--
ebotcazou at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ebotcazou at gcc dot gnu dot
| |org
BugsThisDependsOn| |27936
Status|UNCONFIRMED |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30684
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug ada/30684] [4.2 regression] boostrap failed with undefined reference to system__pure_exceptions_*
2007-02-02 23:00 [Bug ada/30684] New: [4.2 regression] boostrap failed with undefined reference to system__pure_exceptions_* pluto at agmk dot net
` (2 preceding siblings ...)
2007-02-18 13:25 ` ebotcazou at gcc dot gnu dot org
@ 2007-02-19 18:10 ` ebotcazou at gcc dot gnu dot org
2007-02-19 21:03 ` mmitchel at gcc dot gnu dot org
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2007-02-19 18:10 UTC (permalink / raw)
To: gcc-bugs
--
ebotcazou at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |ebotcazou at gcc dot gnu dot
|dot org |org
Status|WAITING |ASSIGNED
Ever Confirmed|0 |1
GCC target triplet|alpha-linux |alpha-*-*
Last reconfirmed|0000-00-00 00:00:00 |2007-02-19 18:10:00
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30684
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug ada/30684] [4.2 regression] boostrap failed with undefined reference to system__pure_exceptions_*
2007-02-02 23:00 [Bug ada/30684] New: [4.2 regression] boostrap failed with undefined reference to system__pure_exceptions_* pluto at agmk dot net
` (3 preceding siblings ...)
2007-02-19 18:10 ` ebotcazou at gcc dot gnu dot org
@ 2007-02-19 21:03 ` mmitchel at gcc dot gnu dot org
2007-02-19 21:24 ` [Bug ada/30684] [4.1 " ebotcazou at gcc dot gnu dot org
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-02-19 21:03 UTC (permalink / raw)
To: gcc-bugs
--
mmitchel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30684
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug ada/30684] [4.1 regression] boostrap failed with undefined reference to system__pure_exceptions_*
2007-02-02 23:00 [Bug ada/30684] New: [4.2 regression] boostrap failed with undefined reference to system__pure_exceptions_* pluto at agmk dot net
` (4 preceding siblings ...)
2007-02-19 21:03 ` mmitchel at gcc dot gnu dot org
@ 2007-02-19 21:24 ` ebotcazou at gcc dot gnu dot org
2007-02-20 23:54 ` ebotcazou at gcc dot gnu dot org
2007-02-20 23:56 ` ebotcazou at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2007-02-19 21:24 UTC (permalink / raw)
To: gcc-bugs
--
ebotcazou at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[4.2 regression] boostrap |[4.1 regression] boostrap
|failed with undefined |failed with undefined
|reference to |reference to
|system__pure_exceptions_* |system__pure_exceptions_*
Target Milestone|4.2.0 |4.1.3
Version|4.2.0 |4.1.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30684
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug ada/30684] [4.1 regression] boostrap failed with undefined reference to system__pure_exceptions_*
2007-02-02 23:00 [Bug ada/30684] New: [4.2 regression] boostrap failed with undefined reference to system__pure_exceptions_* pluto at agmk dot net
` (5 preceding siblings ...)
2007-02-19 21:24 ` [Bug ada/30684] [4.1 " ebotcazou at gcc dot gnu dot org
@ 2007-02-20 23:54 ` ebotcazou at gcc dot gnu dot org
2007-02-20 23:56 ` ebotcazou at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2007-02-20 23:54 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from ebotcazou at gcc dot gnu dot org 2007-02-20 23:54 -------
Subject: Bug 30684
Author: ebotcazou
Date: Tue Feb 20 23:54:16 2007
New Revision: 122181
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=122181
Log:
PR ada/30684
Backport from 4.2 branch:
2006-11-17 Eric Botcazou <ebotcazou@adacore.com>
* ada-tree.h (DECL_READONLY_ONCE_ELAB): New macro.
* decl.c (elaborate_expression_1): Test the DECL_READONLY_ONCE_ELAB
flag in addition to TREE_READONLY to assert the constantness of
variables for elaboration purposes.
* trans.c (add_decl_expr): Do not dynamically elaborate padded objects
if the initializer takes into account the padding.
Set DECL_READONLY_ONCE_ELAB flag on variables originally TREE_READONLY
but whose elaboration cannot be performed statically.
Modified:
branches/gcc-4_1-branch/gcc/ada/ChangeLog
branches/gcc-4_1-branch/gcc/ada/ada-tree.h
branches/gcc-4_1-branch/gcc/ada/decl.c
branches/gcc-4_1-branch/gcc/ada/trans.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30684
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug ada/30684] [4.1 regression] boostrap failed with undefined reference to system__pure_exceptions_*
2007-02-02 23:00 [Bug ada/30684] New: [4.2 regression] boostrap failed with undefined reference to system__pure_exceptions_* pluto at agmk dot net
` (6 preceding siblings ...)
2007-02-20 23:54 ` ebotcazou at gcc dot gnu dot org
@ 2007-02-20 23:56 ` ebotcazou at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2007-02-20 23:56 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from ebotcazou at gcc dot gnu dot org 2007-02-20 23:56 -------
You need to upgrade your 4.1.x compiler.
--
ebotcazou at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30684
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2007-02-20 23:56 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-02 23:00 [Bug ada/30684] New: [4.2 regression] boostrap failed with undefined reference to system__pure_exceptions_* pluto at agmk dot net
2007-02-02 23:25 ` [Bug ada/30684] " pluto at agmk dot net
2007-02-03 17:32 ` jsm28 at gcc dot gnu dot org
2007-02-18 13:25 ` ebotcazou at gcc dot gnu dot org
2007-02-19 18:10 ` ebotcazou at gcc dot gnu dot org
2007-02-19 21:03 ` mmitchel at gcc dot gnu dot org
2007-02-19 21:24 ` [Bug ada/30684] [4.1 " ebotcazou at gcc dot gnu dot org
2007-02-20 23:54 ` ebotcazou at gcc dot gnu dot org
2007-02-20 23:56 ` ebotcazou 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).