1.12.2 won't build on Solaris w/ Sun Studio cc. _cairo_unbounded_rectangle undefined symbol
Submitted by mar..@..io.org
Assigned to Carl Worth @cworth
Description
This root cause is likely the same as this bug.
OS's:
- SunOS host1 5.10 Generic_142901-13 i86pc i386 i86pc
- SunOS host2 5.10 Generic_142909-17 sun4v sparc SUNW,T5240
- SunOS host3 5.11 snv_134 i86pc i386 i86pc
Compilers:
- cc: Sun C 5.11 SunOS_i386 145355-01 2010/10/11
- cc: Sun C 5.11 SunOS_sparc 145354-01 2010/10/11
- cc: Sun C 5.11 SunOS_i386 2010/08/13
This occurs for all of the above:
/bin/bash ../libtool --tag=CC --mode=link cc -xtarget=ultra -m64 -xcode=pic32 -L/usr/local/lib -I/usr/local/include -D_POSIX_PTHREAD_SEMANTICS -I/usr/local/include -L/usr/local/lib -o cairo-analyse-trace cairo-analyse-trace.o cairo-error.o ../util/cairo-script/libcairo-script-interpreter.la ../util/cairo-missing/libcairo-missing.la libcairoperf.la ../boilerplate/libcairoboilerplate.la ../src/libcairo.la -lrt -lintl -lm
libtool: link: cc -xtarget=ultra -m64 -xcode=pic32 -I/usr/local/include -D_POSIX_PTHREAD_SEMANTICS -I/usr/local/include -o .libs/cairo-analyse-trace cairo-analyse-trace.o cairo-error.o -L/usr/local/lib ../util/cairo-script/.libs/libcairo-script-interpreter.so ../util/cairo-missing/.libs/libcairo-missing.a ./.libs/libcairoperf.a ../boilerplate/.libs/libcairoboilerplate.a /var/tmp/cairo-1.12.2/src/.libs/libcairo.so -ldl ../src/.libs/libcairo.so /usr/local/lib/libpixman-1.so /usr/local/lib/libfontconfig.so /usr/local/lib/libexpat.so /usr/local/lib/libiconv.so /usr/local/lib/libfreetype.so -lbz2 /usr/local/lib/libpng14.so /usr/local/lib/libxcb-shm.so /usr/local/lib/libX11-xcb.so /usr/local/lib/libxcb-render.so /usr/local/lib/libXrender.so /usr/local/lib/libX11.so /usr/local/lib/libxcb.so /usr/local/lib/libXau.so /usr/local/lib/libXdmcp.so -lnsl -lsocket -lz -lrt /usr/local/lib/libintl.so -lc -lm -R/cairo/lib -R/usr/local/lib
ld: warning: file ../src/.libs/libcairo.so: linked to /var/tmp/cairo-1.12.2/src/.libs/libcairo.so: attempted multiple inclusion of file
Undefined first referenced
symbol in file
_cairo_unbounded_rectangle cairo-error.o (symbol scope specifies local binding)
ld: fatal: Symbol referencing errors. No output written to .libs/cairo-analyse-trace
gmake[4]: *** [cairo-analyse-trace] Error 2
gmake[4]: Leaving directory `/var/tmp/cairo-1.12.2/perf'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/var/tmp/cairo-1.12.2/perf'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/var/tmp/cairo-1.12.2/perf'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/var/tmp/cairo-1.12.2'
gmake: *** [all] Error 2
host2:/var/tmp/cairo-1.12.2 root#
Version: 1.12.2
Edited by Emmanuele Bassi