Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 290129 - app-arch/gzip-1.3.13 is broken for all non-GNU compilers
Summary: app-arch/gzip-1.3.13 is broken for all non-GNU compilers
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All IRIX
: High normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-22 13:21 UTC by Stuart Shelton
Modified: 2011-04-24 17:06 UTC (History)
0 users

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


Attachments
Fix GCC-specific #defines in gzip (gzip-1.3.13-irix.patch,2.59 KB, patch)
2009-10-22 13:23 UTC, Stuart Shelton
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stuart Shelton 2009-10-22 13:21:35 UTC
gzip fails to link because the symbol '__printf__' cannot be resolved.

I originally patched gzip's source simply to check whether __GNUC__ was defined - but for some reason this wasn't sufficient (or I got the condition wrong ;)

(Does the check for whether __GNUC__ is defined have to come before the check for what value it has?)

This patch will not affect builds using GCC and will work on IRIX - but other compilers suites (__SUNPRO_C, __DECC, etc.) will presumably still be broken...
Comment 1 Stuart Shelton 2009-10-22 13:23:42 UTC
Created attachment 207901 [details, diff]
Fix GCC-specific #defines in gzip
Comment 2 Fabian Groffen gentoo-dev 2009-10-29 21:17:03 UTC
does upstream know about this problem?
Comment 3 Fabian Groffen gentoo-dev 2009-12-09 14:29:53 UTC
can you give the compilation error please?  It seems this file hasn't been changed in gnulib looking at their git (http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=history;f=lib/stdio.in.h;h=d0ffa59863492649cb12d6000845a4d3cfcb411f;hb=HEAD)
Comment 4 Fabian Groffen gentoo-dev 2011-04-24 17:06:33 UTC
This is hopefully fixed in gzip-1.4 and beyond