[Ltrace-devel] pmachata/revamp merged

Sedat Dilek sedat.dilek at gmail.com
Fri Aug 31 16:17:38 UTC 2012


On Thu, Aug 30, 2012 at 9:46 PM, Petr Machata <pmachata at redhat.com> wrote:
> Sedat Dilek <sedat.dilek at gmail.com> writes:
>
>> On Thu, Aug 30, 2012 at 2:21 PM, Petr Machata <pmachata at redhat.com> wrote:
>>> the branch pmachata/revamp was now merged to master.
>>
>> What's the status of MIPS?
>> What's missing for it?
>>
>> What GIT branch or tag are you recommending for MIPS?
>
> I don't know.  It should work about the same as it used to, but there
> were many changes when libs branch was merged earlier this year, and I
> remember having to update MIPS-related ifdefs.  Generally I'm afraid
> that MIPS is currently broken.  Do you have a MIPS machine handy?  Could
> you verify?  Good candidates for checking are the following trees:
>
>   8a115b6ced (a commit named "Fix MIPS")
>   5f30bc318e (0.6.0 -- N.B. I'm not sure if it worked at this point)
>   97b208405b (when threads branch was merged)
>   91c399c086 (when libs branch was merged)
>
> Eventually I'd like to get MIPS in order, but frankly ARM is first on my
> plate, and that was broken as well the last time I looked.
>

None of the below GIT snapshot-tarballs compile fine.

$ LC_ALL=C ls -l dl/ltrace*.tar.gz
-rw-rw-r-- 1 wearefam wearefam 152631 Aug 30 23:13 dl/ltrace-1788f8a.tar.gz
-rw-rw-r-- 1 wearefam wearefam 157863 Aug 30 21:51 dl/ltrace-5f30bc3.tar.gz
-rw-rw-r-- 1 wearefam wearefam 152035 Aug 30 21:49 dl/ltrace-8a115b6.tar.gz
-rw-rw-r-- 1 wearefam wearefam 176128 Aug 30 21:59 dl/ltrace-97b2084.tar.gz
-rw-rw-r-- 1 wearefam wearefam 249936 Aug 30 17:36 dl/ltrace-fcf256c.tar.gz
-rw-r--r-- 1 wearefam wearefam 147198 Mar  1  2011 dl/ltrace_0.5.3.orig.tar.gz

I am using the Freetz build-system.
The patches against ltrace-0.5.3 are located at [1].
"130-ltrace-mips.patch" was a merge-bomb of a MIPS patchset by Arnaud
Patard (ex Mandrake/Mandriva).
I asked one of the main developers of Freetz but he could give me no
satisfying answer how this single patch was created.
If you like you can look over the patches from Freetz project.

For ltrace >=0.6.0 GIT I added "autogen.sh" as configure-pre-cmds to
ltrace.mk [2] (see file attachments).

But all builds failed...
"97b208405b (when threads branch was merged)" looked good after fixing
some minor issues, but in the end I got frustrated last night.

When seeing "Fix arch_plt_sym_val for m68k"... "plt.c" [3] in
mipsel-arch is a bit different from the one of other archs and there
is no ref to "pltgot_addr" in arch_plt_sym_val() (see file
attachments).

So, MIPS seems to be broken.
My skillz are not that good to fix this by my own.
But I can help with testing.

Regards,
- Sedat -

[1] http://freetz.org/browser/trunk/make/ltrace/patches
[2] http://freetz.org/browser/trunk/make/ltrace/ltrace.mk
[3] http://anonscm.debian.org/gitweb/?p=collab-maint/ltrace.git;a=blob;f=sysdeps/linux-gnu/mipsel/plt.c;hb=HEAD#l37

> Thank you,
> PM
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: build-log_freetz_7270-v2_ltrace-upstream.txt
URL: <http://lists.alioth.debian.org/pipermail/ltrace-devel/attachments/20120831/b50a6cfa/attachment.txt>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ltrace.mk.diff
Type: application/octet-stream
Size: 974 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/ltrace-devel/attachments/20120831/b50a6cfa/attachment.obj>


More information about the Ltrace-devel mailing list