From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17634 invoked by alias); 7 Jun 2006 18:03:03 -0000 Received: (qmail 17418 invoked by alias); 7 Jun 2006 18:02:21 -0000 Date: Wed, 07 Jun 2006 18:04:00 -0000 Subject: [Bug ada/27936] New: gnatbind fails to link on Tru64 UNIX X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "gcc-bugzilla at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-06/txt/msg00827.txt.bz2 List-Id: Bootstrapping current mainline with Ada included fails on Tru64 UNIX V5.1B when linking gnatbind: /vol/gccsrc/obj/gcc-4.2.0-20060606/5.1b-gcc/./prev-gcc/xgcc -B/vol/gccsrc/obj/gcc-4.2.0-20060606/5.1b-gcc/./prev-gcc/ -B/vol/gcc/alpha-dec-osf5.1b/bin/ -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition -Wmissing-format-attribute -Werror -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/gnat! bind.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 -liconv ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a -lexc system__pure_exceptions___elabs system__pure_exceptions_E collect2: ld returned 1 exit status make[3]: *** [gnatbind] Error 1 This happens since at least 20060503. With nm, I find that those symbols are referenced in b_gnat[1b].o, but defined in s-purexc.o which isn't linked: b_gnat1.o system__pure_exceptions_E | 0000000000000000 | U | 0000000000000000 system__pure_exceptions___elabs | 0000000000000000 | U | 0000000000000000 b_gnatb.o system__pure_exceptions_E | 0000000000000000 | U | 0000000000000000 system__pure_exceptions___elabs | 0000000000000000 | U | 0000000000000000 s-purexc.o $system__pure_exceptions___elabs..ng | 0000000000000000 | N | 0000000000000000 system__pure_exceptions_E | 0000000000000004 | C | 0000000000000000 system__pure_exceptions___elabs | 0000000000000016 | T | 0000000000000008 Environment: System: OSF1 bartok V5.1 2650 alpha Machine: alpha host: alpha-dec-osf5.1b build: alpha-dec-osf5.1b target: alpha-dec-osf5.1b configured with: /vol/gcc/src/gcc-dist/configure --prefix=/vol/gcc --with-local-prefix=/vol/gcc --disable-nls --host alpha-dec-osf5.1b --build alpha-dec-osf5.1b --target alpha-dec-osf5.1b --with-gmp-dir=/vol/gnu/obj/gmp-4.1.3 --with-mpfr-dir=/vol/gnu/obj/gmp-4.1.3/mpfr --enable-languages=c,c++,fortran,java,objc,ada --disable-libmudflap How-To-Repeat: Bootstrap mainline as described above. ------- Comment #1 from ro at techfak dot uni-bielefeld dot de 2006-06-07 18:02 ------- Fix: Add ada/s-purexc.o to ada/Make-lang.in (GNATBIND_OBJS). If this is considered the correct fix, I'll submit a proper patch. -- Summary: gnatbind fails to link on Tru64 UNIX Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: ada AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: ro at techfak dot uni-bielefeld dot de GCC build triplet: alpha-dec-osf5.1b GCC host triplet: alpha-dec-osf5.1b GCC target triplet: alpha-dec-osf5.1b http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27936