Working on some stuff behind the scenes and seeing weird issues with libtiff, libjpeg/libjpeg-turbo and libpng that cause linking errors, and in many cases, failures to pass testsuites.
I wouldn't be too concerned except some binaries simply are not installing, and that's kinda sorta bad??
Here's some examples:
Code:
libtool: install: (cd /root/jpeg-9c; { test -z "" || unset LD_LIBRARYN32_PATH || { LD_LIBRARYN32_PATH=; export LD_LIBRARYN32_PATH; }; }; PATH=/usr/sbin:/usr/bsd:/usr/gnu:/sbin:/usr/bin:/etc:/usr/etc:/usr/bin/X11; export PATH; c99 -O3 -mips4 -TARG:proc=r10000 -Wl,-rpath -Wl,/usr/lib32 -o /tmp/libtool-462533103/jpegtran jpegtran.o rdswitch.o cdjpeg.o transupp.o -L/usr/lib32 -L/usr/lib32 -ljpeg -Wl,-rpath -Wl,/usr/lib32)
ld32: ERROR 33 : Unresolved text symbol "jpeg_default_qtables" -- 1st referenced by rdswitch.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR 33 : Unresolved text symbol "jpeg_core_output_dimensions" -- 1st referenced by transupp.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR 33 : Unresolved text symbol "jpeg_save_markers" -- 1st referenced by transupp.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: INFO 152: Output file removed because of error.
libtool: error: error: relink 'jpegtran' with the above command before installing it
This is JPEG 9c, which didbs (Mrthinlysliced/Daniel Hams) had. It didn't mention anything about this breaking. It passes the testsuites, but this causes some stuff to not load. If I try to relink that command above, it doesn't work for me. Can anyone else replicate? libjpegturbo does the same with 1.5.3
Code:
PASS: tests/pngtest
PASS: tests/pngtest-badpngs
PASS: tests/pngvalid-gamma-16-to-8
FAIL: tests/pngvalid-gamma-alpha-mode
FAIL: tests/pngvalid-gamma-background
FAIL: tests/pngvalid-gamma-expand16-alpha-mode
FAIL: tests/pngvalid-gamma-expand16-background
PASS: tests/pngvalid-gamma-expand16-transform
PASS: tests/pngvalid-gamma-sbit
FAIL: tests/pngvalid-gamma-threshold
PASS: tests/pngvalid-gamma-transform
PASS: tests/pngvalid-progressive-size
FAIL: tests/pngvalid-progressive-interlace-standard
PASS: tests/pngvalid-transform
FAIL: tests/pngvalid-progressive-standard
FAIL: tests/pngvalid-standard
FAIL: tests/pngstest-1.8
FAIL: tests/pngstest-1.8-alpha
FAIL: tests/pngstest-linear
FAIL: tests/pngstest-linear-alpha
FAIL: tests/pngstest-none
FAIL: tests/pngstest-none-alpha
FAIL: tests/pngstest-sRGB
FAIL: tests/pngstest-sRGB-alpha
PASS: tests/pngunknown-IDAT
PASS: tests/pngunknown-discard
PASS: tests/pngunknown-if-safe
PASS: tests/pngunknown-sAPI
PASS: tests/pngunknown-sTER
PASS: tests/pngunknown-save
PASS: tests/pngunknown-vpAg
PASS: tests/pngimage-quick
PASS: tests/pngimage-full
============================================================================
Testsuite summary for libpng 1.6.34
============================================================================
# TOTAL: 33
# PASS: 17
# SKIP: 0
# XFAIL: 0
# FAIL: 16
# XPASS: 0
# ERROR: 0
============================================================================
See ./test-suite.log
Please report to png-mng-implement@lists.sourceforge.net
============================================================================
This is with libpng 1.6.34, also recommended by didbs. I get the feeling that Daniel may have built these with GCC and just had MIPSPro as an available compiler as an afterthought? That's my theory. I haven't tried with GCC for these, mostly because of laziness.
Code:
PASS: long_tag
PASS: ascii_tag
PASS: short_tag
PASS: custom_dir
PASS: strip_rw
PASS: rewrite
../config/test-driver[95]: 37897 Memory fault(coredump)
FAIL: raw_decode
PASS: ppm2tiff_pbm.sh
PASS: ppm2tiff_pgm.sh
PASS: tiffcp-g3-1d.sh
PASS: tiffcp-g3.sh
PASS: ppm2tiff_ppm.sh
PASS: tiffcp-g3-1d-fill.sh
PASS: tiffcp-g3-2d-fill.sh
PASS: tiffcp-g3-2d.sh
PASS: tiffcp-g4.sh
PASS: tiffcp-logluv.sh
PASS: tiffcp-thumbnail.sh
PASS: tiffcp-lzw-compat.sh
PASS: tiffdump.sh
PASS: tiffinfo.sh
PASS: tiffcp-split.sh
PASS: tiff2ps-PS1.sh
PASS: tiff2ps-PS2.sh
PASS: tiff2ps-PS3.sh
PASS: tiffcp-split-join.sh
PASS: tiff2ps-EPS1.sh
PASS: tiff2pdf.sh
PASS: tiffcrop-doubleflip-logluv-3c-16b.sh
PASS: tiffcrop-doubleflip-minisblack-1c-16b.sh
PASS: tiffcrop-doubleflip-minisblack-1c-8b.sh
PASS: tiffcrop-doubleflip-minisblack-2c-8b-alpha.sh
PASS: tiffcrop-doubleflip-miniswhite-1c-1b.sh
PASS: tiffcrop-doubleflip-palette-1c-4b.sh
PASS: tiffcrop-doubleflip-palette-1c-1b.sh
PASS: tiffcrop-doubleflip-palette-1c-8b.sh
PASS: tiffcrop-doubleflip-rgb-3c-8b.sh
PASS: tiffcrop-extract-logluv-3c-16b.sh
PASS: tiffcrop-doubleflip-rgb-3c-16b.sh
PASS: tiffcrop-extract-minisblack-1c-8b.sh
PASS: tiffcrop-extract-minisblack-1c-16b.sh
PASS: tiffcrop-extract-minisblack-2c-8b-alpha.sh
PASS: tiffcrop-extract-palette-1c-1b.sh
PASS: tiffcrop-extract-miniswhite-1c-1b.sh
PASS: tiffcrop-extract-palette-1c-4b.sh
PASS: tiffcrop-extract-palette-1c-8b.sh
PASS: tiffcrop-extract-rgb-3c-16b.sh
PASS: tiffcrop-extract-rgb-3c-8b.sh
PASS: tiffcrop-extractz14-logluv-3c-16b.sh
PASS: tiffcrop-extractz14-minisblack-1c-16b.sh
PASS: tiffcrop-extractz14-minisblack-2c-8b-alpha.sh
PASS: tiffcrop-extractz14-minisblack-1c-8b.sh
PASS: tiffcrop-extractz14-miniswhite-1c-1b.sh
PASS: tiffcrop-extractz14-palette-1c-1b.sh
PASS: tiffcrop-extractz14-palette-1c-4b.sh
PASS: tiffcrop-extractz14-palette-1c-8b.sh
PASS: tiffcrop-extractz14-rgb-3c-8b.sh
PASS: tiffcrop-extractz14-rgb-3c-16b.sh
PASS: tiffcrop-R90-logluv-3c-16b.sh
PASS: tiffcrop-R90-minisblack-1c-16b.sh
PASS: tiffcrop-R90-minisblack-2c-8b-alpha.sh
PASS: tiffcrop-R90-minisblack-1c-8b.sh
PASS: tiffcrop-R90-miniswhite-1c-1b.sh
PASS: tiffcrop-R90-palette-1c-1b.sh
PASS: tiffcrop-R90-palette-1c-4b.sh
PASS: tiffcrop-R90-palette-1c-8b.sh
PASS: tiffcrop-R90-rgb-3c-16b.sh
PASS: tiffcrop-R90-rgb-3c-8b.sh
PASS: tiff2bw-palette-1c-8b.sh
PASS: tiff2bw-quad-lzw-compat.sh
PASS: tiff2bw-rgb-3c-8b.sh
PASS: tiff2rgba-logluv-3c-16b.sh
PASS: tiff2rgba-minisblack-1c-16b.sh
PASS: tiff2rgba-minisblack-1c-8b.sh
PASS: tiff2rgba-minisblack-2c-8b-alpha.sh
PASS: tiff2rgba-miniswhite-1c-1b.sh
PASS: tiff2rgba-palette-1c-1b.sh
PASS: tiff2rgba-palette-1c-4b.sh
PASS: tiff2rgba-rgb-3c-16b.sh
PASS: tiff2rgba-palette-1c-8b.sh
PASS: tiff2rgba-rgb-3c-8b.sh
FAIL: tiff2rgba-quad-tile.jpg.sh
And link errors:
libtool: install: (cd /root/tiff-4.0.9/tools; { test -z "" || unset LD_LIBRARYN32_PATH || { LD_LIBRARYN32_PATH=; export LD_LIBRARYN32_PATH; }; }; PATH=/usr/sbin:/usr/bsd:/sbin:/usr/bin:/etc:/usr/etc:/usr/bin/X11; export PATH; c99 -O3 -mips4 -TARG:proc=r10000 -fullwarn -Wl,-rpath -Wl,/usr/lib32 -o /tmp/libtool-627040200/tiff2rgba tiff2rgba.
o -L/usr/lib32 -L/usr/lib32 -ltiff ../port/.libs/libport.a -llzma -lpthread -ljpeg -lz -lm -Wl,-rpath -Wl,/usr/lib32)
ld32: WARNING 84 : ../port/.libs/libport.a is not used for resolving any symbol.
ld32: WARNING 84 : /usr/lib32/liblzma.so is not used for resolving any symbol.
ld32: WARNING 84 : /usr/lib32/libz.so is not used for resolving any symbol.
ld32: ERROR 33 : Unresolved text symbol "_TIFFCheckMalloc" -- 1st referenced by tiff2rgba.o. Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR 33 : Unresolved text symbol "TIFFReadRGBAImageOriented" -- 1st referenced by tiff2rgba.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR 33 : Unresolved text symbol "TIFFReadRGBATile" -- 1st referenced by tiff2rgba.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR 33 : Unresolved text symbol "TIFFReadRGBAStrip" -- 1st referenced by tiff2rgba.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: INFO 152: Output file removed because of error.
libtool: error: error: relink 'tiff2rgba' with the above command before installing it
TIFF is a bit different. Test suite and link errors. The latte moreso.
I'm gonna definitely pursue the upstream on this, but I don't expect much because I've heard it before "Oh we don't care about IRIX and it's proprietary compiler." You have no idea how much that nettles me sometimes. Like, you're not going to even give me a hint?
I'm the system admin of this site. Private security technician, licensed locksmith, hack of a c developer and vintage computer enthusiast.
https://contrib.irixnet.org/raion/ -- contributions and pieces that I'm working on currently.
https://codeberg.org/SolusRaion -- Code repos I control
Technical problems should be sent my way.