pkgsrc-Users archive

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

png-1.2.19 build failure on Intel Mac OS X



The build fails as shown below....  I suspect this is the known gcc4 bug for
inline assembler code for i386.  I can work around it by appropriate CPPFLAGS
changes in Makefile (which would also be needed in buildlink3.mk).  Can anyone
else confirm this?

Thanks,
Mark

gcc -dynamiclib  -o .libs/libpng12.0.19.0.dylib  .libs/libpng12_la-png.o .libs/l
ibpng12_la-pngset.o .libs/libpng12_la-pngget.o .libs/libpng12_la-pngrutil.o .lib
s/libpng12_la-pngtrans.o .libs/libpng12_la-pngwutil.o .libs/libpng12_la-pngread.
o .libs/libpng12_la-pngrio.o .libs/libpng12_la-pngwio.o .libs/libpng12_la-pngwri
te.o .libs/libpng12_la-pngrtran.o .libs/libpng12_la-pngwtran.o .libs/libpng12_la
-pngmem.o .libs/libpng12_la-pngerror.o .libs/libpng12_la-pngpread.o .libs/libpng
12_la-pnggccrd.o  -L/usr/pkgsrc/graphics/png/work/.buildlink/lib -lz  -install_n
ame  /usr/pkg/lib/libpng12.0.dylib -Wl,-compatibility_version -Wl,20 -Wl,-curren
t_version -Wl,20.0
ld: Undefined symbols:
_HBClearMask
_LBCarryMask
_amask0_8_0
_amask2_3_3
_amask4_2_2
_amask5_3_0
_amask6_2_0
_mask16_0
_mask16_1
_mask24_0
_mask24_1
_mask24_2
_mask32_0
_mask32_1
_mask32_2
_mask32_3
_mask48_0
_mask48_1
_mask48_2
_mask48_3
_mask48_4
_mask48_5
_mask8_0
/usr/bin/libtool: internal link edit command failed
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/graphics/png/work/libpng-1.2.19



Home | Main Index | Thread Index | Old Index