Subject: pkg/32020: cairo 1.0.2 doesn't build using gcc 3.4.4
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <timo.schoeler@riscworks.net>
List: pkgsrc-bugs
Date: 11/08/2005 21:15:00
>Number: 32020
>Category: pkg
>Synopsis: cairo 1.0.2 doesn't build using gcc 3.4.4
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Nov 08 21:15:00 +0000 2005
>Originator: Timo Schoeler
>Release: 2.1-RELEASE
>Organization:
RISCworks
>Environment:
NetBSD deneb.ts39-bln.riscworks.net 2.1 NetBSD 2.1 (GENERIC) #0: Mon Oct 24 22:35:45 UTC 2005 jmc@faith.netbsd.org:/home/builds/ab/netbsd-2-1-RELEASE/i386/200510241747Z-obj/home/builds/ab/netbsd-2-1-RELEASE/src/sys/arch/i386/compile/GENERIC i386
>Description:
(...)
cc -O2 -pipe -I/usr/pkgsrc/graphics/cairo/work/.buildlink/include -I/usr/pkgsrc/graphics/cairo/work/.buildlink/include/freetype2 -DGLX_GLXEXT_LEGACY -I/usr/pkgsrc/graphics/cairo/work/.buildlink/gcc34/include -I/usr/pkgsrc/graphics/cairo/work/.buildlink/gcc34/lib/gcc/i386--netbsdelf2.1/3.4.4/include -Wl,-R/usr/pkg/gcc34/lib/gcc/i386--netbsdelf2.1/3.4.4 -Wl,-R/usr/pkg/gcc34/lib -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/gcc34/lib/gcc/i386--netbsdelf2.1/3.4.4/ -Wl,-R/usr/X11R6/lib -o .libs/imagediff imagediff.o -pthread -L/usr/pkgsrc/graphics/cairo/work/.buildlink/gcc34/lib/gcc/i386--netbsdelf2.1/3.4.4 -L/usr/pkgsrc/graphics/cairo/work/.buildlink/gcc34/lib -L/usr/pkgsrc/graphics/cairo/work/.buildlink/lib -L/usr/pkgsrc/graphics/cairo/work/.buildlink/gcc34/lib/gcc/i386--netbsdelf2.1/3.4.4/ -L/usr/pkgsrc/graphics/cairo/work/.x11-buildlink/lib ./.libs/libcairotest.a ../src/.libs/libcairo.so /usr/pkgsrc/graphics/cairo/work/.buildlink/lib/libXrender.so -lX11 /usr/pkgsrc/graphics/cairo/work/.b
uildlink/lib/libpng.so /usr/pkgsrc/graphics/cairo/work/.buildlink/lib/libglitz.so /usr/pkgsrc/graphics/cairo/work/.buildlink/lib/libfontconfig.so /usr/pkgsrc/graphics/cairo/work/.buildlink/lib/libexpat.so /usr/pkgsrc/graphics/cairo/work/.buildlink/lib/libfreetype.so -lz -lintl -lm -Wl,--rpath -Wl,/usr/pkg/lib -Wl,--rpath -Wl,/usr/pkgsrc/graphics/cairo/work/.buildlink/lib
/usr/bin/ld: .libs/imagediff: hidden symbol `__popcountsi2' in /usr/pkgsrc/graphics/cairo/work/.buildlink/gcc34/lib/gcc/i386--netbsdelf2.1/3.4.4/libgcc.a(_popcountsi2.oS) is referenced by DSO
collect2: ld returned 1 exit status
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/graphics/cairo/work/cairo-1.0.2/test
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/graphics/cairo/work/cairo-1.0.2
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/graphics/cairo/work/cairo-1.0.2
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/graphics/cairo
===>
===> There was an error during the ``build'' phase.
===> Please investigate the following for more information:
===> * log of the build
===> * /usr/pkgsrc/graphics/cairo/work/.work.log
===>
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/graphics/cairo
>How-To-Repeat:
install gcc 3.4.4 (lang/gcc34) from pkgsrc; use it to build cairo (graphics/cairo) itself or any package which relies on it (there are unfortunately lots of).
>Fix:
quick and dirty: use gcc 3.3.3, but that's not the way to go, i guess =8-)