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

* [Bug ada/24356] Unable to build gnatmake
  2005-10-13 20:08 [Bug ada/24356] New: Unable to build gnatmake bugzilla-gcc at thewrittenword dot com
@ 2005-10-23  4:48 ` danglin at gcc dot gnu dot org
  2005-10-23 16:36 ` bugzilla-gcc at thewrittenword dot com
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: danglin at gcc dot gnu dot org @ 2005-10-23  4:48 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from danglin at gcc dot gnu dot org  2005-10-23 04:48 -------
Are U_IS_STUB_OR_CALLX and U_is_shared_pc in libcl.a on 11.23?  Do you
know if the 11.23 release notes document the observed changes to libcl.


-- 


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


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

* [Bug ada/24356] Unable to build gnatmake
  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
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-gcc at thewrittenword dot com @ 2005-10-23 16:36 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 902 bytes --]



------- Comment #2 from bugzilla-gcc at thewrittenword dot com  2005-10-23 16:36 -------
  $ nm /usr/lib/libcl.a | egrep 'U_IS_STUB_OR_CALLX|U_is_shared_pc'
U_IS_STUB_OR_CALLX  |          |undef |code   |
U_IS_STUB_OR_CALLX  |       572|extern|entry  |$CODE$
U_is_shared_pc      |          |undef |code   |
U_is_shared_pc      |       124|extern|entry  |$CODE$

There is one libcl patch for 11.23, PHSS_33405, but the defect
description doesn't indicate anything that will help this situation.

The only thing interesting in the release notes (but for Itanium):
  Itanium®-based Unwind Library (libunwind.so): Changes include a new set of
  “Unwind Express” APIs that perform stack unwinding considerably faster, and
  new header files <uwx.h> and <uwx_self.h>.

Release notes are available at:
  http://docs.hp.com/en/oshpux11iv2oe.html


-- 


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


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

* [Bug ada/24356] Unable to build gnatmake
  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
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: laurent at guerby dot net @ 2006-01-06 22:18 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from laurent at guerby dot net  2006-01-06 22:18 -------
Is 4.1 or 4.2 building there now?


-- 


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



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

* [Bug ada/24356] Unable to build gnatmake
  2005-10-13 20:08 [Bug ada/24356] New: Unable to build gnatmake bugzilla-gcc at thewrittenword dot com
                   ` (2 preceding siblings ...)
  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
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-gcc at thewrittenword dot com @ 2006-01-06 22:32 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from bugzilla-gcc at thewrittenword dot com  2006-01-06 22:32 -------
(In reply to comment #3)
> Is 4.1 or 4.2 building there now?

Dunno. Will try and find some time to build 4.1 soon.


-- 


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



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

* [Bug ada/24356] Unable to build gnatmake
  2005-10-13 20:08 [Bug ada/24356] New: Unable to build gnatmake bugzilla-gcc at thewrittenword dot com
                   ` (3 preceding siblings ...)
  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
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: dave at hiauly1 dot hia dot nrc dot ca @ 2006-01-06 23:04 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from dave at hiauly1 dot hia dot nrc dot ca  2006-01-06 23:04 -------
Subject: Re:  Unable to build gnatmake

> ------- Comment #3 from laurent at guerby dot net  2006-01-06 22:18 -------
> Is 4.1 or 4.2 building there now?

I see HP has a new libcl patch:

PHSS_33903 - s700_800 11.23 LIBCL patch

 HP-UX series 700 11.X patch digest,HP-UX series 800 11.X patch digest
 HP-UX,UNIX
2005/12/22  s700_800 11.23 LIBCL patch

Dave


-- 


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



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

* [Bug ada/24356] Unable to build gnatmake
  2005-10-13 20:08 [Bug ada/24356] New: Unable to build gnatmake bugzilla-gcc at thewrittenword dot com
                   ` (4 preceding siblings ...)
  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
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-gcc at thewrittenword dot com @ 2006-01-06 23:18 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from bugzilla-gcc at thewrittenword dot com  2006-01-06 23:18 -------
(In reply to comment #5)
> I see HP has a new libcl patch:
> 
> PHSS_33903 - s700_800 11.23 LIBCL patch
> 
>  HP-UX series 700 11.X patch digest,HP-UX series 800 11.X patch digest
>  HP-UX,UNIX 2005/12/22  s700_800 11.23 LIBCL patch

The list of changes relative to our current version PHSS_33405:
  JAGaf80041: Applications built with -Wl,-a,archive -z i
              result in a run time core dump
  JAGaf77560: f90 application aborting when trying to
              write shared common data to stdout

So, I don't expect the new patch to resolve this problem on 4.0.2.


-- 


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



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

* [Bug ada/24356] Unable to build gnatmake
  2005-10-13 20:08 [Bug ada/24356] New: Unable to build gnatmake bugzilla-gcc at thewrittenword dot com
                   ` (5 preceding siblings ...)
  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
  8 siblings, 0 replies; 10+ messages in thread
From: dave at hiauly1 dot hia dot nrc dot ca @ 2006-01-07  0:10 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from dave at hiauly1 dot hia dot nrc dot ca  2006-01-07 00:10 -------
Subject: Re:  Unable to build gnatmake

> ------- Comment #3 from laurent at guerby dot net  2006-01-06 22:18 -------
> Is 4.1 or 4.2 building there now?

Albert, it looks like replacing "/usr/lib/libcl.a" with
"-lcl /usr/lib/libcl.a" might work.  The shared form seems to
provide U_prep_frame_rec_for_unwind and the archive version
seems to provide U_IS_STUB_OR_CALLX and U_is_shared_pc.

Dave


-- 


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



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

* [Bug ada/24356] Unable to build gnatmake
  2005-10-13 20:08 [Bug ada/24356] New: Unable to build gnatmake bugzilla-gcc at thewrittenword dot com
                   ` (6 preceding siblings ...)
  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
  8 siblings, 0 replies; 10+ messages in thread
From: laurent at guerby dot net @ 2006-01-26  8:02 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from laurent at guerby dot net  2006-01-26 08:02 -------
Waiting for feedback.


-- 

laurent at guerby dot net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


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


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

* [Bug ada/24356] Unable to build gnatmake
  2005-10-13 20:08 [Bug ada/24356] New: Unable to build gnatmake bugzilla-gcc at thewrittenword dot com
                   ` (7 preceding siblings ...)
  2006-01-26  8:02 ` laurent at guerby dot net
@ 2007-04-30  9:49 ` charlet at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: charlet at gcc dot gnu dot org @ 2007-04-30  9:49 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from charlet at gcc dot gnu dot org  2007-04-30 10:49 -------
No feedback in more than a year, assuming reporter no longer cares about
this PR.


-- 

charlet at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |INVALID


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