Re: [fedora-arm] Quick update on prelink

2012-04-04 Thread Jon Masters
On 04/02/2012 03:57 AM, Jon Masters wrote:

> Slight disruption over the weekend, but I re-read the ELF spec, Jakub's
> paper, and started poking at the source. In large part, I wanted to make
> sure someone was tracking this for future AArch64 stuff. But now, I'll
> get back to actually fixing the problem, with an update to follow.

Try this trivial patch to src/get.c that educates prelink about our
linker (so it won't try to prelink the linker itself). This will then
pass the testsuite. On the one hand, if this is all it is it's almost
annoying that I went to the lengths to understand how it works before
looking at it in detail, but on the other Jakub has told me there's not
a lot of good data on prelink-on-arm so I need to do more code review
/anyway/. Please try this patch and see what happens.

Jon.

diff -urNp prelink_orig/src/get.c prelink/src/get.c
--- prelink_orig/src/get.c	2009-06-12 08:01:48.0 -0400
+++ prelink/src/get.c	2012-04-04 05:08:47.0 -0400
@@ -30,6 +30,7 @@ int
 is_ldso_soname (const char *soname)
 {
   if (! strcmp (soname, "ld-linux.so.2")
+  || ! strcmp (soname, "ld-linux.so.3")
   || ! strcmp (soname, "ld.so.1")
   || ! strcmp (soname, "ld-linux-ia64.so.2")
   || ! strcmp (soname, "ld-linux-x86-64.so.2")
___
arm mailing list
arm@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/arm

Re: [fedora-arm] Quick update on prelink

2012-04-04 Thread Peter Robinson
On Wed, Apr 4, 2012 at 10:24 AM, Jon Masters  wrote:
> On 04/02/2012 03:57 AM, Jon Masters wrote:
>
>> Slight disruption over the weekend, but I re-read the ELF spec, Jakub's
>> paper, and started poking at the source. In large part, I wanted to make
>> sure someone was tracking this for future AArch64 stuff. But now, I'll
>> get back to actually fixing the problem, with an update to follow.
>
> Try this trivial patch to src/get.c that educates prelink about our
> linker (so it won't try to prelink the linker itself). This will then
> pass the testsuite. On the one hand, if this is all it is it's almost
> annoying that I went to the lengths to understand how it works before
> looking at it in detail, but on the other Jakub has told me there's not
> a lot of good data on prelink-on-arm so I need to do more code review
> /anyway/. Please try this patch and see what happens.

That patch builds and I've committed it to mainline rawhide/F-17 and
built ARM F-17. Ultimately if there's a better fix it can be added at
a later point and this should allow us to move forward so YAY!

Peter
___
arm mailing list
arm@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/arm

Re: [fedora-arm] Quick update on prelink

2012-04-04 Thread Brendan Conoboy

On 04/04/2012 02:24 AM, Jon Masters wrote:

Try this trivial patch to src/get.c that educates prelink about our
linker (so it won't try to prelink the linker itself). This will then
pass the testsuite. On the one hand, if this is all it is it's almost
annoying that I went to the lengths to understand how it works before
looking at it in detail, but on the other Jakub has told me there's not
a lot of good data on prelink-on-arm so I need to do more code review
/anyway/. Please try this patch and see what happens.


I've installed the prelink package from arm.koji on an armv5tel rootfs, 
let prelink run its cron job, and the resulting system appears to be 
working normally.


--
Brendan Conoboy / Red Hat, Inc. / b...@redhat.com
___
arm mailing list
arm@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/arm

[fedora-arm] Initial Possible Workings For Anaconda On ARM? (And A Bunch Of Other Random Stuff!)

2012-04-04 Thread Jon Chiappetta
Hey everyone,

I did some crazy interesting reading regarding some people in the past 
(including some really bright people who have worked at RedHat :)
This included many funny/entertaining bug reports containing comments from 
Drepper vs Stallman vs Torvalds etc...
Some of the highlights from those included:

http://sourceware.org/bugzilla/show_bug.cgi?id=4403
http://sourceware.org/bugzilla/show_bug.cgi?id=4980
http://sourceware.org/bugzilla/show_bug.cgi?id=5070
https://bugzilla.redhat.com/show_bug.cgi?id=638477

Then I went back and wanted to look at what requirements primary/fesco 
requested in specific of ARM here:

http://fedoraproject.org/wiki/Secondary_Architecture_Promotion_Requirements_%28Draft%29

Anyway then I was really bored and wanted to work on looking at the source code 
to Anaconda
Little did I know that dmarlin is also doing some great work on the various 
needed layers to make Anaconda run sensibly on our platforms (I'm sorry for 
that!)
I think to, tho, that we are tackling different areas of it so we can also 
possibly combine our work later on and have a better result in the end 
hopefully :)
So I took a Guru from Jordan & Max and used Paul's computer since it has 2 NICs 
so it can NAT the WAN and installed pbrobinson's F17 on it
Without all of your hard work efforts (from the entire ARM community!) on F17, 
I wouldn't have even been able to test it or even get it running on an ARM 
device so thank you all as well! :D
Anyway, I know I may be jumping the gun here on how all of these things should 
work but I'm really trying hard to prove useful to the hard working community...
Basically here's what I have to offer to help out with the push to primary 
(keep in mind that I am by no means a programmer so I'm sorry for the bad 
code!):

An "easy-to-use", cross-platform, generalized, GUI Fedora ARM Installer: 
http://fossjon.wordpress.com/2012/02/15/fedora-arm-image-installer-faii/
Some simple shell scripts to help us show the others of our current build 
status (error number/build times): 
http://fossjon.wordpress.com/2012/03/27/some-koji-scripts-the-push-for-primary/
The initial workings of Anaconda & Firstboot on Fedora ARM devices: 
http://fossjon.wordpress.com/2012/04/05/tweaking-anaconda-to-run-on-arm/

With those parts above, some of them can be used in conjunction with each other 
(like the installer with an Anaconda-based image) to show our value,
Anyway, sorry for the long email,
I've just had a lot on my mind lately and needed to talk to you guys about it,
Hopefully my coding skills are at least able to help us demonstrate that ARM is 
a serious contender for primary as we're all working extremely hard to get all 
the parts in place,
Thanks for all your time and patience with my long (possibly bad) 
e-mailing-list-items,

Jon Chiappetta

___
arm mailing list
arm@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/arm