Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 123932 - media-video/xanim broken with gcc-4
Summary: media-video/xanim broken with gcc-4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 117482
  Show dependency tree
 
Reported: 2006-02-24 06:41 UTC by hiyuh
Modified: 2006-03-06 04:14 UTC (History)
1 user (show)

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


Attachments
Delete xa_ftp_abort function. (xanim-2.80.1_delete-xa_ftp_abort.patch,2.29 KB, text/plain)
2006-02-24 06:42 UTC, hiyuh
Details
A new ebuild for media-video/xanim-2.80.1-r4 (xanim-2.80.1-r4.ebuild,3.30 KB, text/plain)
2006-02-24 06:44 UTC, hiyuh
Details
My emerge --info output. (emerge_info.txt,2.81 KB, text/plain)
2006-02-27 04:33 UTC, hiyuh
Details
Error message of emerge xanim when use the ebuild in official portage tree. (emerge_xanim.log,11.83 KB, text/plain)
2006-02-27 04:34 UTC, hiyuh
Details
Error message of emerge xanim when use the ebuild in official portage tree. (emerge_xanim.log,11.83 KB, text/plain)
2006-02-27 04:39 UTC, hiyuh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description hiyuh 2006-02-24 06:41:11 UTC
To emerge media-video/xanim with gcc-4 failed.
Maybe,
it causes xa_ftp_abort()'s traditional C style prototypes in xa_input.c.
I have made work-around this issue by the patch.
But no check whether it works.
Comment 1 hiyuh 2006-02-24 06:42:56 UTC
Created attachment 80596 [details]
Delete xa_ftp_abort function.
Comment 2 hiyuh 2006-02-24 06:44:11 UTC
Created attachment 80597 [details]
A new ebuild for media-video/xanim-2.80.1-r4
Comment 3 Ryan Hill (RETIRED) gentoo-dev 2006-02-26 15:21:12 UTC
can you post the error message and the output of 'emerge info'?  i can't get this to fail with GCC 4.0.2 or 4.1.0 on x86 or amd64.
Comment 4 hiyuh 2006-02-27 04:33:04 UTC
Created attachment 80828 [details]
My emerge --info output.
Comment 5 hiyuh 2006-02-27 04:34:59 UTC
Created attachment 80829 [details]
Error message of emerge xanim when use the ebuild in official portage tree.
Comment 6 hiyuh 2006-02-27 04:39:31 UTC
Created attachment 80830 [details]
Error message of emerge xanim when use the ebuild in official portage tree.

Sorry, it's LANG=C output.
See this file instead of previous LANG=ja_JP.UTF-8 output.
Comment 7 hiyuh 2006-02-27 04:45:00 UTC
And then, I tried to emerge with -O3 instead of -Os.
Its emerge successfully without patching.
So, if this patch is not acceptable,
to filer -Os as a CFLAG is required, IMHO.
Comment 8 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-03-06 04:14:45 UTC
I've applied the patch, it seems more an hack than a patch, but solves the issue and makes sense, more than filtering -Os probably :)

Thanks for submitting.