Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 109005 - dev-libs/mini-xml-2.2.1 failed on hardened ppc
Summary: dev-libs/mini-xml-2.2.1 failed on hardened ppc
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-12 07:29 UTC by nixnut (RETIRED)
Modified: 2008-02-28 10:12 UTC (History)
2 users (show)

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


Attachments
Ebuild for new version of mini-xml (mini-xml-2.3.ebuild,843 bytes, text/plain)
2007-06-26 10:48 UTC, Koen Deforche
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nixnut (RETIRED) gentoo-dev 2005-10-12 07:29:41 UTC
Build error:

powerpc-unknown-linux-gnu-gcc -O  -o testmxml testmxml.o libmxml.a
Testing library...
./testmxml test.xml >temp1.xml 2>temp1s.xml
./testmxml temp1.xml >temp2.xml 2>temp2s.xml
Stdio file test passed!
String test passed!
File descriptor test passed!
powerpc-unknown-linux-gnu-gcc -O  -o mxmldoc-static mxmldoc.o libmxml.a
/bin/rm -f mxml.xml
./mxmldoc-static mxml.xml mxml.h mxml-attr.c mxml-entity.c mxml-file.c mxml-i  
x.c mxml-node.c mxml-search.c mxml-set.c >doc/reference.html
/bin/sh: line 1: 20763 Segmentation fault      ./mxmldoc-static mxml.xml mxml  
mxml-attr.c mxml-entity.c mxml-file.c mxml-index.c mxml-node.c mxml-search.c   
l-set.c >doc/reference.html
make: *** [mxml.xml] Error 139

!!! ERROR: dev-libs/mini-xml-2.2.1 failed.
!!! Function src_compile, Line 556, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status messag


Reproducible: Always
Steps to Reproduce:
1. select hardened profile with gcc-config
2. emerge mini-xml
3. segfault of mxmldoc-static

Actual Results:  
emerge unsuccessful

Expected Results:  
emerge successful

emerge info:

Portage 2.0.51.22-r3 (selinux/2005.1/ppc, gcc-3.4.4, glibc-2.3.4.20041102-r1,
2.6.13-hardened ppc)
=================================================================
System uname: 2.6.13-hardened ppc 7447A, altivec supported
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5-r2, 2.4.1-r1
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
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.15.90.0.3-r5
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="ppc"
AUTOCLEAN="yes"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe"
DISTDIR="/var/tmp/portage/distfiles"
FEATURES="autoconfig distlocks sandbox selinux sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo
http://pandemonium.tiscali.de/pub/gentoo/
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
LC_ALL="en_GB.UTF-8"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa altivec berkdb cdr crypt cups directfb dlloader dvd dvdread esd fam
flac gd gdbm gif gpm gtk hardened imagemagick imlib java jpeg ldap mad motif
mpeg ncurses network nls nptl ogg opengl pam perl png ppc python readline real
selinux slang sqlite ssl tcpd theora tiff truetype unicode vorbis xine xml2 xv
xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LDFLAGS, LINGUAS, MAKEOPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-01-15 03:57:08 UTC
@fvdpol: May I ask why are you re-assigning this to bug wranglers?

# herdstat --metadata mini-xml
Package:          dev-libs/mini-xml
Herds(0):         none
Maintainers(1):   fvdpol@gentoo.org

If you don't intend to maintain this any more, maintainer-needed@g.o. is the correct assignee. 

Bouncing back.
Comment 2 Frank van de Pol (RETIRED) gentoo-dev 2006-01-15 12:54:20 UTC
can't reproduce this error on my box. When I selected hardened gcc profile (x86_64-pc-linux-gnu-3.4.5-hardened) it fails during linking:

/usr/bin/ar crvs libmxml.a mxml-attr.o mxml-entity.o mxml-file.o mxml-index.o mxml-node.o mxml-search.o mxml-set.o mxml-private.o mxml-string.o
a - mxml-attr.o
a - mxml-entity.o
a - mxml-file.o
a - mxml-index.o
a - mxml-node.o
a - mxml-search.o
a - mxml-set.o
a - mxml-private.o
a - mxml-string.o
x86_64-pc-linux-gnu-ranlib libmxml.a
x86_64-pc-linux-gnu-gcc -O  -o mxmldoc mxmldoc.o -L. -lmxml
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/../../../../x86_64-pc-linux-gnu/bin/ld: mxmldoc.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
mxmldoc.o: could not read symbols: Bad value
Comment 3 Koen Deforche 2007-06-26 10:48:02 UTC
Created attachment 123100 [details]
Ebuild for new version of mini-xml
Comment 4 Koen Deforche 2007-06-26 10:50:00 UTC
This is a the ebuild of a new version of Mini-XML.

Compared to previous versions, Mini-XML changed license (to a variation of LGPL). I'm not sure if it fixes the original bug description (not compiling on PPC).
Comment 5 Carsten Lohrke (RETIRED) gentoo-dev 2008-01-08 00:32:22 UTC
Just put version 2.4 into cvs. Does it work for you, nixnut?
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2008-02-28 10:12:43 UTC
Try w/ 2.4 and reopen if needed.