[LinuxBIOS] Patch file for ld/fedora 8 issue as promised...

Marc Karasek Marc.Karasek at Sun.COM
Fri Jan 4 23:48:01 CET 2008


Sorry about the patch, I had to edit it out for some other changes that 
got pulled into the file and accidentally deleted a line that should 
have been there.  This patch should be better.

And I also did a svn diff one level up in the tree (flags.patch)

I made a test script and ran it and it sets build_id = 1 properly.  I 
have also included this script. 

/*********************
Marc Karasek
MTS
Sun Microsystems
mailto:marc.karasek at sun.com
ph:770.360.6415
*********************/



Ed Swierk wrote:
> On 1/4/08, Marc Karasek <Marc.Karasek at sun.com> wrote:
>   
>> Ed sorry for the duplicate, but I only originally replied to you.
>>
>> I will take a look at it.   When I ran it it did add the option on my
>> system.   The only question I had was for an older ld version would it
>> behave properly.
>>     
>
> Try running this snippet from buildtarget in a shell and you'll see what I mean:
>
> ld --help | awk '{for (i=1;i<=NF;i++) if ($i ~ /build-id/){n++} }; END
> {exit n}'; build_id=$?; echo -n 'ld supports --build-id? '; if [
> $build_id \
> ]; then echo 'yes'; else echo 'no'; fi
>
>   
>> I did the patch using svn diff from the tree.  Is there another way to
>> generate it?
>>     
>
> Not sure...
>
> --Ed
>   
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fixflags2.diff
Type: text/x-patch
Size: 4054 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20080104/fad89c1d/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.patch
Type: text/x-patch
Size: 201 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20080104/fad89c1d/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: flags.patch
Type: text/x-patch
Size: 4162 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20080104/fad89c1d/attachment-0001.patch>


More information about the coreboot mailing list