Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 158434
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: AMD64 Project <amd64@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Luis F. Araujo <araujo@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
scanelf-textrel.log scanelf-textrel.log text/plain Christian Faulhammer 2007-02-05 07:26 0000 5.62 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 158434 depends on: Show dependency tree
Bug 158434 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-12-18 00:42 0000
Please, mark the latest version of gnu-smalltalk (2.3.1) stable.

An important patch has been included.

Thanks

------- Comment #1 From Alex Maclean 2006-12-18 02:01:24 0000 -------
On x86:
1: emerges fine
2: passes test suite
3: passes collision test
4: dodoc: PATCHES does not exist
5: QA Notice: the following files contain runtime text relocations
 Text relocations force the dynamic linker to perform extra
 work at startup, waste system resources, and may pose a security
 risk.  On some architectures, the code may not even function
 properly, if at all.
 For more information, see http://hardened.gentoo.org/pic-fix-guide.xml
 Please include this file in your report:
 /var/tmp/portage/gnu-smalltalk-2.3.1/temp/scanelf-textrel.log
TEXTREL usr/lib/libgst.so.4.2.1

Portage 2.1.1-r2 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r4,
2.6.19-gentoo-r2 i686)
=================================================================
System uname: 2.6.19-gentoo-r2 i686 AMD Turion(tm) 64 X2 Mobile Technology
TL-50
Gentoo Base System version 1.12.6
Last Sync: Mon, 18 Dec 2006 08:50:02 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[enabled]
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: [Not Present]
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo
/etc/texmf/web2c"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache collision-protect distcc distlocks
metadata-transfer parallel-fetch sandbox sfperms strict test"
GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk"
LANG="en_GB.utf8"
LC_ALL="en_GB.utf8"
LINGUAS="en en_GB"
MAKEOPTS="-j12"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X Xaw3d aac acpi alsa alsa_cards_hda-intel amr apache2
audacious avi bash-completion beagle berkdb bitmap-fonts bittorrent bluetooth
bookmarks branding browserplugin bzip2 cairo ccache cdparanoia cdr cdrom
chardet clamav clamd cli cpudetection crypt cups curl curlwrappers cursors dbus
divx dlloader dpms dri dvd dvdr dvdread dvi eds elf elibc_glibc encode esd
ethereal exif expat extensions extrafilters fam fame ffmpeg finger firefox flac
flash flatfile font-server fontconfig foomaticdb fortran freetts gaim gajim gd
gdbm gdm geoip gif gimp gimpprint gmail gmailtimestamps gmedia gnome
gnome-print gnutls gstreamer gstreamer010 gtk gtk2 gtkhtml gtkspell guile gvim
hal hddtemp html httpd icons id3 ieee1394 imagemagick imlib imlib2
input_devices_evdev input_devices_keyboard input_devices_mouse
input_devices_synaptics jabber joystick jpeg kde kdeenablefinal kdm
kernel_linux lame lcms libclamav libg++ libnotify libwww lighttpd linguas_en
linguas_en_GB logitech-mouse lzo lzw mad mikmod mjpeg mmx mmxext mng mono motif
mozbranding moznocompose moznoirc moznomail mozsvg mp3 mp4 mpeg mplayer msn
musepack nautilus ncurses network new-login nfs nls no-old-linux no-seamonkey
no-suexec nogecko-sdk nogg noplugin nptl nptlonly nsplugin nvidia offensive ogg
oggvorbis onoe openal opendoc opengl openssl opensslcrypt pam pam_chroot
panel-plugin pango pcre pdf pdflib perl png pop pppd pulseaudio python qt3
quicktime rar rdesktop readline real realmedia reflection rfkill rt2500pci rtc
ruby samba scanner sdl session sftp sftplogging smtp sox speex spell spl sqlite
sqlite3 sse sse-filters sse2 ssl startup-notification subversion svg svgz swat
sysfs syslog taglib tagwriting tcl tcltk tcpd tga theora thunar-vfs tidy tiff
tk tools tos transcode truetype truetype-fonts type1-fonts udev uk_bleb uk_rt
unicode unzip usb userland_GNU video_cards_nvidia vim vim-pager vim-with-x
virus-scan vorbis win32codecs wma wmp wordperfect wv wxgtk1 wxwindows x264
xanim xchat xchattext xcomposite xext xine xinerama xinetd xml xmlreader
xmlwriter xorg xosd xprint xrandr xscreensaver xsettings xv xvid xvmc zip zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS,
PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #2 From Luis F. Araujo 2006-12-18 02:45:19 0000 -------
Thanks Alex,

I just fixed the dodoc thing.

I don't get the TEXTREL problem though ; it looks like it is very x86
dependent. ( im on amd64) , i can't detect it at the moment.

