Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 16782 - xanim fails to compile (gets pulled in by kdemultimedia)
Summary: xanim fails to compile (gets pulled in by kdemultimedia)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-03 20:11 UTC by Seemant Kulleen (RETIRED)
Modified: 2003-03-03 20:43 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Seemant Kulleen (RETIRED) gentoo-dev 2003-03-03 20:11:24 UTC
gcc -I.  -march=athlon-xp -O2 -pipe -finline-functions -fprefetch-loop-arrays
-foptimize-sibling-calls -fdelete-null-pointer-checks -fno-cprop-registers
-funroll-loops -frerun-loop-opt -frename-registers -fmove-all-movables
-freorder-blocks   -DXSHM      -DXA_DLL -DXA_PRINT
-DXA_DLL_PATH=\"/usr/X11R6/lib/xanim/mods\" -DXA_ZLIB  -DXA_GSM -DXA_LINUX_AUDIO
-DXA_PETUNIA -DXA_KPCD -I/usr/X11R6/include -I/usr/X11R6/include/X11   -c xanim.c
gcc -I.  -march=athlon-xp -O2 -pipe -finline-functions -fprefetch-loop-arrays
-foptimize-sibling-calls -fdelete-null-pointer-checks -fno-cprop-registers
-funroll-loops -frerun-loop-opt -frename-registers -fmove-all-movables
-freorder-blocks   -DXSHM      -DXA_DLL -DXA_PRINT
-DXA_DLL_PATH=\"/usr/X11R6/lib/xanim/mods\" -DXA_ZLIB  -DXA_GSM -DXA_LINUX_AUDIO
-DXA_PETUNIA -DXA_KPCD -I/usr/X11R6/include -I/usr/X11R6/include/X11   -c xa_show.c
gcc -I.  -march=athlon-xp -O2 -pipe -finline-functions -fprefetch-loop-arrays
-foptimize-sibling-calls -fdelete-null-pointer-checks -fno-cprop-registers
-funroll-loops -frerun-loop-opt -frename-registers -fmove-all-movables
-freorder-blocks   -DXSHM      -DXA_DLL -DXA_PRINT
-DXA_DLL_PATH=\"/usr/X11R6/lib/xanim/mods\" -DXA_ZLIB  -DXA_GSM -DXA_LINUX_AUDIO
-DXA_PETUNIA -DXA_KPCD -I/usr/X11R6/include -I/usr/X11R6/include/X11   -c xa_x11.c
In file included from xa_x11.c:1434:
xa_x11.c: In function `xanim_events':
xa_x11.c:1058: incompatible type for argument 0 of `xanim_expose'
In file included from xa_x11.c:1474:
xa_x11.c:1058: incompatible type for argument 0 of `xanim_expose'
In file included from xa_x11.c:1478:
xa_x11.c:1081: incompatible type for argument 0 of `xanim_step_prev_action'
In file included from xa_x11.c:1481:
xa_x11.c:1095: incompatible type for argument 0 of `xanim_step_next_action'
In file included from xa_x11.c:1484:
xa_x11.c:1321: incompatible type for argument 0 of `xanim_step_prev_int_action'
In file included from xa_x11.c:1487:
xa_x11.c:1304: incompatible type for argument 0 of `xanim_step_next_int_action'
In file included from xa_x11.c:1490:
xa_x11.c:1234: incompatible type for argument 0 of `xanim_faster_action'
In file included from xa_x11.c:1493:
xa_x11.c:1220: incompatible type for argument 0 of `xanim_slower_action'
In file included from xa_x11.c:1496:
xa_x11.c:1257: incompatible type for argument 0 of `xanim_speed_reset_action'
In file included from xa_x11.c:1499:
xa_x11.c:1338: incompatible type for argument 0 of `xanim_dec_audio_5'
In file included from xa_x11.c:1502:
xa_x11.c:1350: incompatible type for argument 0 of `xanim_dec_audio_1'
In file included from xa_x11.c:1505:
xa_x11.c:1375: incompatible type for argument 0 of `xanim_inc_audio_1'
In file included from xa_x11.c:1508:
xa_x11.c:1362: incompatible type for argument 0 of `xanim_inc_audio_5'
In file included from xa_x11.c:1511:
xa_x11.c:1388: incompatible type for argument 0 of `xanim_mute_audio'
In file included from xa_x11.c:1514:
xa_x11.c:1401: incompatible type for argument 0 of `xanim_speaker_tog'
In file included from xa_x11.c:1517:
xa_x11.c:1409: incompatible type for argument 0 of `xanim_headphone_tog'
In file included from xa_x11.c:1529:
xa_x11.c:1032: incompatible type for argument 0 of `xanim_realize_remote'
make: *** [xa_x11.o] Error 1

!!! ERROR: media-video/xanim-2.80.1-r4 failed.
!!! Function src_compile, Line 110, Exitcode 2
!!! (no error message)

sephora trinity # gcc -dumpversion
3.2.2
sephora trinity # ssh nebuchadnezzar !!
ssh nebuchadnezzar gcc -dumpversion
root@nebuchadnezzar's password:
3.2.2


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Alastair Tse (RETIRED) gentoo-dev 2003-03-03 20:43:34 UTC
looks like -finline-functions was the cuplrit here. 

filter-flags'ed in ebuild and committed. it is nice to know the same compiler 
optimisations break on pentium2 just like they do on athlon-xp :)