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

Myles Watson myles at pel.cs.byu.edu
Sat Jan 5 00:04:36 CET 2008


It doesn't work for me.  It says build-id is supported, and it's not.

The script I attached works for me, though.

Myles

On Jan 4, 2008 3:48 PM, Marc Karasek <Marc.Karasek at sun.com> wrote:
> 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
> >
>
> --
> linuxbios mailing list
> linuxbios at linuxbios.org
> http://www.linuxbios.org/mailman/listinfo/linuxbios
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.patch
Type: text/x-patch
Size: 221 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20080104/ec32cc5f/attachment.patch>


More information about the coreboot mailing list