public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/57128] New: gcc-gnat problem halts gcc build
@ 2013-04-30 20:10 jrt at worldlinc dot net
  2013-04-30 21:14 ` [Bug ada/57128] " ebotcazou at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: jrt at worldlinc dot net @ 2013-04-30 20:10 UTC (permalink / raw)
  To: gcc-bugs


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

             Bug #: 57128
           Summary: gcc-gnat problem halts gcc build
    Classification: Unclassified
           Product: gcc
           Version: 4.6.4
            Status: UNCONFIRMED
          Severity: blocker
          Priority: P3
         Component: ada
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: jrt@worldlinc.net


Attempted build: GCC-4.6.4 with all components
System: i686-pc-linux-gnu
Additional system info: gcc-4.4.7, g++-4.4.7, binutils 2.19.5-something,
glibc-2.10.1, no gcc-java installed as it's been buggy. But if it's required to
build gcc-gnat, the configure script should have tested for it or compiled a
new gcc-java before any ada files.

Options for configure: /usr/local/gcc-4.6.4/configure --prefix=/usr
--enable-build-with-cxx --enable-languages=ada,c,c++,fortran,go,java,lto,objc
Commandline that triggered the bug (it's big):
gcc -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 -lpwl -lgmpxx -lmpc -lmpfr -lgmp -rdynamic -ldl  -L../zlib -lz -g

The compiler output (head and tail, total=21 full console pages:
ada/b_gnat1.o: In function `adafinal()':
/home/dilbert/bld464/gcc/ada/b_gnat1.c:97: undefined reference to
`system__standard_library__adafinal()'
ada/b_gnat1.o: In function `adainit()':
/home/dilbert/bld464/gcc/ada/b_gnat1.c:302: undefined reference to
`system__soft_links___elabb()'
/home/dilbert/bld464/gcc/ada/b_gnat1.c:306: undefined reference to
`system__secondary_stack___elabb()'
/home/dilbert/bld464/gcc/ada/b_gnat1.c:310: undefined reference to
`system__exception_table___elabb()'
/home/dilbert/bld464/gcc/ada/b_gnat1.c:314: undefined reference to
`system__assertions___elabs()'
/home/dilbert/bld464/gcc/ada/b_gnat1.c:318: undefined reference to
`system__os_lib___elabb()'
/home/dilbert/bld464/gcc/ada/b_gnat1.c:322: undefined reference to
`system__utf_32___elabb()'
/home/dilbert/bld464/gcc/ada/b_gnat1.c:327: undefined reference to
`rident___elabs()'
/home/dilbert/bld464/gcc/ada/b_gnat1.c:331: undefined reference to
`types___elabs()'
/home/dilbert/bld464/gcc/ada/b_gnat1.c:335: undefined reference to
`hostparm___elabs()'
/home/dilbert/bld464/gcc/ada/b_gnat1.c:339: undefined reference to
`opt___elabs()'
/home/dilbert/bld464/gcc/ada/b_gnat1.c:342: undefined reference to
`csets___elabb()'
/home/dilbert/bld464/gcc/ada/b_gnat1.c:346: undefined reference to
`output___elabs()'
/home/dilbert/bld464/gcc/ada/b_gnat1.c:351: undefined reference to
`rtsfind___elabs()'
/home/dilbert/bld464/gcc/ada/b_gnat1.c:354: undefined reference to
`scos___elabs()'
/home/dilbert/bld464/gcc/ada/b_gnat1.c:360: undefined reference to
`tree_io___elabs()'
/home/dilbert/bld464/gcc/ada/b_gnat1.c:366: undefined reference to
`elists___elabb()'
..........................................
21 console pages of errors like these
..........................................
/usr/local/gcc-4.6.4/gcc/ada/ttypes.ads:205: undefined reference to
`get_target_strict_alignment'
/usr/local/gcc-4.6.4/gcc/ada/ttypes.ads:208: undefined reference to
`get_target_double_float_alignment'
/usr/local/gcc-4.6.4/gcc/ada/ttypes.ads:213: undefined reference to
`get_target_double_scalar_alignment'
ada/back_end.o: In function `back_end__call_back_end':
/usr/local/gcc-4.6.4/gcc/ada/back_end.adb:133: undefined reference to `gigi'
collect2: ld returned 1 exit status
make[3]: *** [gnat1] Error 1
make[3]: Leaving directory `/home/dilbert/bld464/gcc'
make[2]: *** [all-stage1-gcc] Error 2
make[2]: Leaving directory `/home/dilbert/bld464'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/home/dilbert/bld464'
make: *** [all] Error 2

Preprocessed file that triggers the bug: Sorry, I don't have it and don't know
how to get it. Adding -save-temps to the configure commandline didn't do it.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug ada/57128] gcc-gnat problem halts gcc build
  2013-04-30 20:10 [Bug ada/57128] New: gcc-gnat problem halts gcc build jrt at worldlinc dot net
@ 2013-04-30 21:14 ` ebotcazou at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2013-04-30 21:14 UTC (permalink / raw)
  To: gcc-bugs


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

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |ebotcazou at gcc dot
                   |                            |gnu.org
         Resolution|                            |INVALID

--- Comment #1 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2013-04-30 21:14:48 UTC ---
Do not configure with --enable-build-with-cxx.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-04-30 21:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-30 20:10 [Bug ada/57128] New: gcc-gnat problem halts gcc build jrt at worldlinc dot net
2013-04-30 21:14 ` [Bug ada/57128] " 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).