This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/9953] [3.4 regression] Unsatisfied symbols: U_prep_frame_rec_for_unwind (code)
- From: "hainque at act-europe dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Jun 2003 15:12:20 -0000
- Subject: [Bug ada/9953] [3.4 regression] Unsatisfied symbols: U_prep_frame_rec_for_unwind (code)
- References: <20030304212600.9953.dave.anglin@nrc-cnrc.gc.ca>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9953
------- Additional Comments From hainque@act-europe.fr 2003-06-03 15:12 -------
Subject: Re: [3.4 regression] Unsatisfied symbols: U_prep_frame_rec_for_unwind (code)
This is about a build failure on HPUX10.20, complaining at some point that
"-lpthread" cannot be honored.
It is coming from a Linker_Option pragma in 5hsystem.ads, which should not be
there. Was added recently to 3.4 only, during some synchronization operation.
The patch below allows the build to proceed by removing the culprit lines.
It also removes the "ZCX_By_Default" bit, set during the same synchronization
option, and which needs other changes to be functional.
Full build successfull on HPUX11.00, ensuring that it does not break anything
there. I don't have a 10.20 machine handy at this point, but it should
definitely fix the problem at hand, and apart from a couple of simple changes,
it basically reverts the file to it's 3.3 state, where the builds have been
reported to succeed.
OK to commit ?
Olivier
Index: 5hsystem.ads
===================================================================
RCS file: /cvs/gcc/gcc/gcc/ada/5hsystem.ads,v
retrieving revision 1.5
diff -c -3 -p -r1.5 5hsystem.ads
*** 5hsystem.ads 24 Apr 2003 17:53:51 -0000 1.5
--- 5hsystem.ads 3 Jun 2003 14:59:43 -0000
*************** pragma Pure (System);
*** 101,109 ****
private
- pragma Linker_Options ("-lpthread");
- -- To ease supporting --enable-threads=posix at configure-time.
-
type Address is mod Memory_Size;
Null_Address : constant Address := 0;
--- 101,106 ----
*************** private
*** 135,141 ****
Stack_Check_Default : constant Boolean := False;
Stack_Check_Probes : constant Boolean := False;
Use_Ada_Main_Program_Name : constant Boolean := False;
! ZCX_By_Default : constant Boolean := True;
GCC_ZCX_Support : constant Boolean := True;
Front_End_ZCX_Support : constant Boolean := False;
--- 132,138 ----
Stack_Check_Default : constant Boolean := False;
Stack_Check_Probes : constant Boolean := False;
Use_Ada_Main_Program_Name : constant Boolean := False;
! ZCX_By_Default : constant Boolean := False;
GCC_ZCX_Support : constant Boolean := True;
Front_End_ZCX_Support : constant Boolean := False;
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.