Opened 19 years ago
Closed 19 years ago
#7526 closed defect (fixed)
gimp2 fails to build on Intel based Mac
Reported by: | takanori@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.2 |
Keywords: | Cc: | yves@… | |
Port: |
Description
$ sudo port install gimp2 ... Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_graphics_gimp2/work/gimp-2.2.10" &&\
make all" returned error 2
Command output: paint-funcs.c:2788: warning: pointer targets in passing argument 2 of 'run_length_encode' differ in signedness rm -f libapppaint-funcs.a ar cru libapppaint-funcs.a paint-funcs.o ranlib libapppaint-funcs.a Making all in composite if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../app -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -DG_LOG_DOMAIN=\"Gimp-Composite\" -D_REENTRANT -I/opt/lo\ cal/include -DGIMP_DISABLE_DEPRECATED -DGDK_MULTIHEAD_SAFE -DGTK_MULTIHEAD_SAFE -g -O2 -Wall -MT gimp-composite-3dnow.o -MD -MP -MF ".deps/gimp-composite-3dnow.Tpo" -c -o gimp-composite-3dnow.o gimp-co\ mposite-3dnow.c; \ then mv -f ".deps/gimp-composite-3dnow.Tpo" ".deps/gimp-composite-3dnow.Po"; else rm -f ".deps/gimp-composite-3dnow.Tpo"; exit 1; fi rm -f libcomposite3dnow.a ar cru libcomposite3dnow.a gimp-composite-3dnow.o ranlib libcomposite3dnow.a ranlib: warning for library: libcomposite3dnow.a the table of contents is empty (no object file members in the library define global symbols) if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../app -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -DG_LOG_DOMAIN=\"Gimp-Composite\" -D_REENTRANT -I/opt/lo\ cal/include -DGIMP_DISABLE_DEPRECATED -DGDK_MULTIHEAD_SAFE -DGTK_MULTIHEAD_SAFE -g -O2 -Wall -MT gimp-composite-altivec.o -MD -MP -MF ".deps/gimp-composite-altivec.Tpo" -c -o gimp-composite-altivec.o g\ imp-composite-altivec.c; \ then mv -f ".deps/gimp-composite-altivec.Tpo" ".deps/gimp-composite-altivec.Po"; else rm -f ".deps/gimp-composite-altivec.Tpo"; exit 1; fi rm -f libcompositealtivec.a ar cru libcompositealtivec.a gimp-composite-altivec.o ranlib libcompositealtivec.a ranlib: warning for library: libcompositealtivec.a the table of contents is empty (no object file members in the library define global symbols) if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../app -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -DG_LOG_DOMAIN=\"Gimp-Composite\" -D_REENTRANT -I/opt/lo\ cal/include -DGIMP_DISABLE_DEPRECATED -DGDK_MULTIHEAD_SAFE -DGTK_MULTIHEAD_SAFE -mmmx -g -O2 -Wall -MT libcompositemmx_a-gimp-composite-mmx.o -MD -MP -MF ".deps/libcompositemmx_a-gimp-composite-mmx.Tpo"\
-c -o libcompositemmx_a-gimp-composite-mmx.o
test -f 'gimp-composite-mmx.c' || echo './'
gimp-composite-mmx.c; \
then mv -f ".deps/libcompositemmx_a-gimp-composite-mmx.Tpo" ".deps/libcompositemmx_a-gimp-composite-mmx.Po"; else rm -f ".deps/libcompositemmx_a-gimp-composite-mmx.Tpo"; exit 1; fi gimp-composite-mmx.c: In function 'gimp_composite_burn_rgba8_rgba8_rgba8_mmx': gimp-composite-mmx.c:148: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm' gimp-composite-mmx.c:202: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm' gimp-composite-mmx.c: In function 'gimp_composite_scale_rgba8_rgba8_rgba8_mmx': gimp-composite-mmx.c:1014: error: PIC register '%ebx' clobbered in 'asm' gimp-composite-mmx.c: At top level: gimp-composite-mmx.c:834: warning: 'mmx_op_overlay' defined but not used make[3]: * [libcompositemmx_a-gimp-composite-mmx.o] Error 1 make[2]: * [all-recursive] Error 1 make[1]: * [all-recursive] Error 1 make: * [all] Error 2
Error: /opt/local/bin/port: Status 1 encountered during processing.
$ gcc --version i686-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build 5250) Copyright (C) 2005 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ uname -a Darwin pc192168000058.local.network 8.5.2 Darwin Kernel Version 8.5.2: Mon Feb 13 16:31:48 PST 2006; root:xnu-792.8.37.obj~1/RELEASE_I386 i386 i386
Change History (2)
comment:1 Changed 19 years ago by yves@…
comment:2 Changed 19 years ago by takanori@…
Resolution: | → fixed |
---|---|
Status: | new → closed |
Gee, I was absolutely sure this had been commited since a few weeks. Now it is for real.
if it does work, can you please close the bug : fixed
thanks