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@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@sun.com ph:770.360.6415 *********************/
Ed Swierk wrote:
On 1/4/08, Marc Karasek Marc.Karasek@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@linuxbios.org http://www.linuxbios.org/mailman/listinfo/linuxbios