------- Comment #3 From Matthias Langer 2006-12-18 06:22:40 0000 -------
on x86:
besides of that TEXTREL stuff, gnu-smalltalk-2.3.1  USE="gmp gtk readline
-emacs -tk" seems to be basically ok for me too. besides of merging it with
'test', i was  able to evaluate some trivial expressions in gst; note however,
that i've no clue about smalltalk ....

------- Comment #4 From Scott Van Der Wall 2006-12-24 18:34:27 0000 -------
dev-lang/gnu-smalltalk-2.3.1  USE="readline -emacs -gmp -gtk -tk"

For me on x86:
1: emerges ok
2: passes test suite
3: passes collision test
4: QA Notice: the following files contain runtime text relocations
 Text relocations force the dynamic linker to perform extra
 work at startup, waste system resources, and may pose a security
 risk.  On some architectures, the code may not even function
 properly, if at all.
 For more information, see http://hardened.gentoo.org/pic-fix-guide.xml
 Please include this file in your report:
 /var/tmp/portage/gnu-smalltalk-2.3.1/temp/scanelf-textrel.log
TEXTREL usr/lib/libgst.so.4.2.1

emerge info:

Portage 2.1.1-r2 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r4,
2.6.19-gentoo-r2 i686)
=================================================================
System uname: 2.6.19-gentoo-r2 i686 Genuine Intel(R) CPU           T2500  @
2.00GHz
Gentoo Base System version 1.12.6
Last Sync: Sun, 24 Dec 2006 06:00:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: [Not Present]
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-O2 -march=prescott -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig collision-protect distlocks metadata-transfer sandbox
sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa_cards_hda-intel alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw
alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix
alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty
alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks
alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa
alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter
alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null
alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route
alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol berkdb
bitmap-fonts cli cracklib crypt cups dlloader dri elibc_glibc fortran gdbm gpm
iconv input_devices_evdev input_devices_keyboard input_devices_mouse ipv6
isdnlog kernel_linux libg++ ncurses nls nptl nptlonly oss pam pcre perl ppds
pppd python readline reflection session spl ssl tcpd truetype-fonts type1-fonts
udev unicode userland_GNU video_cards_nvidia xorg zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

------- Comment #5 From Thomas Tuttle 2006-12-24 20:15:28 0000 -------
Failed multilib-strict check on amd64:
Files matching a file type that is not allowed:
   usr/lib/libgst.so.4.2.1
   usr/lib/smalltalk/i18n-2.3.1.so
   usr/lib/smalltalk/tcp-2.3.1.so
   usr/lib/smalltalk/gdbm-2.3.1.so
   usr/lib/smalltalk/md5-2.3.1.so
   usr/lib/smalltalk/gst-gtk-2.3.1.so

!!! ERROR: dev-lang/gnu-smalltalk-2.3.1 failed.
Call stack:
  misc-functions.sh, line 417:   Called install_qa_check
  misc-functions.sh, line 217:   Called die

!!! multilib-strict check failed!
!!! If you need support, post the topmost build error, and the call stack if
relevant.

!!! install_qa_check failed; exiting.

emerge --info:

