public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/46704] New: ada bootstrap failure on arm-linux-gnueabi
@ 2010-11-29  9:17 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
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: doko at ubuntu dot com @ 2010-11-29  9:17 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46704

           Summary: ada bootstrap failure on arm-linux-gnueabi
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ada
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: doko@ubuntu.com


trunk 20101116 was the last one to build (with the patch suggested in PR46040),
20101128 fails. both builds done with binutils from the 2.21 branch.

gcc is configured with
     --with-arch=armv7-a
     --with-float=softfp
     --with-fpu=vfpv3-d16
     --with-mode=thumb

gnatgcc -static-libgcc  -o gnat1 ada/b_gnat1.o ada/adadecode.o ada/adaint.o
ada/cstreams.o ada/cio.o ada/targtyps.o ada/decl.o ada/misc.o ada/utils.o
ada/utils2.o ada/trans.o ada/cuintp.o ada/argv.o ada/raise.o ada/init.o
ada/tracebak.o ada/initialize.o ada/env.o ada/a-charac.o ada/a-chlat1.o
ada/a-elchha.o ada/a-except.o ada/a-ioexce.o ada/ada.o ada/ali.o ada/alloc.o
ada/aspects.o ada/atree.o ada/butil.o ada/casing.o ada/checks.o ada/comperr.o
ada/csets.o ada/cstand.o ada/debug.o ada/debug_a.o ada/einfo.o ada/elists.o
ada/err_vars.o ada/errout.o ada/erroutc.o ada/eval_fat.o ada/exp_aggr.o
ada/exp_atag.o ada/exp_attr.o ada/exp_cg.o ada/exp_ch11.o ada/exp_ch12.o
ada/exp_ch13.o ada/exp_ch2.o ada/exp_ch3.o ada/exp_ch4.o ada/exp_ch5.o
ada/exp_ch6.o ada/exp_ch7.o ada/exp_ch8.o ada/exp_ch9.o ada/exp_code.o
ada/exp_dbug.o ada/exp_disp.o ada/exp_dist.o ada/exp_fixd.o ada/exp_imgv.o
ada/exp_intr.o ada/exp_pakd.o ada/exp_prag.o ada/exp_sel.o ada/exp_smem.o
ada/exp_strm.o ada/exp_tss.o ada/exp_util.o ada/exp_vfpt.o ada/expander.o
ada/fmap.o ada/fname-uf.o ada/fname.o ada/freeze.o ada/frontend.o
ada/g-byorma.o ada/g-hesora.o ada/g-htable.o ada/g-spchge.o ada/g-speche.o
ada/g-u3spch.o ada/get_scos.o ada/get_targ.o ada/gnat.o ada/gnatvsn.o ada/hlo.o
ada/hostparm.o ada/impunit.o ada/inline.o ada/interfac.o ada/itypes.o
ada/krunch.o ada/layout.o ada/lib-load.o ada/lib-util.o ada/lib-writ.o
ada/lib-xref.o ada/lib.o ada/live.o ada/namet-sp.o ada/namet.o ada/nlists.o
ada/nmake.o ada/opt.o ada/osint-c.o ada/osint.o ada/output.o ada/par.o
ada/par_sco.o ada/prep.o ada/prepcomp.o ada/put_scos.o ada/repinfo.o
ada/restrict.o ada/rident.o ada/rtsfind.o ada/s-addope.o ada/s-assert.o
ada/s-bitops.o ada/s-carun8.o ada/s-casuti.o ada/s-conca2.o ada/s-conca3.o
ada/s-conca4.o ada/s-conca5.o ada/s-conca6.o ada/s-conca7.o ada/s-conca8.o
ada/s-conca9.o ada/s-crc32.o ada/s-crtl.o ada/s-except.o ada/s-exctab.o
ada/s-htable.o ada/s-imenne.o ada/s-imgenu.o ada/s-mastop.o ada/s-memory.o
ada/s-os_lib.o ada/s-parame.o ada/s-purexc.o ada/s-restri.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-strcom.o ada/s-strhas.o ada/s-string.o
ada/s-strops.o ada/s-traceb.o ada/s-traent.o ada/s-unstyp.o ada/s-utf_32.o
ada/s-wchcnv.o ada/s-wchcon.o ada/s-wchjis.o ada/scans.o ada/scil_ll.o
ada/scn.o ada/scng.o ada/scos.o ada/sdefault.o ada/seh_init.o ada/sem.o
ada/sem_aggr.o ada/sem_attr.o ada/sem_aux.o ada/sem_case.o ada/sem_cat.o
ada/sem_ch10.o ada/sem_ch11.o ada/sem_ch12.o ada/sem_ch13.o ada/sem_ch2.o
ada/sem_ch3.o ada/sem_ch4.o ada/sem_ch5.o ada/sem_ch6.o ada/sem_ch7.o
ada/sem_ch8.o ada/sem_ch9.o ada/sem_disp.o ada/sem_dist.o ada/sem_elab.o
ada/sem_elim.o ada/sem_eval.o ada/sem_intr.o ada/sem_mech.o ada/sem_prag.o
ada/sem_res.o ada/sem_scil.o ada/sem_smem.o ada/sem_type.o ada/sem_util.o
ada/sem_vfpt.o ada/sem_warn.o ada/sinfo-cn.o ada/sinfo.o ada/sinput-d.o
ada/sinput-l.o ada/sinput.o ada/snames.o ada/sprint.o ada/stand.o ada/stringt.o
ada/style.o ada/styleg.o ada/stylesw.o ada/switch-c.o ada/switch.o ada/system.o
ada/table.o ada/targext.o ada/targparm.o ada/tbuild.o ada/tree_gen.o
ada/tree_in.o ada/tree_io.o ada/treepr.o ada/treeprs.o ada/ttypes.o ada/types.o
ada/uintp.o ada/uname.o ada/urealp.o ada/usage.o ada/validsw.o ada/widechar.o
ada/back_end.o ada/gnat1drv.o prefix.o main.o tree-browser.o libbackend.a
../libcpp/libcpp.a ../libdecnumber/libdecnumber.a attribs.o ../libcpp/libcpp.a 
 ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a   -lcloog -lppl_c
-lppl -lgmpxx -lmpc -lmpfr -lgmp -rdynamic -ldl  -lz -g -fkeep-inline-functions
ada/a-charac.o:(.debug_aranges+0x6): undefined reference to `.Ldebug_info0'
ada/ada.o:(.debug_aranges+0x6): undefined reference to `.Ldebug_info0'
ada/alloc.o:(.debug_aranges+0x6): undefined reference to `.Ldebug_info0'
ada/g-htable.o:(.debug_aranges+0x6): undefined reference to `.Ldebug_info0'
ada/g-spchge.o:(.debug_aranges+0x6): undefined reference to `.Ldebug_info0'
ada/get_scos.o:(.debug_aranges+0x6): more undefined references to
`.Ldebug_info0' follow
/usr/bin/ld: warning: .init_array section has zero size
/usr/bin/ld: warning: .fini_array section has zero size
collect2: ld returned 1 exit status
make[5]: *** [gnat1] Error 1
make[5]: Leaving directory `/build/buildd/gcc-snapshot-20101128/build/gcc'
make[4]: *** [all-stage1-gcc] Error 2


^ 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 ` 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

end of thread, other threads:[~2011-01-12  7:47 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2010-12-29 16:52 ` laurent at guerby dot net
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
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
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

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).