public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: Olivier Hainque <hainque@ACT-Europe.FR> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, Subject: ada/9953: Build failures with Ada on HPUX 10 Date: Thu, 27 Mar 2003 09:10:00 -0000 [thread overview] Message-ID: <20030327090600.20922.qmail@sources.redhat.com> (raw) 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
next reply other threads:[~2003-03-27 9:06 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2003-03-27 9:10 Olivier Hainque [this message] 2003-03-27 17:16 Geert Bosch 2003-03-28 17:16 law 2003-03-28 17:26 Olivier Hainque
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=20030327090600.20922.qmail@sources.redhat.com \ --to=hainque@act-europe.fr \ --cc=gcc-prs@gcc.gnu.org \ --cc=nobody@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: linkBe 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).