Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 110519 - Undefined symbol while compiling openoffice-2.0.0
Summary: Undefined symbol while compiling openoffice-2.0.0
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-26 02:01 UTC by dario
Modified: 2005-10-26 13:57 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dario 2005-10-26 02:01:34 UTC
This is the result:

Making: ../unxlngppc.pro/lib/libxsec_xmlsec.so
g++ -Wl,-rpath,'$ORIGIN' -shared -L../unxlngppc.pro/lib -L../lib
-L/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.0.0/build/ooo680-m3/solenv/unxlngppc/lib
-L/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.0.0/build/ooo680-m3/solver/680/unxlngppc.pro/lib
-L/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.0.0/build/ooo680-m3/solenv/unxlngppc/lib
-L/opt/ibm-jdk-bin-1.4.2/lib -L/opt/ibm-jdk-bin-1.4.2/jre/bin
-L/opt/ibm-jdk-bin-1.4.2/jre/bin/classic -L/opt/ibm-jdk-bin-1.4.2/jre/bin
-L/usr/lib -L/usr/lib/mozilla ../unxlngppc.pro/slo/xsec_xmlsec_version.o
../unxlngppc.pro/slo/xsec_xmlsec_description.o -o
../unxlngppc.pro/lib/libxsec_xmlsec.so ../unxlngppc.pro/slo/baseencoding.o
../unxlngppc.pro/slo/biginteger.o ../unxlngppc.pro/slo/certvalidity.o
../unxlngppc.pro/slo/saxhelper.o
../unxlngppc.pro/slo/xmldocumentwrapper_xmlsecimpl.o
../unxlngppc.pro/slo/xmlelementwrapper_xmlsecimpl.o
../unxlngppc.pro/slo/certificateextension_xmlsecimpl.o
../unxlngppc.pro/slo/xmlstreamio.o ../unxlngppc.pro/slo/errorcallback.o
../unxlngppc.pro/slo/xsec_xmlsec.o
../unxlngppc.pro/slo/securityenvironment_nssimpl.o
../unxlngppc.pro/slo/xmlencryption_nssimpl.o
../unxlngppc.pro/slo/xmlsecuritycontext_nssimpl.o
../unxlngppc.pro/slo/xmlsignature_nssimpl.o
../unxlngppc.pro/slo/x509certificate_nssimpl.o
../unxlngppc.pro/slo/seinitializer_nssimpl.o ../unxlngppc.pro/slo/xsec_nss.o
-luno_sal -luno_cppu -luno_cppuhelpergcc3 -luno_sal -lutl680lp -lsvl680lp
-ltl680lp -lcomphelp4gcc3 -luno_cppuhelpergcc3 -lxo680lp -lxml2 -lxmlsec1
-lxmlsec1-nss -lnss3 -lnspr4 -lplc4 -ldl -lpthread -lm -Wl,-Bdynamic
-lstlport_gcc -lstdc++
rm -f ../unxlngppc.pro/lib/check_libxsec_xmlsec.so
mv ../unxlngppc.pro/lib/libxsec_xmlsec.so
../unxlngppc.pro/lib/check_libxsec_xmlsec.so
/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.0.0/build/ooo680-m3/solenv/bin/checkdll.sh
-L../unxlngppc.pro/lib -L../lib
-L/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.0.0/build/ooo680-m3/solenv/unxlngppc/lib
-L/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.0.0/build/ooo680-m3/solver/680/unxlngppc.pro/lib
-L/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.0.0/build/ooo680-m3/solenv/unxlngppc/lib
-L/opt/ibm-jdk-bin-1.4.2/lib -L/opt/ibm-jdk-bin-1.4.2/jre/bin
-L/opt/ibm-jdk-bin-1.4.2/jre/bin/classic -L/opt/ibm-jdk-bin-1.4.2/jre/bin
-L/usr/lib -L/usr/lib/mozilla ../unxlngppc.pro/lib/check_libxsec_xmlsec.so
Checking DLL ../unxlngppc.pro/lib/check_libxsec_xmlsec.so ...: ERROR:
../unxlngppc.pro/lib/check_libxsec_xmlsec.so: undefined symbol:
PK11_GetCertFromPrivateKeydmake:  Error code 1, while making
'../unxlngppc.pro/lib/libxsec_xmlsec.so'
'---* tg_merge.mk *---'

ERROR: Error 65280 occurred while making
/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.0.0/build/ooo680-m3/xmlsecurity/util
make: *** [stamp/build] Error 1



