Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 217834 - sci-libs/geos-3.0.0 fails w/ gcc-4.3.0
Summary: sci-libs/geos-3.0.0 fails w/ gcc-4.3.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Sci-geo Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-4.3
  Show dependency tree
 
Reported: 2008-04-15 19:29 UTC by Peter Alfredsen (RETIRED)
Modified: 2008-04-17 14:19 UTC (History)
1 user (show)

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


Attachments
geos-3.0.0-gcc43.patch (geos-3.0.0-gcc43.patch,3.68 KB, patch)
2008-04-15 19:29 UTC, Peter Alfredsen (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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!