This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: current hpux status


>-----Original Message-----
>From: Alexandre Oliva [mailto:aoliva@redhat.com]
>Sent: 26 January 2001 16:42


  Hi Alexandre, PMFBI, but...


>On Jan 26, 2001, "John David Anglin" <dave@hiauly1.hia.nrc.ca> wrote:
>
>>> On Jan 26, 2001, Christian Iseli <chris@ludwig-alpha.unil.ch> wrote:
>>> 
>>> > --disable-shared and still insists on building using 
>-fPIC -DPIC ...
>>> 
>>> > Might be some configury trouble ?
>>> 
>>> Nope.  libgcc is *always* built with -fPIC.
>
>> libgcc?  The failure occured building the support section of 
>libstdc++.
>
>libsupc++ must be PIC for the same reasons as libgcc.

  Can you point me at a summary of those reasons (in the libgcc case)? One
of the problems with VxWorks-powerpc is that PIC (to be precise, SysV/EABI
relocation type 18 == PLT_RELOC24) isn't supported by the VxWorks dynamic
loader.  I've patched this in my development sources by adding a new t- file
that excludes the mrelocatable option, and it seems to work OK for me,
but I'd like to get a clue at what might be broken as a result.

   cheers, 
      DaveK
-- 
The Boulder Pledge: "Under no circumstances will I ever purchase anything 
offered to me as the result of an unsolicited email message. Nor will I 
forward chain letters, petitions, mass mailings, or virus warnings to large 
numbers of others. This is my contribution to the survival of the online
community."


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]