[PATCH, v3] Potential solution to librt issue.

Chris Fairles chris.fairles@gmail.com
Fri Jul 25 13:00:00 GMT 2008


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
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: librt_asneeded_patch.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20080725/5f2d4793/attachment.txt>


More information about the Gcc-patches mailing list