* [Bug ada/46704] [4.6 Regression] Ada compiler fails to build itself
2010-11-29 9:17 [Bug ada/46704] New: ada bootstrap failure on arm-linux-gnueabi doko at ubuntu dot com
@ 2010-12-29 16:32 ` ebotcazou at gcc dot gnu.org
2010-12-29 16:34 ` ebotcazou at gcc dot gnu.org
` (12 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2010-12-29 16:32 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46704
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |link-failure
Target|arm-linux-gnueabi |
CC| |ebotcazou at gcc dot
| |gnu.org
Target Milestone|--- |4.6.0
Summary|ada bootstrap failure on |[4.6 Regression] Ada
|arm-linux-gnueabi |compiler fails to build
| |itself
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug ada/46704] [4.6 Regression] Ada compiler fails to build itself
2010-11-29 9:17 [Bug ada/46704] New: ada bootstrap failure on arm-linux-gnueabi doko at ubuntu dot com
2010-12-29 16:32 ` [Bug ada/46704] [4.6 Regression] Ada compiler fails to build itself ebotcazou at gcc dot gnu.org
@ 2010-12-29 16:34 ` ebotcazou at gcc dot gnu.org
2010-12-29 16:35 ` ebotcazou at gcc dot gnu.org
` (11 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2010-12-29 16:34 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46704
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |amylaar at gcc dot gnu.org
--- Comment #1 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2010-12-29 16:34:01 UTC ---
*** Bug 46741 has been marked as a duplicate of this bug. ***
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug ada/46704] [4.6 Regression] Ada compiler fails to build itself
2010-11-29 9:17 [Bug ada/46704] New: ada bootstrap failure on arm-linux-gnueabi doko at ubuntu dot com
2010-12-29 16:32 ` [Bug ada/46704] [4.6 Regression] Ada compiler fails to build itself ebotcazou at gcc dot gnu.org
2010-12-29 16:34 ` ebotcazou at gcc dot gnu.org
@ 2010-12-29 16:35 ` ebotcazou at gcc dot gnu.org
2010-12-29 16:36 ` ebotcazou at gcc dot gnu.org
` (10 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2010-12-29 16:35 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46704
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |laurent at guerby dot net
--- Comment #2 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2010-12-29 16:34:30 UTC ---
*** Bug 47121 has been marked as a duplicate of this bug. ***
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug ada/46704] [4.6 Regression] Ada compiler fails to build itself
2010-11-29 9:17 [Bug ada/46704] New: ada bootstrap failure on arm-linux-gnueabi doko at ubuntu dot com
` (2 preceding siblings ...)
2010-12-29 16:35 ` ebotcazou at gcc dot gnu.org
@ 2010-12-29 16:36 ` ebotcazou at gcc dot gnu.org
2010-12-29 16:52 ` laurent at guerby dot net
` (9 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2010-12-29 16:36 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46704
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2010.12.29 16:35:46
AssignedTo|unassigned at gcc dot |ebotcazou at gcc dot
|gnu.org |gnu.org
Ever Confirmed|0 |1
--- Comment #3 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2010-12-29 16:35:46 UTC ---
Investigating.
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug ada/46704] [4.6 Regression] Ada compiler fails to build itself
2010-11-29 9:17 [Bug ada/46704] New: ada bootstrap failure on arm-linux-gnueabi doko at ubuntu dot com
` (3 preceding siblings ...)
2010-12-29 16:36 ` ebotcazou at gcc dot gnu.org
@ 2010-12-29 16:52 ` laurent at guerby dot net
2011-01-07 0:15 ` [Bug debug/46704] " ebotcazou at gcc dot gnu.org
` (8 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: laurent at guerby dot net @ 2010-12-29 16:52 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46704
--- Comment #4 from Laurent GUERBY <laurent at guerby dot net> 2010-12-29 16:51:43 UTC ---
Look like .Ldebug_info0 symbol handling changed recently:
2010-11-13 Iain Sandoe <iains@gcc.gnu.org>
* dwarf2out.c (macinfo_entry): New struct.
(output_comp_unit): Emit the section start label here and flag that we
will emit an info section.
(dwarf2out_start_source_file): Save data in a macinfo entry rather than
emitting directly.
(dwarf2out_end_source_file): Likewise.
(dwarf2out_define): Likewise.
(dwarf2out_undef): Likewise.
(output_macinfo): New.
(dwarf2out_init): Do not emit debug section switches here, allocate a
vec for macinfo, when required.
(dwarf2out_finish): First switch to debug_abbrev_section here.
debug_line_section, debug_macinfo_section, Likewise.
Check that the pubtypes table has at least one unpruned entry before
trying to emit it.
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug debug/46704] [4.6 Regression] Ada compiler fails to build itself
2010-11-29 9:17 [Bug ada/46704] New: ada bootstrap failure on arm-linux-gnueabi doko at ubuntu dot com
` (4 preceding siblings ...)
2010-12-29 16:52 ` laurent at guerby dot net
@ 2011-01-07 0:15 ` ebotcazou at gcc dot gnu.org
2011-01-07 0:16 ` ebotcazou at gcc dot gnu.org
` (7 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2011-01-07 0:15 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46704
--- Comment #5 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2011-01-06 23:36:28 UTC ---
Author: ebotcazou
Date: Thu Jan 6 23:36:25 2011
New Revision: 168557
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=168557
Log:
PR debug/46704
* dwarf2out.c (dwarf2out_finish): Output the debug_aranges section
only when it is not empty.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/dwarf2out.c
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug debug/46704] [4.6 Regression] Ada compiler fails to build itself
2010-11-29 9:17 [Bug ada/46704] New: ada bootstrap failure on arm-linux-gnueabi doko at ubuntu dot com
` (5 preceding siblings ...)
2011-01-07 0:15 ` [Bug debug/46704] " ebotcazou at gcc dot gnu.org
@ 2011-01-07 0:16 ` ebotcazou at gcc dot gnu.org
2011-01-07 8:52 ` doko at ubuntu dot com
` (6 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2011-01-07 0:16 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46704
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
URL| |http://gcc.gnu.org/ml/gcc-p
| |atches/2011-01/msg00335.htm
| |l
CC|ebotcazou at gcc dot |
|gnu.org |
Resolution| |FIXED
--- Comment #6 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2011-01-06 23:38:01 UTC ---
This should work again.
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug debug/46704] [4.6 Regression] Ada compiler fails to build itself
2010-11-29 9:17 [Bug ada/46704] New: ada bootstrap failure on arm-linux-gnueabi doko at ubuntu dot com
` (6 preceding siblings ...)
2011-01-07 0:16 ` ebotcazou at gcc dot gnu.org
@ 2011-01-07 8:52 ` doko at ubuntu dot com
2011-01-07 8:55 ` ebotcazou at gcc dot gnu.org
` (5 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: doko at ubuntu dot com @ 2011-01-07 8:52 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46704
--- Comment #7 from Matthias Klose <doko at ubuntu dot com> 2011-01-07 08:33:03 UTC ---
I still see this with r168558.
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug debug/46704] [4.6 Regression] Ada compiler fails to build itself
2010-11-29 9:17 [Bug ada/46704] New: ada bootstrap failure on arm-linux-gnueabi doko at ubuntu dot com
` (7 preceding siblings ...)
2011-01-07 8:52 ` doko at ubuntu dot com
@ 2011-01-07 8:55 ` ebotcazou at gcc dot gnu.org
2011-01-10 23:37 ` joel at gcc dot gnu.org
` (4 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2011-01-07 8:55 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46704
--- Comment #8 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2011-01-07 08:43:35 UTC ---
> I still see this with r168558.
Note that you need to reinstall gnatgcc, the problem is there.
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug debug/46704] [4.6 Regression] Ada compiler fails to build itself
2010-11-29 9:17 [Bug ada/46704] New: ada bootstrap failure on arm-linux-gnueabi doko at ubuntu dot com
` (8 preceding siblings ...)
2011-01-07 8:55 ` ebotcazou at gcc dot gnu.org
@ 2011-01-10 23:37 ` joel at gcc dot gnu.org
2011-01-11 2:35 ` doko at ubuntu dot com
` (3 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: joel at gcc dot gnu.org @ 2011-01-10 23:37 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46704
Joel Sherrill <joel at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |joel at gcc dot gnu.org
--- Comment #9 from Joel Sherrill <joel at gcc dot gnu.org> 2011-01-10 23:13:53 UTC ---
(In reply to comment #8)
> > I still see this with r168558.
>
> Note that you need to reinstall gnatgcc, the problem is there.
I am at 168616 and seeing this. I am on Fedora 14 64 bit with this native gcc:
$ gcc --version
gcc (GCC) 4.4.5 20101112 (Red Hat 4.4.5-2)
I am trying to use that to build a native C,C++,Ada toolset from the head but
getting this error. How do you get a new compiler from the head?
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug debug/46704] [4.6 Regression] Ada compiler fails to build itself
2010-11-29 9:17 [Bug ada/46704] New: ada bootstrap failure on arm-linux-gnueabi doko at ubuntu dot com
` (9 preceding siblings ...)
2011-01-10 23:37 ` joel at gcc dot gnu.org
@ 2011-01-11 2:35 ` doko at ubuntu dot com
2011-01-11 7:26 ` ebotcazou at gcc dot gnu.org
` (2 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: doko at ubuntu dot com @ 2011-01-11 2:35 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46704
--- Comment #10 from Matthias Klose <doko at ubuntu dot com> 2011-01-11 00:54:10 UTC ---
works for me.
Joel, either use a build before 2010-11-13, or a fixed build. I put a recent
gcc-snapshot build for armel on
http://people.canonical.com/~doko/tmp/gcc-snapshot_20110106-1ubuntu1_armel.deb
unpack with ar, if you don't have a dpkg available.
I only did see this on arm-linux-gnueabi.
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug debug/46704] [4.6 Regression] Ada compiler fails to build itself
2010-11-29 9:17 [Bug ada/46704] New: ada bootstrap failure on arm-linux-gnueabi doko at ubuntu dot com
` (10 preceding siblings ...)
2011-01-11 2:35 ` doko at ubuntu dot com
@ 2011-01-11 7:26 ` ebotcazou at gcc dot gnu.org
2011-01-12 8:50 ` gnugcc at marino dot st
2011-01-12 9:10 ` ebotcazou at gcc dot gnu.org
13 siblings, 0 replies; 15+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2011-01-11 7:26 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46704
--- Comment #11 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2011-01-11 06:54:41 UTC ---
> I am at 168616 and seeing this. I am on Fedora 14 64 bit with this native gcc:
>
> $ gcc --version
> gcc (GCC) 4.4.5 20101112 (Red Hat 4.4.5-2)
>
> I am trying to use that to build a native C,C++,Ada toolset from the head but
> getting this error. How do you get a new compiler from the head?
Use a recent tree with the fix and rebuild everything from it.
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug debug/46704] [4.6 Regression] Ada compiler fails to build itself
2010-11-29 9:17 [Bug ada/46704] New: ada bootstrap failure on arm-linux-gnueabi doko at ubuntu dot com
` (11 preceding siblings ...)
2011-01-11 7:26 ` ebotcazou at gcc dot gnu.org
@ 2011-01-12 8:50 ` gnugcc at marino dot st
2011-01-12 9:10 ` ebotcazou at gcc dot gnu.org
13 siblings, 0 replies; 15+ messages in thread
From: gnugcc at marino dot st @ 2011-01-12 8:50 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46704
John Marino <gnugcc at marino dot st> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |gnugcc at marino dot st
--- Comment #12 from John Marino <gnugcc at marino dot st> 2011-01-12 07:27:40 UTC ---
I'm now seeing this on NetBSD AMD64. I always used --disable-bootstrap and
never saw it, but when I removed that configuration option I'm getting the
exact error. This is with gcc build on 5 Jan 2011 and a source snapshot of 9
Jan.
I can't confirm the same on NetBSD32 because when I remove --disable-bootstrap
libiberty can't compile during the first stage (bad assembly, thinks %sil
register is selected which doesn't exist on x86)
It looks like the fix came after the first gcc was built, so I should rebuild
it with Jan 9 snapshot using --disable-bootstrap, install it, and then rebuild
it again with disable snapshot?
Thanks,
John
Using built-in specs.
COLLECT_GCC=gnatgcc
COLLECT_LTO_WRAPPER=/usr/pkg/libexec/gcc/x86_64-aux-netbsd5.1_RC4/4.6.0/lto-wrapper
Target: x86_64-aux-netbsd5.1_RC4
Configured with: /usr/pkgsrc/lang/gnat-aux/work/gcc-4.6-20110104/configure
--enable-languages=c,ada --build=x86_64-aux-netbsd5.1_RC4 --program-prefix=gnat
--prefix=/usr/pkg --with-system-zlib --with-gmp=/usr/pkg --with-mpfr=/usr/pkg
--with-mpc=/usr/pkg --with-libiconv-prefix=/usr/pkg --enable-shared
--enable-threads=posix --disable-bootstrap --disable-libgomp --disable-libssp
--disable-nls
Thread model: posix
gcc version 4.6.0 20110105 (experimental) -=> GNAT AUX [NetBSD64] (GCC)
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug debug/46704] [4.6 Regression] Ada compiler fails to build itself
2010-11-29 9:17 [Bug ada/46704] New: ada bootstrap failure on arm-linux-gnueabi doko at ubuntu dot com
` (12 preceding siblings ...)
2011-01-12 8:50 ` gnugcc at marino dot st
@ 2011-01-12 9:10 ` ebotcazou at gcc dot gnu.org
13 siblings, 0 replies; 15+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2011-01-12 9:10 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46704
--- Comment #13 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2011-01-12 07:47:09 UTC ---
> It looks like the fix came after the first gcc was built, so I should rebuild
> it with Jan 9 snapshot using --disable-bootstrap, install it, and then rebuild
> it again with disable snapshot?
Yes, the problem is in the build compiler, not in the to-be-built compiler.
I'd suggest selecting a good compiler as build compiler (preferably a released
one) and sticking to it, the mainline is too moving a target for this.
^ permalink raw reply [flat|nested] 15+ messages in thread