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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, v3] Potential solution to librt issue.


On Fri, Jul 25, 2008 at 8:07 AM, Paolo Carlini <paolo.carlini@oracle.com> wrote:
> Hi,
>
>> We agree on everything else, including the opinion that run-time
>> failures are bad.
>
> Ok, great.
>
> Paolo, I tried applying your patch for basic testing without the library bits, but compilation breaks like this:
>
> ../../trunk/gcc/config/linux.h:82:1: warning: "BASE_LIB_SPEC" redefined
> ../../trunk/gcc/config/linux.h:71:1: warning: this is the location of the previous definition
> ../../trunk/gcc/config/linux.h:87:2: error: #else after #else
> ../../trunk/gcc/config/linux.h:76:1: error: the conditional began here
> ../../trunk/gcc/config/linux.h:76:1: error: unterminated #else
>
> Could you possibly tweak it and rediff?
>
> Thanks,
> Paolo.
>
>

I modified Paolo's original patch as attached, not sure if its 100% correct.

Chris

Attachment: librt_asneeded_patch.txt
Description: Text document


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