public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/24356]  New: Unable to build gnatmake
@ 2005-10-13 20:08 bugzilla-gcc at thewrittenword dot com
  2005-10-23  4:48 ` [Bug ada/24356] " danglin at gcc dot gnu dot org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: bugzilla-gcc at thewrittenword dot com @ 2005-10-13 20:08 UTC (permalink / raw)
  To: gcc-bugs

I've built gcc-4.0.2 successfully with ADA on HP-UX 11.00 and 11.11. Trying on
11.23/PA using the 11.00 gcc-3.3.2 binaries:
  ...
cp -p /opt/build/gcc-4.0.2/gcc/ada/sinfo.ads
/opt/build/gcc-4.0.2/gcc/ada/nmake.adt /opt/build/gcc-4.0.2/gcc/ada/xnmake.adb
ada/bldtools/nmake_b
(cd ada/bldtools/nmake_b; gnatmake -q xnmake ; ./xnmake -b ../../nmake.adb )
Execution of code located on a program's stack is not permitted.
cmd: /opt/build/gnat/libexec/gcc/hppa1.1-hp-hpux11.00/3.4.3/gnat1 -quiet
-dumpbase xnmake.adb -mschedule=7100LC xnmake.adb -o /var/t
Execution of code located on a program's stack is not permitted.
cmd: /opt/build/gnat/libexec/gcc/hppa1.1-hp-hpux11.00/3.4.3/gnat1 -quiet
-dumpbase xnmake.adb -mschedule=7100LC xnmake.adb -o /var/t
Execution of code located on a program's stack is not permitted.
cmd: /opt/build/gnat/libexec/gcc/hppa1.1-hp-hpux11.00/3.4.3/gnat1 -quiet
-dumpbase xnmake.adb -mschedule=7100LC xnmake.adb -o /var/t
Execution of code located on a program's stack is not permitted.
cmd: /opt/build/gnat/libexec/gcc/hppa1.1-hp-hpux11.00/3.4.3/gnat1 -quiet
-dumpbase b~xnmake.adb -gnatA -gnatWb -gnatiw -gnatws -msch
Execution of code located on a program's stack is not permitted.
cmd: /opt/build/gnat/libexec/gcc/hppa1.1-hp-hpux11.00/3.4.3/gnat1 -quiet
-dumpbase b~xnmake.adb -gnatA -gnatWb -gnatiw -gnatws -msch
/usr/ccs/bin/ld: Unsatisfied symbols:
   U_prep_frame_rec_for_unwind (first referenced in
/opt/build/gnat/lib/gcc/hppa1.1-hp-hpux11.00/3.4.3/adalib/libgnat.a(s-traceb.o))
(code)
collect2: ld returned 1 exit status

If I use some of the Ada binaries from HP-UX 11i on 11.23, I get farther:
  ...
../../xgcc -B../../ -DIN_GCC   `echo -O2 -g -O2 -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes  |sed -e 's/-pedantic//g' -e
's/-Wtraditional//g'`   -o ../../gnatmake b_gnatm.o a-except.o ctrl_c.o ali.o
ali-util.o s-casuti.o alloc.o atree.o binderr.o butil.o casing.o csets.o
debug.o elists.o einfo.o erroutc.o errutil.o err_vars.o fmap.o fname.o
fname-uf.o fname-sf.o gnatmake.o gnatvsn.o hostparm.o interfac.o i-c.o
i-cstrin.o krunch.o lib.o make.o makeusg.o makeutl.o mlib.o mlib-fil.o
mlib-prj.o mlib-tgt.o mlib-utl.o namet.o nlists.o opt.o osint.o osint-m.o
output.o prj.o prj-attr.o prj-attr-pm.o prj-com.o prj-dect.o prj-env.o
prj-err.o prj-ext.o prj-nmsc.o prj-pars.o prj-part.o prj-proc.o prj-strt.o
prj-tree.o prj-util.o rident.o s-exctab.o s-secsta.o s-stalib.o s-stoele.o
scans.o scng.o sdefault.o sfn_scan.o s-purexc.o s-htable.o sinfo.o sinput.o
sinput-c.o sinput-p.o snames.o stand.o stringt.o styleg.o stylesw.o system.o
validsw.o switch.o switch-m.o table.o targparm.o tempdir.o tree_io.o types.o
uintp.o  uname.o urealp.o usage.o widechar.o  \
      ../rts/libgnat.a  ../../prefix.o ../../version.o link.o
../../../libiberty/libiberty.a  /usr/lib/libcl.a
/usr/ccs/bin/ld: Unsatisfied symbols:
   U_prep_frame_rec_for_unwind (first referenced in
../rts/libgnat.a(s-traceb.o)) (code)
collect2: ld returned 1 exit status
gmake[4]: *** [../../gnatmake] Error 1
gmake[4]: Leaving directory `/opt/build/gcc-4.0.2-objdir/gcc/ada/tools'

