This is the mail archive of the libc-hacker@cygnus.com mailing list for the glibc project.


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

Re: Please compile glibc 2 with egcs 1.1.1/Linux


On Wed, 20 Jan 1999 10:28:19 -0800 (PST), H.J. Lu wrote:
>> 
>> On Wed, 20 Jan 1999 09:29:26 -0800 (PST), H.J. Lu wrote:
>> >It just comes to me that we should compile glibc 2 with egcs
>> >1.1.1/Linux if you plan to distribute glibc 2 binaries or binaries
>> >linked against shared glibc 2. Otherwise, you will run into problems
>> >where __register_frame_info may be defined in your libm.so, but
>> >not in others' libm.so. With egcs 1.1.1/Linux, libm.so leaves
>> >__register_frame_info undefined and weak.
>> 
>> 
>> None of the official releases of EGCS get __r_f_i right.  Is this 
>> `egcs 1.1.1/Linux' you refer to your patched version?
>
>Yes.
>
>> 
>> And it still gets it wrong if libm.so has even a weak reference.  It must
>> not be there AT ALL.
>
>If that is a problem, we should have our own crt*.o for libm.so in glibc
>2.1.

No.  g++ should have a special crtbegin.o that calls the frame functions.

zw


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