Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 218045 - app-office/openoffice fails on libvclplug_gtk680lx.so -fPIC error in gtkframe.o
Summary: app-office/openoffice fails on libvclplug_gtk680lx.so -fPIC error in gtkframe.o
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-17 03:19 UTC by biohazrd
Modified: 2008-10-17 00:45 UTC (History)
0 users

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 biohazrd 2008-04-17 03:19:21 UTC
It seems to be a final link issue with gtkframe.o not supporting fPIC while linking with libvclplug_gtk680lx.o  It may be an issue specific with gcc 4.3, as it did not have problems prior to updating gcc.  The same error happens on both 2.3.1-r1 and 2.4.0

Reproducible: Always

Steps to Reproduce:
1.emerge openoffice
2.
3.

Actual Results:  
fails with the following error:
-----------------------------
SHL4FILTERFILE not set!
-----------------------------
dummy file to keep the dependencies for later use.
------------------------------
Making: ../unxlngx6.pro/lib/libvclplug_gtk680lx.so
x86_64-pc-linux-gnu-g++ -Wl,-z,combreloc -Wl,-z,defs -Wl,-rpath,'$ORIGIN:$ORIGIN/../ure-link/lib' -shared -L../unxlngx6.pro/lib -L../lib -L/var/tmp/portage/app-office/openoffice-2.4.0/work/ooo/build/OOH680_m12/solenv/unxlngx6/lib -L/var/tmp/portage/app-office/openoffice-2.4.0/work/ooo/build/OOH680_m12/solver/680/unxlngx6.pro/lib -L/var/tmp/portage/app-office/openoffice-2.4.0/work/ooo/build/OOH680_m12/solenv/unxlngx6/lib -L/opt/sun-jdk-1.6.0.05/lib64 -L/opt/sun-jdk-1.6.0.05/jre/lib/amd64 -L/opt/sun-jdk-1.6.0.05/jre/lib/amd64/server -L/opt/sun-jdk-1.6.0.05/jre/lib/amd64/native_threads -L/usr/lib64 -L/usr/lib64/mozilla-firefox ../unxlngx6.pro/slo/vclplug_gtk_dflt_version.o -o ../unxlngx6.pro/lib/libvclplug_gtk680lx.so ../unxlngx6.pro/slo/gtkdata.o ../unxlngx6.pro/slo/gtkinst.o ../unxlngx6.pro/slo/gtksys.o ../unxlngx6.pro/slo/atkaction.o ../unxlngx6.pro/slo/atkbridge.o ../unxlngx6.pro/slo/atkcomponent.o ../unxlngx6.pro/slo/atkeditabletext.o ../unxlngx6.pro/slo/atkfactory.o ../unxlngx6.pro/slo/atkhypertext.o ../unxlngx6.pro/slo/atkimage.o ../unxlngx6.pro/slo/atklistener.o ../unxlngx6.pro/slo/atkregistry.o ../unxlngx6.pro/slo/atkselection.o ../unxlngx6.pro/slo/atktable.o ../unxlngx6.pro/slo/atktext.o ../unxlngx6.pro/slo/atktextattributes.o ../unxlngx6.pro/slo/atkutil.o ../unxlngx6.pro/slo/atkvalue.o ../unxlngx6.pro/slo/atkwindow.o ../unxlngx6.pro/slo/atkwrapper.o ../unxlngx6.pro/slo/salnativewidgets-gtk.o ../unxlngx6.pro/slo/gtkframe.o ../unxlngx6.pro/slo/gtkobject.o -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgmodule-2.0 -ldl -lgthread-2.0 -lrt -ldbus-glib-1 -ldbus-1 -lgobject-2.0 -lglib-2.0 -lvclplug_gen680lx -lvcl680lx -lpsp680lx -lsot680lx -lutl680lx -ltl680lx -lcomphelp4gcc3 -lucbhelper4gcc3 -luno_cppuhelpergcc3 -luno_cppu -lvos3gcc3 -luno_sal -lX11 -lXext -ldl -lpthread -lm 
/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.3/../../../../x86_64-pc-linux-gnu/bin/ld: warning: creating a DT_TEXTREL in object.
/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.3/../../../../x86_64-pc-linux-gnu/bin/ld: ../unxlngx6.pro/slo/gtkframe.o: relocation R_X86_64_PC32 against `com::sun::star::accessibility::cppu_detail_getUnoType(com::sun::star::accessibility::XAccessibleEditableText const*)::the_type' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.3/../../../../x86_64-pc-linux-gnu/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
dmake:  Error code 1, while making '../unxlngx6.pro/lib/libvclplug_gtk680lx.so'
---* tg_merge.mk *---

ERROR: Error 65280 occurred while making /var/tmp/portage/app-office/openoffice-2.4.0/work/ooo/build/OOH680_m12/vcl/util
make: *** [stamp/build] Error 1
 * 
 * ERROR: app-office/openoffice-2.4.0 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 5441:  Called die
 * The specific snippet of code:
 *       make || die "Build failed"
 *  The die message:
 *   Build failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/app-office/openoffice-2.4.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-office/openoffice-2.4.0/temp/environment'.
 * 
!!! When you file a bug report, please include the following information:
GENTOO_VM=sun-jdk-1.6  CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.6.0.05"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER=""


Expected Results:  
Build and install

emerge --info
Portage 2.1.4.4 (default-linux/amd64/2007.0, gcc-4.2.3, glibc-2.6.1-r0, 2.6.24-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.24-gentoo-r4 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4400+
Timestamp of tree: Thu, 17 Apr 2008 00:37:02 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.16.1-r3, 2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/init.d /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://mirror.usu.edu/mirrors/gentoo/ "
LANG="C"
LINGUAS="en_US"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X aac accessibility ace acl acpi alsa amd64 apache2 berkdb binary-drivers bittorrent bluetooth branding bzip2 cairo cdda cddb cdparanoia cdr cdrom cli cracklib crypt cups dbus dhcp divx dri dvd dvdr dvdread dvi eds epiphany esd evo fbsplash ffmpeg firefox flac foomaticdb fortran ftp gdbm gdm gedit gimp gimpprint gkrellm glitz gmedia gnome gnome-print gpm gs gstreamer gtk gtkhtml hal iconv id3tag ieee1394 ipod ipv6 isdnlog java javascript jpeg jpeg2k libsexy live lm_sensors mad midi mmx mmxext motif moznoirc moznomail mp3 mp4 mpeg mpeg2 mplayer mudflap multislot mysql nautilus ncurses networkmanager new-interface nfs nls nptl nptlonly nsplugin nvidia ogg opengl openmp pam pango pcre pdf perl php png pppd python quicktime readline realmedia reflection rhythmbox samba sdl session shaper sound sox spell spl sse sse2 ssl ssse3 swat tagwriting tcpd theora tiff tivo truetype unicode usb vorbis wmp x264 xine xorg xscreensaver zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse joystick evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US" USERLAND="GNU" VIDEO_CARDS="nv nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 biohazrd 2008-04-28 12:58:19 UTC
It is a gcc issue.  I switched back to gcc 4.1.2 and it compiled fine.  It appears to only have this problem with gcc 4.2.3.  (Just noticed I had a lazy finger and commented it was on 4.3) For the record it is 4.2.3 as shown in emerge --info.
Comment 2 Andreas Proschofsky (RETIRED) gentoo-dev 2008-05-29 22:43:24 UTC
Hmm, do you still get this on a recent gcc?
Comment 3 Andreas Proschofsky (RETIRED) gentoo-dev 2008-10-16 20:20:57 UTC
No feedback formonths, closing
Comment 4 biohazrd 2008-10-17 00:45:40 UTC
Sorry, for some reason I missed the follow up question in email.  I switched to -bin version during this.  But openoffice 2.4.1 compiles fine with gcc 4.2.3.  Maybe the version bump to .1 on openoffice fixed the issue.  

Thank you for your efforts.