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

Bug 217834

Summary: sci-libs/geos-3.0.0 fails w/ gcc-4.3.0
Product: Gentoo Linux Reporter: Peter Alfredsen (RETIRED) <loki_val>
Component: [OLD] GCC PortingAssignee: Sci-geo Project <sci-geosciences>
Status: RESOLVED FIXED    
Severity: normal CC: pgsql-bugs
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 198121    
Attachments: geos-3.0.0-gcc43.patch

Description Peter Alfredsen (RETIRED) gentoo-dev 2008-04-15 19:29:10 UTC
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../../source/headers -I../../../source/headers/geos -I../../../source/headers -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -DGEOS_INLINE -Wall -ansi -pedantic -Wno-long-long -MT DoubleBits.lo -MD -MP -MF .deps/DoubleBits.Tpo -c DoubleBits.cpp  -fPIC -DPIC -o .libs/DoubleBits.o
DoubleBits.cpp: In static member function 'static double geos::index::quadtree::DoubleBits::powerOf2(int)':
DoubleBits.cpp:51: error: 'memcpy' was not declared in this scope
DoubleBits.cpp: In constructor 'geos::index::quadtree::DoubleBits::DoubleBits(double)':
DoubleBits.cpp:94: error: 'memcpy' was not declared in this scope
make[3]: *** [DoubleBits.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../../source/headers -I../../../source/headers/geos -I../../../source/headers -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -DGEOS_INLINE -Wall -ansi -pedantic -Wno-long-long -MT IntervalSize.lo -MD -MP -MF .deps/IntervalSize.Tpo -c IntervalSize.cpp -o IntervalSize.o >/dev/null 2>&1
make[3]: Leaving directory `/var/tmp/portage/sci-libs/geos-3.0.0/work/geos-3.0.0/source/index/quadtree'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/sci-libs/geos-3.0.0/work/geos-3.0.0/source/index'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/sci-libs/geos-3.0.0/work/geos-3.0.0/source'
make: *** [all-recursive] Error 1


Reproducible: Always

Steps to Reproduce:
Comment 1 Peter Alfredsen (RETIRED) gentoo-dev 2008-04-15 19:29:54 UTC
Created attachment 149838 [details, diff]
geos-3.0.0-gcc43.patch

Fixes the problem. Snatched from Debian.
Comment 2 Sébastien Fabbro (RETIRED) gentoo-dev 2008-04-17 14:19:00 UTC
fixed in cvs. Thanks!