Studio 12/x64, S10U8, current patches
I'm building an older version of glib2 (2.14.6) as a proof of concept on
a build infrastruture that I am developing.
This same framework builds gnome-2.12.12 correctly, but
despite using appropriate tools (nm, elfdump, etc) against
the objetcts, I cannot determine why these symbols are
ending up in the library. I've seen references to errors
like this, but only in C++ frameworks (pcre to be specific)
Creation of the library:
pkgbuild: mv -f ".libs/libglib-2.0.expT" ".libs/libglib-2.0.exp"
pkgbuild: echo "{ global:" > .libs/libglib-2.0.so.0.1400.6.exp
pkgbuild: cat .libs/libglib-2.0.exp | /opt/dtbld/bin/sed -e "s/\(.*\)/\1;/" >>
.libs/libglib-2.0.so.0.1400.6.exp
pkgbuild: echo "local: *; };" >> .libs/libglib-2.0.so.0.1400.6.exp
pkgbuild: /usr/ccs/bin/ld -G -M .libs/libglib-2.0.so.0.1400.6.exp -h
libglib-2.0.so.0 -o .libs/libglib2.0.so.0.1400.6 .libs/garray.o
.libs/gasyncqueue.o .libs/gatomic.o
.libs/gbacktrace.o .libs/gbase64.o .libs/gbookmarkfile.o .libs/gcache.o
.libs/gcompletion.o .libs/gconvert.o .libs/gdataset.o .libs/gdate.o
.libs/gdir.o .libs/gerror.o .libs/gfileutils.o .libs/ghash.o .libs/ghook.o
.libs/giochannel.o .libs/gkeyfile.o .libs/glist.o .libs/gmain.o
.libs/gmappedfile.o .libs/gmarkup.o .libs/gmem.o .libs/gmessages.o
.libs/gnode.o .libs/goption.o .libs/gpattern.o .libs/gprimes.o .libs/gqsort.o
.libs/gqueue.o .libs/grel.o .libs/grand.o .libs/gregex.o .libs/gscanner.o
.libs/gsequence.o .libs/gshell.o .libs/gslice.o .libs/gslist.o .libs/gstdio.o
.libs/gstrfuncs.o .libs/gstring.o .libs/gthread.o .libs/gthreadpool.o
.libs/gtimer.o .libs/gtree.o .libs/guniprop.o .libs/gutf8.o .libs/gunibreak.o
.libs/gunicollate.o .libs/gunidecomp.o .libs/gutils.o .libs/gprintf.o
.libs/giounix.o .libs/gspawn.o -z allextract libcharset/.libs/libcharset.a
pcre/.libs/libpcre.a -z defaultextract -R/opt/foss/lib/amd64 -R/usr/lib/amd64
-L/opt/foss/lib/amd64 -L/usr/lib/amd64 -liconv -lc -lm -ldl -lpthread -lposix4
-lrt -lintl -lc
pkgbuild: rm -f .libs/libglib-2.0.so.0.1400.6.exp
Compile/Link of the object that fails.
pkgbuild: /bin/bash ../libtool --tag=CC --mode=link /opt/SUNWspro/bin/cc -Xc
-xc99=%all -errshort=full -errfmt=error -errwarn=%none -s -xcsi
-xustr=ascii_utf16_ushort -
features=extinl -xalias_level=std -mt -D_XOPEN_SOURCE=600 -D_XPG6
-D_POSIX_C_SOURCE=200112L -D__XOPEN_OR_POSIX -D_STRICT_STDC -D_STRICT_STDC__
-D_STDC_C99 -D_ISOC99_SOURCE
-xF=%none -xbuiltin=%all -xinline=%auto -xprefetch=auto
-xprefetch_auto_type=indirect_array_access -xprefetch_level=3 -xthreadvar=%all
-xipo=0 -xO3 -xregs=no%frameptr -xjobs=2 -KPIC -xrestrict=%all -xtarget=generic
-m64 -m64 -s -L/opt/foss/lib/amd64 -R/opt/foss/lib/amd64 -L/usr/lib/amd64
-R/usr/lib/amd64 -z combreloc -z redlocsym -z nodefaultlib -z ignore -z now -z
rescan -z absexec -xldscope=symbolic -xlibmil -s -lc -lm -ldl -lpthread
-lposix4 -lrt -mt -o glib-genmarshal glib-genmarshal.o ../glib/libglib-2.0.la
-lintl
pkgbuild: mkdir .libs
pkgbuild: /opt/SUNWspro/bin/cc -Xc -xc99=%all -errshort=full -errfmt=error
-errwarn=%none -s -xcsi -xustr=ascii_utf16_ushort -features=extinl
-xalias_level=std -mt -D_XOPEN_SOURCE=600 -D_XPG6 -D_POSIX_C_SOURCE=200112L
-D__XOPEN_OR_POSIX -D_STRICT_STDC -D_STR
ICT_STDC__ -D_STDC_C99 -D_ISOC99_SOURCE -xF=%none -xbuiltin=%all -xinline=%auto
-xprefetch=auto -xprefetch_auto_type=indirect_array_access -xprefetch_level=3
-xthreadvar=%all -xipo=0 -xO3 -xregs=no%frameptr -xjobs=2 -KPIC -xrestrict=%all
-xtarget=generic -m64 -m64 -s -z combreloc -z redlocsym -z nodefaultlib -z
ignore -z now -z rescan -z absexec -xldscope=symbolic -xlibmil -s -mt -o
.libs/glib-genmarshal glib-genmarshal.o -L/opt/foss/lib/amd64 -L/usr/lib/amd64
../glib/.libs/libglib-2.0.so -liconv -lc -lm -ldl -lpthread -lposix4 -lrt
-lintl -R/opt/foss/lib/amd64 -R/usr/lib/amd64
pkgbuild: Undefined first referenced
pkgbuild: symbol in file
pkgbuild: .CGB0.3612 ../glib/.libs/libglib-2.0.so
pkgbuild: .CGBA.3622 ../glib/.libs/libglib-2.0.so
pkgbuild: ld: fatal: Symbol referencing errors. No output written to
.libs/glib-genmarshal
pkgbuild: make[2]: *** [glib-genmarshal] Error 1
pkgbuild: make[2]: Leaving directory
`/export/home/bent/packages/BUILD/FOSSglib2-2.14.6/amd64/glib-2.14.6/gobject'
pkgbuild: make[1]: *** [all-recursive] Error 1
pkgbuild: make[1]: Leaving directory
`/export/home/bent/packages/BUILD/FOSSglib2-2.14.
Ideas?
--
This message posted from opensolaris.org