On HP-UX 11.00:
  $ nm /usr/lib/libcl.a | grep U_prep_frame_rec_for_unwind
U_prep_frame_rec_for_unwind|          |undef |code   |
U_prep_frame_rec_for_unwind|          |undef |code   |
U_prep_frame_rec_for_unwind|      2132|extern|entry  |$CODE$
U_prep_frame_rec_for_unwind|          |undef |code   |
U_prep_frame_rec_for_unwind|          |undef |code   |
U_prep_frame_rec_for_unwind|          |undef |code   |
U_prep_frame_rec_for_unwind|          |undef |code   |
  $ nm /usr/lib/libcl.sl | grep U_prep_frame_rec_for_unwind
U_prep_frame_rec_for_unwind|    406884|uext  |stub   |
U_prep_frame_rec_for_unwind|    739100|uext  |stub   |
U_prep_frame_rec_for_unwind|    813672|extern|entry  |
U_prep_frame_rec_for_unwind|    813696|extern|code   |$CODE$

On HP-UX 11.11:
  $ nm /usr/lib/libcl.a | grep U_prep_frame_rec_for_unwind
U_prep_frame_rec_for_unwind|          |undef |code   |
U_prep_frame_rec_for_unwind|          |undef |code   |
U_prep_frame_rec_for_unwind|      2132|extern|entry  |$CODE$
U_prep_frame_rec_for_unwind|          |undef |code   |
U_prep_frame_rec_for_unwind|          |undef |code   |
U_prep_frame_rec_for_unwind|          |undef |code   |
U_prep_frame_rec_for_unwind|          |undef |code   |
  $ nm /usr/lib/libcl.sl | grep U_prep_frame_rec_for_unwind
U_prep_frame_rec_for_unwind|    406884|uext  |stub   |
U_prep_frame_rec_for_unwind|    739100|uext  |stub   |
U_prep_frame_rec_for_unwind|    813672|extern|entry  |
U_prep_frame_rec_for_unwind|    813696|extern|code   |$CODE$

On HP-UX 11.23:
  $ nm /usr/lib/libcl.a | grep U_prep_frame_rec_for_unwind
  $ nm /usr/lib/libcl.sl | grep U_prep_frame_rec_for_unwind
U_prep_frame_rec_for_unwind|    406884|uext  |stub   |
U_prep_frame_rec_for_unwind|    739100|uext  |stub   |
U_prep_frame_rec_for_unwind|    813672|extern|entry  |
U_prep_frame_rec_for_unwind|    813696|extern|code   |$CODE$

Replacing the /usr/lib/libcl.a above with -lcl I get:
/usr/ccs/bin/ld: Unsatisfied symbols:
   U_IS_STUB_OR_CALLX (first referenced in ../rts/libgnat.a(s-traceb.o)) (code)
   U_is_shared_pc (first referenced in ../rts/libgnat.a(s-traceb.o)) (code)
collect2: ld returned 1 exit status


-- 
           Summary: Unable to build gnatmake
           Product: gcc
           Version: 4.0.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: ada
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bugzilla-gcc at thewrittenword dot com
 GCC build triplet: hppa2.0w-hp-hpux11.23
  GCC host triplet: hppa2.0w-hp-hpux11.23
GCC target triplet: hppa2.0w-hp-hpux11.23


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


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

end of thread, other threads:[~2007-04-30  9:49 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-13 20:08 [Bug ada/24356] New: Unable to build gnatmake bugzilla-gcc at thewrittenword dot com
2005-10-23  4:48 ` [Bug ada/24356] " danglin at gcc dot gnu dot org
2005-10-23 16:36 ` bugzilla-gcc at thewrittenword dot com
2006-01-06 22:18 ` laurent at guerby dot net
2006-01-06 22:32 ` bugzilla-gcc at thewrittenword dot com
2006-01-06 23:04 ` dave at hiauly1 dot hia dot nrc dot ca
2006-01-06 23:18 ` bugzilla-gcc at thewrittenword dot com
2006-01-07  0:10 ` dave at hiauly1 dot hia dot nrc dot ca
2006-01-26  8:02 ` laurent at guerby dot net
2007-04-30  9:49 ` charlet at gcc dot gnu dot 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).