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

Bug 317477

Summary: Graphite problems and perl actions on CFLAGS
Product: Gentoo Linux Reporter: Fred Krogh <fkrogh>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Severity: normal CC: john_r_graham, kamil.kwiek, pchrist
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---

Description Fred Krogh 2010-04-27 13:53:54 UTC
I have just very recently had problems with graphite optimizations.  Because Perl modules appear to ignore the CFLAGS in /etc/make.conf I could not have got around the problems without help, see

Reproducible: Always

Expected Results:  
I expect flags in /etc/make.conf to be honored except when explicitly overridden.

First, if a package can't handle the graphite optimizations (or any other use of CFLAGS), perhaps the build for the package could just quietly turn off the particular compiler flags that it can't handle.

Second, if the first is not done, at least honor the flags in /etc/make.conf.  At least some perl modules violate this rule, instead using the flags last used in compiling perl.

Finally, xorg-server fails to emerge when using the graphite optimizations with many errors like:

../doltcompile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include    -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -Wbad-function-cast -Wformat=2 -Wold-style-definition -Wdeclaration-after-statement  -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/usr/include/freetype2 -I/usr/include/pixman-1   -I../include -I../include -I../Xext -I../composite -I../damageext -I../xfixes -I../Xi -I../mi -I../miext/shadow  -I../miext/damage -I../render -I../randr -I../fb -fvisibility=hidden -O2 -march=native -ftree-vectorize -floop-interchange -floop-strip-mine -floop-block -pipe -MT cursor.lo -MD -MP -MF .deps/cursor.Tpo -c -o cursor.lo cursor.c
cursor.c: In function 'RealizeCursorAllScreens':
cursor.c:170: sorry, unimplemented: Graphite loop optimizations can only be used if the libcloog-ppl0 package is installed

In my case (amd64) the libcloog-ppl0 is not available; perhaps is should be?

I've been using the graphite optimizations for quite awhile, so I believe these are all problems recently introduced.
Comment 1 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2010-04-27 15:15:28 UTC
*** Bug 317479 has been marked as a duplicate of this bug. ***
Comment 2 Torsten Veller (RETIRED) gentoo-dev 2010-05-03 07:48:50 UTC
More than one issue per bug report doesn't work well.

For perl: it's a dupe of bug 236200 and bug 261375
Comment 3 Panagiotis Christopoulos (RETIRED) gentoo-dev 2010-05-03 12:34:26 UTC

*** This bug has been marked as a duplicate of bug 236200 ***