giquattro ~ # emerge info
Portage 2.0.53_rc6 (default-linux/ppc/2004.2, gcc-3.4.4, glibc-2.3.5-r2, 2.6.13 ppc)
=================================================================
System uname: 2.6.13 ppc 7447/7457, altivec supported
Gentoo Base System version 1.12.0_pre9
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.13
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="ppc ~ppc"
AUTOCLEAN="yes"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -pipe -mcpu=7450 -maltivec -mabi=altivec -fsigned-char
-mpowerpc-gfxopt -fno-strict-aliasing"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe -mcpu=7450 -maltivec -mabi=altivec -fsigned-char
-mpowerpc-gfxopt -fno-strict-aliasing"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ 
http://ftp.gentoo.skynet.be/pub/gentoo/
http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/"
LINGUAS="it_IT"
MAKEOPTS="-j2 -w"
PKGDIR="/home/dario/gentoo-pkg/"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="ppc X aac aalib alsa altivec apache2 apm bash-completion berkdb
bitmap-fonts bonobo bzlib cairo calendar cdparanoia cdr cli client crypt cups
curl dba devfs26 dmx dv dvd dvdread edl eds effects emboss encode esd fbcon flac
font-server fortran ftp gcj gd gdbm gif gnome gnutls gpm gstreamer gtk gtk2
iconv icq ieee1394 imap imlib inifile inkjar insecure-drivers ipv6 jack java
javascript jpeg junit ldap libcaca libwww mad mbox mime mng motif mozilla
moznocompose moznoirc moznomail mozsvg mp3 mpeg mpeg2 mpi mpm-worker mysql
ncurses network nls nozaptel ogg oggvorbis opengl pam pci pcre pdflib pear perl
php plugin png python qemu-fast qt quicktime readline rogue rtc sdl server
session shared simplexml slang sndfile sockets softmmu sox speex spell sqlite
ssl svg sysvipc tcltk tcpd threads tidy tiff tokenizer truetype truetype-fonts
type1-fonts udev unicode usb utf8 vim-with-x vnc vorbis wmf xanim xgetdefault
xine xinerama xml xml2 xmlrpc xmms xpm xprint xrandr xsl xv xvid yv12 zlib
video_cards_radeon linguas_it_IT userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Andreas Proschofsky (RETIRED) gentoo-dev 2005-10-26 02:08:33 UTC
@PPC-herd: Are this sane CFLAGS under PowerPC, cause for x86 this would be my
first advice: Lower your CFLAGS

@dario: are you sure you had enough free disk space (4-6 gigs) and ram for the
build?
Comment 2 Lars Weiler (RETIRED) gentoo-dev 2005-10-26 03:45:35 UTC
(In reply to comment #1)
> @PPC-herd: Are this sane CFLAGS under PowerPC, cause for x86 this would be my
> first advice: Lower your CFLAGS

Let's see.  I'm compiling OOO already for 11 hours with CFLAGS="-O3 -mtune=G4
-mcpu=G4 -mabi=altivec -pipe".  I had another bug before (a language in LINGUAS
which isn't supported by my glibc), but that seems to be fixed now by changing
LINGUAS.

I guess, in about 6 hours I can tell more.
Comment 3 Luca Barbato gentoo-dev 2005-10-26 04:00:19 UTC
-O2 -pipe -mcpu=7450 -maltivec -mabi=altivec -fsigned-char
-mpowerpc-gfxopt -fno-strict-aliasing

-fsigned-char is wrong, -mpowerpc-gfxopt should cause problem even it should be
implied by cpu=7450

Comment 4 Andreas Proschofsky (RETIRED) gentoo-dev 2005-10-26 10:18:02 UTC
Thanks Luca. I'm closing the bug for now.

@dario: please lower your CFLAGS and if the bug persists, reopen
Comment 5 Luca Barbato gentoo-dev 2005-10-26 13:39:55 UTC
I built my ooo on the pegII (my stable system) and worked fine there and then on
my unstable one. (quickpkg'd)

(!! I noticed that I mistyped, gfxopt should not cause problem since is implied
by the G4)

dario if you need openoffice I can put the tbz2 on my devspace.

In the mean time I'm checking my system for that symbol
Comment 6 Lars Weiler (RETIRED) gentoo-dev 2005-10-26 13:57:08 UTC
(In reply to comment #5)
> dario if you need openoffice I can put the tbz2 on my devspace.

Tobi put my build for a G4 online: http://tinyurl.com/d5s3w (LINGUAS="en de",
all use-flags enabled, 103MB).  It's now in the topic of #gentoo-ppc for all who
have troubles or don't want to build it (as there is no offical bin-package).