Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 222301 - app-arch/unace-2.5-r1 - unace segfaults on HPPA
Summary: app-arch/unace-2.5-r1 - unace segfaults on HPPA
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: HPPA Linux
: High normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 215366
  Show dependency tree
 
Reported: 2008-05-15 17:59 UTC by Jeroen Roovers (RETIRED)
Modified: 2010-08-23 09:57 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Fix endianness detection (unace-2.5-endianness.patch,1.02 KB, patch)
2010-08-02 18:45 UTC, Guy Martin (RETIRED)
Details | Diff
Cleaner patch (unace-2.5-endianness-detection.patch,885 bytes, patch)
2010-08-03 14:28 UTC, Guy Martin (RETIRED)
Details | Diff
Correct final patch using the right variables (unace-2.5-endianness-detection.patch,889 bytes, patch)
2010-08-03 14:30 UTC, Guy Martin (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jeroen Roovers (RETIRED) gentoo-dev 2008-05-15 17:59:34 UTC
gdb backtrace available in attachment #147759 [details]
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2008-05-15 18:00:29 UTC
It dies quite early, btw, and calling unace without arguments does the trick equally well.
Comment 2 Luca Lesinigo 2008-11-17 13:53:08 UTC
I can confirm the segfault and I'll add that trying to change CFLAGS/CXXFLAGS does not make any difference.

Trying unace-2.5 it gets installed under /opt/bin (?) and I get a curious "bash: /opt/bin/unace: cannot execute binary file" (?? the first time I see that message in my life)

tested with gcc-4.3.2, glibc-2.7-r2, on HPPA.
Comment 3 Guy Martin (RETIRED) gentoo-dev 2010-08-02 18:45:42 UTC
Created attachment 241137 [details, diff]
Fix endianness detection

Klingons should not be allowed to code ...

This patch make the check for endianness actually occur.
How can this possibly be working on other big endian machines ?
Comment 4 Guy Martin (RETIRED) gentoo-dev 2010-08-03 14:28:24 UTC
Created attachment 241249 [details, diff]
Cleaner patch
Comment 5 Guy Martin (RETIRED) gentoo-dev 2010-08-03 14:30:49 UTC
Created attachment 241251 [details, diff]
Correct final patch using the right variables

Eventually I'll get it right :)
Comment 6 Guy Martin (RETIRED) gentoo-dev 2010-08-23 09:57:11 UTC
Added in unace-2.5-r2 with vapier's permission.