pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/31854: cairo 1.0.2 doesn't build on macppc -current



The following reply was made to PR pkg/31854; it has been noted by GNATS.

From: Quentin Garnier <cube%cubidou.net@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: timo.schoeler%riscworks.net@localhost
Subject: Re: pkg/31854: cairo 1.0.2 doesn't build on macppc -current
Date: Tue, 18 Oct 2005 14:02:33 +0200

 --21/Vc5rId7THQcsT
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 On Tue, Oct 18, 2005 at 11:32:00AM +0000, 
timo.schoeler%riscworks.net@localhost wrote:
 > >Number:         31854
 > >Category:       pkg
 > >Synopsis:       cairo 1.0.2 doesn't build on macppc -current
 > >Confidential:   no
 > >Severity:       serious
 > >Priority:       medium
 > >Responsible:    pkg-manager
 > >State:          open
 > >Class:          sw-bug
 > >Submitter-Id:   net
 > >Arrival-Date:   Tue Oct 18 11:32:00 +0000 2005
 > >Originator:     Timo Schoeler
 > >Release:        3.99.9
 > >Organization:
 > RISCworks
 > >Environment:
 > NetBSD ubiytsa.ts39-bln.riscworks.net 3.99.9 NetBSD 3.99.9 (GENERIC.MP) #=
 0: Sat Oct  8 04:11:39 UTC 2005  
builds%b4.netbsd.org@localhost:/home/builds/ab/HEAD/=
 macppc/200510070000Z-obj/home/builds/ab/HEAD/src/sys/arch/macppc/compile/GE=
 NERIC.MP macppc
 > >Description:
 > cairo fails here:
 >=20
 > (...)
 > cc -O2 -pipe -mcpu=3D7400 -maltivec -mabi=3Daltivec -O4 -I/usr/pkgsrc/gra=
 phics/cairo/work/.buildlink/include -I/usr/pkgsrc/graphics/cairo/work/.buil=
 dlink/include/freetype2 -DGLX_GLXEXT_LEGACY -I/usr/pkgsrc/graphics/cairo/wo=
 rk/.buildlink/gcc34/include -I/usr/pkgsrc/graphics/cairo/work/.buildlink/gc=
 c34/lib/gcc/powerpc--netbsd3.99.9/3.4.4/include -Wl,-R/usr/pkg/gcc34/lib/gc=
 c/powerpc--netbsd3.99.9/3.4.4 -Wl,-R/usr/pkg/gcc34/lib -Wl,-R/usr/pkg/lib -=
 Wl,-R/usr/pkg/gcc34/lib/gcc/powerpc--netbsd3.99.9/3.4.4/ -Wl,-R/usr/X11R6/l=
 ib -o .libs/imagediff imagediff.o -pthread  -L/usr/pkgsrc/graphics/cairo/wo=
 rk/.buildlink/gcc34/lib/gcc/powerpc--netbsd3.99.9/3.4.4 -L/usr/pkgsrc/graph=
 ics/cairo/work/.buildlink/gcc34/lib -L/usr/pkgsrc/graphics/cairo/work/.buil=
 dlink/lib -L/usr/pkgsrc/graphics/cairo/work/.buildlink/gcc34/lib/gcc/powerp=
 c--netbsd3.99.9/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/.buildlink/lib/libpn=
 g.so /usr/pkgsrc/graphics/cairo/work/.buildlink/lib/libglitz.so /usr/pkgsrc=
 /graphics/cairo/work/.buildlink/lib/libfontconfig.so /usr/pkgsrc/graphics/c=
 airo/work/.buildlink/lib/libexpat.so /usr/pkgsrc/graphics/cairo/work/.build=
 link/lib/libfreetype.so -lz -lintl -lm -Wl,--rpath -Wl,/usr/pkg/lib -Wl,--r=
 path -Wl,/usr/pkgsrc/graphics/cairo/work/.buildlink/lib
 > /usr/bin/ld: .libs/imagediff: hidden symbol `__popcountsi2' in /usr/pkgsr=
 c/graphics/cairo/work/.buildlink/gcc34/lib/gcc/powerpc--netbsd3.99.9/3.4.4/=
 libgcc.a(_popcountsi2.oS) is referenced by DSO
 > collect2: ld returned 1 exit status
 > *** Error code 1
 
 I think this is a problem tied to gcc 3.4, more than the fact that it
 happens on NetBSD/macppc.
 
 The following bit of code from pixman/src/icint.h looks especially
 suspicious WRT the error:
 
 #if __GNUC__ > 3 || (__GNUC__ =3D=3D 3 && __GNUC_MINOR__ >=3D 4)
 # if __INT_MIN__ =3D=3D 0x7fffffff
 #  define _FbOnes(mask)         __builtin_popcount(mask)
 # else
 #  define _FbOnes(mask)         __builtin_popcountl((mask) & 0xffffffff)
 # endif=20
 
 I'd like to know if disabling that code works around the issue.
 
 --=20
 Quentin Garnier - cube%cubidou.net@localhost - cube%NetBSD.org@localhost
 "When I find the controls, I'll go where I like, I'll know where I want
 to be, but maybe for now I'll stay right here on a silent sea."
 KT Tunstall, Silent Sea, Eye to the Telescope, 2004.
 
 --21/Vc5rId7THQcsT
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.2.6 (NetBSD)
 
 iQEVAwUBQ1TkWdgoQloHrPnoAQJVdQgAyLQbhEccOdMyHqlWR6kgzDW/8JhC9FBx
 xw44nDOowW/KFE4K9fzlLUtFGYkFueeTgi2VfA3Vd1c5GA5efPG+0MjdpQ9ttrJ6
 c7yxxFZGvAMJChX8+k+eKjcX8L9v11mlAtQwI+NFZrIt4NpXr/lZi8iu9Xf0fW8I
 QzMZ4po0hJVU7ett7trqEWQw7pMjZv7lpREciqY1h3Y7ZWtBeJaB+s8vmDj8l5/t
 Z/mGirUPQMNjF9KqoYH1ccuSGEWoz6aAUXuVciYDQwP1Tw8mCyGDqT9OMQAOpgrC
 4g/AYWkkD3COEmmvlrE8dujY3fwEjNoQN5a5Sge9D2dAEnQcL78l7Q==
 =F0yr
 -----END PGP SIGNATURE-----
 
 --21/Vc5rId7THQcsT--
 



Home | Main Index | Thread Index | Old Index