Portage 2.1.1-r2 (default-linux/amd64/2006.1/desktop, gcc-3.4.6, glibc-2.4-r4,
2.6.19-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.19-gentoo-r2 x86_64 Intel(R) Core(TM)2 CPU         T7200  @
2.00GHz
Gentoo Base System version 1.12.6
Last Sync: Sun, 24 Dec 2006 20:00:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=nocona"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /lib/modules /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf
/etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=nocona"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer multilib-strict prelink
sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo"
LINGUAS="en en_US"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --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="amd64 X a52 aac acpi aiglx alsa alsa_cards_hda-intel
alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym
alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare
alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug
alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958
alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat
alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw
alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug
alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share
alsa_pcm_plugins_shm alsa_pcm_plugins_softvol arts berkdb bitmap-fonts cairo
cdda cddb cdinstall cdr cli cracklib crypt cups dbus dlloader dri dvd dvdr eds
elibc_glibc emboss encode esd exif fam firefox flac fortran gdbm gif gnome gpm
gstreamer gtk gtk2 hal iconv input_devices_evdev input_devices_keyboard
input_devices_mouse input_devices_synaptics ipv6 isdnlog jack java5 jce jikes
jpeg kde kernel_linux ldap libg++ linguas_en linguas_en_US lirc
lirc_devices_streamzap mad mikmod mp3 mpeg ncurses nls nptl nptlonly ogg opengl
pam pcre perl png ppds pppd python qt3 qt4 quicktime readline reflection sdl
session spell spl srvdir ssl symlink tcpd theora truetype truetype-fonts
type1-fonts udev unicode userland_GNU video_cards_i810 video_cards_i945
video_cards_vesa vorbis x264 xml xorg xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #6 From Christian Faulhammer 2007-01-18 11:30:33 0000 -------
araujo, what about the textrels in x86?

amd64, according to ChangeLog your multilib problem has been fixed.

------- Comment #7 From Christian Faulhammer 2007-01-24 08:35:09 0000 -------
According to araujo, x86 waits for a newer version, as upstream will fix the
textrel.

------- Comment #8 From Steve Dibb 2007-02-04 23:34:30 0000 -------
amd64 stable

------- Comment #9 From Luis F. Araujo 2007-02-05 06:19:54 0000 -------
A new version has been released.

Please test, gnu-smalltalk-2.3.2

------- Comment #10 From Christian Faulhammer 2007-02-05 07:26:56 0000 -------
Created an attachment (id=109199) [details]
scanelf-textrel.log

I hate to say it:

QA Notice: the following files contain runtime text relocations
 Text relocations force the dynamic linker to perform extra
 work at startup, waste system resources, and may pose a security
 risk.  On some architectures, the code may not even function
 properly, if at all.
 For more information, see http://hardened.gentoo.org/pic-fix-guide.xml
 Please include this file in your report:
 /var/tmp/portage/gnu-smalltalk-2.3.2/temp/scanelf-textrel.log
TEXTREL usr/lib/libgst.so.4.2.2

------- Comment #11 From Paolo Bonzini 2007-02-05 17:24:15 0000 -------
textrels are fixed by configuring with --disable-static (but will hurt
performance).

------- Comment #12 From Christian Faulhammer 2007-02-05 17:27:38 0000 -------
(In reply to comment #11)
> textrels are fixed by configuring with --disable-static (but will hurt
> performance).

 araujo, you could introduce a USE flag disallow_textrels and force it on
hardened systems.

------- Comment #13 From Chris Gianelloni (RETIRED) 2007-02-06 15:42:01 0000 -------
Why not just patch the TEXTREL out instead?

------- Comment #14 From solar 2007-02-06 16:15:26 0000 -------
(In reply to comment #13)
> Why not just patch the TEXTREL out instead?

I'd tend to agree this is the proper route to go. Being that it's a lib we 
should always try to fix them vs monkeying around with fixes based on 
USE= flags that are non default.

If this is fixed by --disable-static then I'm guessing that this lib links    
some.a file into the final shared executable. If thats the case thats a big
NONO and should never be done on any arch. Anyway if it is the case then
--disable-static should be the default for this pkg. Fixing textrels often
improves preformance and memory usage. So it's advantages often outweigh any
perceived disadvantages.

------- Comment #15 From Paolo Bonzini 2007-02-06 16:34:11 0000 -------
my apologies, the suggestion was based on memory and was wrong.  the way to fix
textrels is just to remove AM_DISABLE_SHARED in sigsegv/configure.ac and
regenerate configure.  (I tested this with scanelf this time, and the patch is
already included upstream).

------- Comment #16 From Luis F. Araujo 2007-02-06 20:21:25 0000 -------
Thanks Paolo,

Can somebody test these new changes?.

If everything is fine now, please stabilize latest version.

Thanks,

------- Comment #17 From Christian Faulhammer 2007-02-07 08:26:23 0000 -------
(In reply to comment #16)
> Can somebody test these new changes?.

 The removal of AM_DISABLE_SHARED fixed the problem with textrel on x86.  As
there is no patch to remove it in the tree there is nothing to stabilise.

------- Comment #18 From Luis F. Araujo 2007-02-22 09:44:17 0000 -------
Added the new version of the package (gnu-smalltalk-2.3.3) to the tree.

This version fixes the TEXTREL issue.

Please test and mark stable on both x86 and amd64.

Thanks.

------- Comment #19 From Christian Faulhammer 2007-02-22 11:07:46 0000 -------
x86 stable, no textrels anymore.

------- Comment #20 From Luis F. Araujo 2007-03-11 23:49:39 0000 -------
Please amd64 mafia, stabilize this latest version too.

------- Comment #21 From Christian Faulhammer 2007-04-07 00:27:50 0000 -------
Files matching a file type that is not allowed:
   usr/lib/libgst.so.4.2.2
   usr/lib/smalltalk/tcp-2.3.3.so
   usr/lib/smalltalk/gdbm-2.3.3.so
   usr/lib/smalltalk/i18n-2.3.3.so
   usr/lib/smalltalk/md5-2.3.3.so

!!! ERROR: dev-lang/gnu-smalltalk-2.3.3 failed.

multilib-strict is not met.  Please call configure with
--libdir=/usr/$(get_libdir)

------- Comment #22 From Peter Weller 2007-04-12 20:45:49 0000 -------
added multilib fix, stable on amd64...
Why was amd64 CC'd if this bug was assigned to 'em..? :/

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug