Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 222301

Summary: app-arch/unace-2.5-r1 - unace segfaults on HPPA
Product: Gentoo Linux Reporter: Jeroen Roovers (RETIRED) <jer>
Component: Current packagesAssignee: SpanKY <vapier>
Status: RESOLVED FIXED    
Severity: normal CC: hppa, luckyluke
Priority: High    
Version: unspecified   
Hardware: HPPA   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 215366    
Attachments: Fix endianness detection
Cleaner patch
Correct final patch using the right variables

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.