public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: ada/9953: Build failures with Ada on HPUX 10
@ 2003-03-27 17:16 Geert Bosch
0 siblings, 0 replies; 4+ messages in thread
From: Geert Bosch @ 2003-03-27 17:16 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR ada/9953; it has been noted by GNATS.
From: Geert Bosch <bosch@gnat.com>
To: Olivier Hainque <hainque@ACT-Europe.FR>
Cc: gcc-patches@gcc.gnu.org, charlet@ACT-Europe.FR,
dave.anglin@nrc-cnrc.gc.ca, gcc-gnats@gcc.gnu.org
Subject: Re: ada/9953: Build failures with Ada on HPUX 10
Date: Thu, 27 Mar 2003 12:14:14 -0500
On Thursday, Mar 27, 2003, at 03:58 America/New_York, Olivier Hainque
wrote:
> Ok to commmit ?
Yes. Thanks for fixing this!
-Geert
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: ada/9953: Build failures with Ada on HPUX 10
@ 2003-03-28 17:26 Olivier Hainque
0 siblings, 0 replies; 4+ messages in thread
From: Olivier Hainque @ 2003-03-28 17:26 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR ada/9953; it has been noted by GNATS.
From: Olivier Hainque <hainque@ACT-Europe.FR>
To: law@redhat.com
Cc: gcc-patches@gcc.gnu.org, charlet@ACT-Europe.FR,
dave.anglin@nrc-cnrc.gc.ca, gcc-gnats@gcc.gnu.org, bosch@gnat.com,
hainque@ACT-Europe.FR
Subject: Re: ada/9953: Build failures with Ada on HPUX 10
Date: Fri, 28 Mar 2003 18:08:30 +0100
law@redhat.com wrote:
> Actually, there are two thread libraries on hpux10 (pthreads and dce), both
> are optional packages and only installed if you explicitly ask for them
> when installing hpux.
OK. Thanks for the clarification.
Only dce has ever been supported in GNAT for this target.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: ada/9953: Build failures with Ada on HPUX 10
@ 2003-03-28 17:16 law
0 siblings, 0 replies; 4+ messages in thread
From: law @ 2003-03-28 17:16 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR ada/9953; it has been noted by GNATS.
From: law@redhat.com
To: Olivier Hainque <hainque@ACT-Europe.FR>
Cc: gcc-patches@gcc.gnu.org, charlet@ACT-Europe.FR, dave.anglin@nrc-cnrc.gc.ca,
gcc-gnats@gcc.gnu.org, bosch@gnat.com
Subject: Re: ada/9953: Build failures with Ada on HPUX 10
Date: Fri, 28 Mar 2003 09:54:46 -0700
In message <20030327095828.A27519@rome.int.act-europe.fr>, Olivier Hainque writ
es:
>available there, and 2/ -lpthread ended up in the arguments of a number of
>commands issued during the build, causing failure because there is no pthread
>library on HPUX 10.
Actually, there are two thread libraries on hpux10 (pthreads and dce), both
are optional packages and only installed if you explicitly ask for them
when installing hpux.
jeff
^ permalink raw reply [flat|nested] 4+ messages in thread
* ada/9953: Build failures with Ada on HPUX 10
@ 2003-03-27 9:10 Olivier Hainque
0 siblings, 0 replies; 4+ messages in thread
From: Olivier Hainque @ 2003-03-27 9:10 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR ada/9953; it has been noted by GNATS.
From: Olivier Hainque <hainque@ACT-Europe.FR>
To: gcc-patches@gcc.gnu.org
Cc: charlet@ACT-Europe.FR, dave.anglin@nrc-cnrc.gc.ca,
gcc-gnats@gcc.gnu.org, bosch@gnat.com, hainque@ACT-Europe.FR
Subject: ada/9953: Build failures with Ada on HPUX 10
Date: Thu, 27 Mar 2003 09:58:28 +0100
This patch is what we eventually came up with to fix ada/9953, which is
about build failures with Ada on HPUX 10.
Two problems have been identified: 1/ A system specific s-traceb.adb was used
but only suited HPUX 11 because of references to system library functions only
available there, and 2/ -lpthread ended up in the arguments of a number of
commands issued during the build, causing failure because there is no pthread
library on HPUX 10.
The first attempts to fix this were making conditional parts in the existing
general gnatlib configuration section for HPUX in Makefile.in. The last one
was working but introduced some complexity which we'd prefer to avoid.
We eventually decided to go for a simpler approach which consists in making
independent sections for HPUX 10 and HPUX 11.
Complete build for c,ada (bootstrap+gnatlib and tools), as well as a couple of
simple tests were successful against 3.3 on hppa1.1-hp-hpux10.20 and 11.00.
Ok to commmit ?
----------------------------------
2003-03-27 Olivier Hainque <hainque@act-europe.fr>
ada/9953
* ada/Makefile.in (gnatlib configuration for HPUX): Split
the general section for HPUX into specific sections for
HPUX 10 and HPUX 11. Fix the setting of TGT_LIB in the HPUX
11 case.
Index: Makefile.in
===================================================================
RCS file: /cvs/gcc/gcc/gcc/ada/Makefile.in,v
retrieving revision 1.36.4.3
diff -c -3 -p -r1.36.4.3 Makefile.in
*** Makefile.in 29 Jan 2003 22:37:55 -0000 1.36.4.3
--- Makefile.in 27 Mar 2003 08:50:19 -0000
*************** ifeq ($(strip $(filter-out mips sgi irix
*** 750,756 ****
LIBRARY_VERSION := $(strip $(shell grep Library_Version $(fsrcpfx)gnatvsn.ads | sed -e 's/.*GNAT Lib v\(.*\)[ "].*/\1/'))
endif
! ifeq ($(strip $(filter-out hppa% hp hpux%,$(targ))),)
LIBGNAT_TARGET_PAIRS = \
a-intnam.ads<4hintnam.ads \
s-inmaop.adb<7sinmaop.adb \
--- 750,774 ----
LIBRARY_VERSION := $(strip $(shell grep Library_Version $(fsrcpfx)gnatvsn.ads | sed -e 's/.*GNAT Lib v\(.*\)[ "].*/\1/'))
endif
! ifeq ($(strip $(filter-out hppa% hp hpux10%,$(targ))),)
! LIBGNAT_TARGET_PAIRS = \
! a-excpol.adb<4wexcpol.adb \
! a-intnam.ads<4hintnam.ads \
! s-inmaop.adb<7sinmaop.adb \
! s-interr.adb<5ginterr.adb \
! s-intman.adb<7sintman.adb \
! s-osinte.adb<5hosinte.adb \
! s-osinte.ads<5hosinte.ads \
! s-parame.ads<5hparame.ads \
! s-osprim.adb<7sosprim.adb \
! s-taprop.adb<5htaprop.adb \
! s-taspri.ads<5htaspri.ads \
! s-tpopsp.adb<7stpopsp.adb \
! g-soccon.ads<3hsoccon.ads \
! system.ads<5hsystem.ads
! endif
!
! ifeq ($(strip $(filter-out hppa% hp hpux11%,$(targ))),)
LIBGNAT_TARGET_PAIRS = \
a-intnam.ads<4hintnam.ads \
s-inmaop.adb<7sinmaop.adb \
*************** ifeq ($(strip $(filter-out hppa% hp hpux
*** 766,772 ****
g-soccon.ads<3hsoccon.ads \
system.ads<5hsystem.ads
! TGT_LIB = /usr/lib/libcl.a -lpthread
THREADSLIB = -lpthread -lc_r
SYMLIB = -laddr2line -lbfd $(INTLLIBS)
soext = .sl
--- 784,790 ----
g-soccon.ads<3hsoccon.ads \
system.ads<5hsystem.ads
! TGT_LIB = /usr/lib/libcl.a
THREADSLIB = -lpthread -lc_r
SYMLIB = -laddr2line -lbfd $(INTLLIBS)
soext = .sl
*************** ifeq ($(strip $(filter-out hppa% hp hpux
*** 789,794 ****
--- 807,813 ----
g-soccon.ads<3hsoccon.ads \
system.ads<5hsystem.ads
+ TGT_LIB =
THREADSLIB = -lcma
endif
endif
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-03-28 17:16 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-27 17:16 ada/9953: Build failures with Ada on HPUX 10 Geert Bosch
-- strict thread matches above, loose matches on Subject: below --
2003-03-28 17:26 Olivier Hainque
2003-03-28 17:16 law
2003-03-27 9:10 Olivier Hainque
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).