public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "gcc-bugzilla at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ada/27936]  New: gnatbind fails to link on Tru64 UNIX
Date: Wed, 07 Jun 2006 18:04:00 -0000	[thread overview]
Message-ID: <bug-27936-81@http.gcc.gnu.org/bugzilla/> (raw)


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


             reply	other threads:[~2006-06-07 18:03 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-07 18:04 gcc-bugzilla at gcc dot gnu dot org [this message]
2006-06-07 18:07 ` [Bug ada/27936] [4.2 Regression] " ro at gcc dot gnu dot org
2006-06-08  8:17 ` charlet at adacore dot com
2006-06-08 17:26 ` ro at techfak dot uni-bielefeld dot de
2006-06-09  7:45 ` pinskia at gcc dot gnu dot org
2006-06-09  9:08 ` ebotcazou at gcc dot gnu dot org
2006-07-04 18:32 ` ro at gcc dot gnu dot org
2006-07-04 19:09 ` charlet at adacore dot com
2006-07-05 17:56 ` mmitchel at gcc dot gnu dot org
2006-10-01 21:50 ` falk at debian dot org
2006-10-03 16:13 ` ebotcazou at gcc dot gnu dot org
2006-11-17 15:10 ` [Bug ada/27936] [4.2/4.3 regression] gnatbind fails to link ebotcazou at gcc dot gnu dot org
2006-11-17 15:11 ` ebotcazou at gcc dot gnu dot org
2006-11-17 15:14 ` ebotcazou at gcc dot gnu dot org
2006-12-01  2:06 ` chaoyingfu at gcc dot gnu dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-27936-81@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).