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

Bug 219769

Summary: app-i18n/zhcon-0.2.6 fails w/ gcc-4.3.0
Product: Gentoo Linux Reporter: Peter Alfredsen (RETIRED) <loki_val>
Component: [OLD] GCC PortingAssignee: Zhang Le (RETIRED) <r0bertz>
Status: RESOLVED FIXED    
Severity: normal CC: antarus, cjk, esigra
Priority: High    
Version: 2007.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 198121    
Attachments: zhcon-0.2.6-gcc43.patch

Description Peter Alfredsen (RETIRED) gentoo-dev 2008-04-29 21:28:24 UTC
Assigning to r0bertz. You are a real dev now, right? Please take a look at the metadata for this package.

Config complete, now type make to build zhcon.
Good Luck!
make  all-recursive
make[1]: Entering directory `/var/tmp/portage/app-i18n/zhcon-0.2.6/work/zhcon-0.2.5'
Making all in src
make[2]: Entering directory `/var/tmp/portage/app-i18n/zhcon-0.2.6/work/zhcon-0.2.5/src'
Making all in display
make[3]: Entering directory `/var/tmp/portage/app-i18n/zhcon-0.2.6/work/zhcon-0.2.5/src/display'
if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src    -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -funsigned-char -O2 -march=i686 -DNDEBUG -Wall -MT fbdev.o -MD -MP -MF ".deps/fbdev.Tpo" -c -o fbdev.o fbdev.cpp; \
        then mv -f ".deps/fbdev.Tpo" ".deps/fbdev.Po"; else rm -f ".deps/fbdev.Tpo"; exit 1; fi
if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src    -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -funsigned-char -O2 -march=i686 -DNDEBUG -Wall -MT fblinear15.o -MD -MP -MF ".deps/fblinear15.Tpo" -c -o fblinear15.o fblinear15.cpp; \
        then mv -f ".deps/fblinear15.Tpo" ".deps/fblinear15.Po"; else rm -f ".deps/fblinear15.Tpo"; exit 1; fi
if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src    -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -funsigned-char -O2 -march=i686 -DNDEBUG -Wall -MT fblinear16.o -MD -MP -MF ".deps/fblinear16.Tpo" -c -o fblinear16.o fblinear16.cpp; \
        then mv -f ".deps/fblinear16.Tpo" ".deps/fblinear16.Po"; else rm -f ".deps/fblinear16.Tpo"; exit 1; fi
if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src    -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -funsigned-char -O2 -march=i686 -DNDEBUG -Wall -MT fblinear24.o -MD -MP -MF ".deps/fblinear24.Tpo" -c -o fblinear24.o fblinear24.cpp; \
        then mv -f ".deps/fblinear24.Tpo" ".deps/fblinear24.Po"; else rm -f ".deps/fblinear24.Tpo"; exit 1; fi
fblinear16.cpp: In member function ‘virtual void FBLinear16::RevRect(int, int, int, int)’:
fblinear16.cpp:89: warning: operation on ‘dest32’ may be undefined
if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src    -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -funsigned-char -O2 -march=i686 -DNDEBUG -Wall -MT fblinear32.o -MD -MP -MF ".deps/fblinear32.Tpo" -c -o fblinear32.o fblinear32.cpp; \
        then mv -f ".deps/fblinear32.Tpo" ".deps/fblinear32.Po"; else rm -f ".deps/fblinear32.Tpo"; exit 1; fi
fblinear24.cpp: In member function ‘virtual void FBLinear24::RevRect(int, int, int, int)’:
fblinear24.cpp:139: warning: operation on ‘dest32’ may be undefined
fblinear24.cpp:140: warning: operation on ‘dest32’ may be undefined
fblinear24.cpp:141: warning: operation on ‘dest32’ may be undefined
fblinear24.cpp:144: warning: operation on ‘dest32’ may be undefined
fblinear24.cpp:146: warning: operation on ‘dest16’ may be undefined
fblinear24.cpp:151: warning: operation on ‘dest16’ may be undefined
if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src    -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -funsigned-char -O2 -march=i686 -DNDEBUG -Wall -MT fblinear4.o -MD -MP -MF ".deps/fblinear4.Tpo" -c -o fblinear4.o fblinear4.cpp; \
        then mv -f ".deps/fblinear4.Tpo" ".deps/fblinear4.Po"; else rm -f ".deps/fblinear4.Tpo"; exit 1; fi
fblinear4.cpp: In member function ‘virtual void FBLinear4::FillRect(int, int, int, int, int)’:
fblinear4.cpp:75: error: ‘memset’ was not declared in this scope
make[3]: *** [fblinear4.o] Error 1
make[3]: *** Waiting for unfinished jobs....
fblinear32.cpp: In member function ‘virtual void FBLinear32::RevRect(int, int, int, int)’:
fblinear32.cpp:77: warning: operation on ‘dest32’ may be undefined
make[3]: Leaving directory `/var/tmp/portage/app-i18n/zhcon-0.2.6/work/zhcon-0.2.5/src/display'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/app-i18n/zhcon-0.2.6/work/zhcon-0.2.5/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-i18n/zhcon-0.2.6/work/zhcon-0.2.5'
make: *** [all] Error 2
Comment 1 Peter Alfredsen (RETIRED) gentoo-dev 2008-04-29 21:29:24 UTC
Created attachment 151369 [details, diff]
zhcon-0.2.6-gcc43.patch

Fixes the problem. Based on Debian, but they missed a few.
Comment 2 Zhang Le (RETIRED) gentoo-dev 2008-04-30 10:50:25 UTC
thanks for providing the patch.
I will take a look.
Also I will try to see if I can fix its problem on amd64.

However, I am not ebuild dev yet. :)
I can only ask others to commit it for me after fixing it.

Thanks again.
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-06-09 12:47:37 UTC
Thanks everybody, committed :)