Hi

I'm getting lcms port build failure in cms testing phase. The system
I'm building the port on (actually building kdegames3) is P4 with
Intel i845 chipset. World and kernel are built with system gcc-3.2
with CPUTYPE=p4. The main goal is to build a set of packages for an
old P2 system thus CPUTYPE is set to p2 for port building. Is it
illegal to optimise system binaries to p4 and then build ports with
p2 optimisation?


cc -fpic -DPIC -O -pipe -march=pentium2 -march=pentium2 
-I/usr/local/src/portbuild/usr/ports/graphics/lcms/work/lcms-1.08/src/../include  -c 
cmscam97.c -o cmscam97.So
building static lcms library
ranlib liblcms.a
building shared library liblcms.so.1
cd /usr/local/src/portbuild/usr/ports/graphics/lcms/work/lcms-1.08/src/../testbed &&  
/usr/bin/env CFLAGS="-O -pipe -march=pentium2 -I../include" make -E CFLAGS test
cc -O -pipe -march=pentium2 -I../include -c testcms.c
cc -O -pipe -march=pentium2 -I../include testcms.o ../src/liblcms.a -o testcms -lm
./testcms
little cms testbed. Ver 1.08 [build Sep 12 2002 16:41:45]

Testing fixed point: 2.8848960205 = 2.8848
                0.437499269828536 = 0.4374
Testing fixed scaling...pass.
Testing linear interpolation ...pass. (66 tics)
Testing descending tables (linear interpolation)...pass.
Testing reverse linear interpolation
        on normal monotonic curve...pass.
        on degenerated curve ...pass.
Testing 3D interpolation on LUT...pass.
Testing virtual profiles (Emulating sRGB)...pass.
Testing sRGB built-in space.Coarse error: In=(0,0,7373) 
Out1=(1.23009,-126.672,-112.328) Out2=(0,-128,-128)
*** Error code 1

Stop in /usr/local/src/portbuild/usr/ports/graphics/lcms/work/lcms-1.08/testbed.
*** Error code 1

Stop in /usr/ports/graphics/lcms.
*** Error code 1

Stop in /usr/ports/graphics/libmng.
*** Error code 1

Stop in /usr/ports/x11-toolkits/qt30.
*** Error code 1

Stop in /usr/ports/games/kdegames3.
-- 

Vallo Kallaste
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to