Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 88201 - dev-ruby/fxruby-1.2.2 works on amd64
Summary: dev-ruby/fxruby-1.2.2 works on amd64
Status: RESOLVED LATER
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: High enhancement (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on: 79849 93563
Blocks:
  Show dependency tree
 
Reported: 2005-04-06 12:13 UTC by Thorsten Roggendorf
Modified: 2005-09-24 02:18 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 Thorsten Roggendorf 2005-04-06 12:13:45 UTC
It compiles and two example I tested worked. I tried fiddling with the table widget (make rows and collumns not resizable), which did *not* work as expected, but that may be an upstream problem that also shows up on x86.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.51.19 (default-linux/amd64/2004.3, gcc-3.4.3,
glibc-2.3.4.20041102-r1, 2.6.9-gentoo-r14 x86_64)
=================================================================
System uname: 2.6.9-gentoo-r14 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 13 2005, 02:34:59)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.6.3, 1.8.5-r3, 1.7.9-r1, 1.4_p6, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon64"
CHOST="x86_64-pc-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/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon64"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox"
GENTOO_MIRRORS="        http://ftp.uni-erlangen.de/pub/mirrors/gentoo  
ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo   
http://ftp6.uni-erlangen.de/pub/mirrors/gentoo     
ftp://ftp6.uni-erlangen.de/pub/mirrors/gentoo  
ftp://ftp.tu-clausthal.de/pub/linux/gentoo/    
ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo      
ftp://ftp6.uni-muenster.de/pub/linux/distributions/gentoo      
ftp://ftp.ipv6.uni-muenster.de/pub/linux/distributions/gentoo      
ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo       
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ 
ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/       
ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo 
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/      
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/   
ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/        
ftp://ftp.gentoo.mesh-solutions.com/gentoo/    
http://pandemonium.tiscali.de/pub/gentoo/      
ftp://pandemonium.tiscali.de/pub/gentoo/"
LANG="de_DE@euro"
LC_ALL="de_DE@euro"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X aac acpi alsa avi bash-completion berkdb bitmap-fonts bonobo bzlib
cdparanoia cdr crypt cups curl divx4linux dvd dvdr esd evo examples exif fam
fbcon font-server fortran gdbm gif gnome gstreamer gtk gtk2 gtkhtml guile icq
imagemagic imagemagick imap imlib ipv6 jack java jp2 jpeg ladcca libwww lzw
lzw-tiff mad motif mozilla mp3 mpeg multilib ncurses nls nocd ogg oggvorbis
opengl oss pam perl png python quicktime readline ruby sdl smartcard ssh ssl svg
tcpd tetex tiff truetype truetype-fonts type1-fonts usb userlocales wifi xml
xml2 xpm xrandr xv xvid zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS, PORTDIR_OVERLAY
Comment 1 AJ Armstrong 2005-08-13 22:36:11 UTC
Tested dev-ruby/fxruby-1.2.2 for ~amd64

This version failed with an -fPIC error on:

x86_64-pc-linux-gnu-gcc -shared  -L'/usr/local/lib' -Wl,-R'/usr/local/lib'
-L'/usr/lib64' -Wl,-R'/usr/lib64' -o fox12.so librb.o core_wrap.o dc_wrap.o
dialogs_wrap.o frames_wrap.o fx3d_wrap.o FXRbApp.o FXRbDataTarget.o
FXRbGLViewer.o FXRuby.o iconlist_wrap.o icons_wrap.o image_wrap.o impl.o
label_wrap.o layout_wrap.o list_wrap.o markfuncs.o mdi_wrap.o menu_wrap.o
scintilla_wrap.o table_wrap.o text_wrap.o treelist_wrap.o ui_wrap.o  -Wl,-R
-Wl,/usr/lib64 -L/usr/lib64 -L. -lruby18 -lfxscintilla -lFOX-1.2 -lGLU -lGL
-lX11 -lXext -ltiff -ljpeg -lz -lpng -lstdc++  -ldl -lcrypt -lm   -lc
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:
/usr/lib64/libfxscintilla.a(libfxscintilla_la-ScintillaFOX.o): relocation
R_X86_64_32 against `a local symbol' can not be used when making a shared
object; recompile with -fPIC
/usr/lib64/libfxscintilla.a: could not read symbols: Bad value
collect2: ld returned 1 exit status

This appears to be a fxscintilla problem, see below.

Note also that fxruby-1.2.4 also failed, similar error.

Note that bug 88924 (http://bugs.gentoo.org/show_bug.cgi?id=88924) seems to have
several implications for this.  I had to downgrade my fox from 1.4 to 1.2 to get
fxscintilla to even build so that I could even try to test fxruby - but that
isn't fxruby's fault.  However, it might be best to leave this bug as is until
88924 is resolved and we can retest. 





Portage 2.0.51.22-r2 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r1,
2.6.12-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.12-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.12.0_pre5
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.12
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
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe -fweb -ftracer"
CHOST="x86_64-pc-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/lib64/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=k8 -O2 -pipe -fweb -ftracer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/etc/portage/overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X alsa avi berkdb bitmap-fonts cddb cdr crypt cups curl directfb dts
dv dvd dvdr dvdread eds emacs encode esd fam fame fbcon ffmpeg firefox
foomaticdb gcj gdbm gif gpm gstreamer gtk gtk2 ieee1394 imagemagick imlib ipv6
java jikes jpeg junit ldap libwww lirc live lzw lzw-tiff mad mjpeg mozilla mp3
mpeg mysql ncurses nls nptl nptlonly nvidia ogg oggvorbis opengl pam pdflib perl
png python qt quicktime readline real rtc ruby sdl spell ssl tcpd tetex theora
tiff truetype-fonts type1-fonts unicode usb userlocales v4l v4l2 vorbis xine
xml2 xmms xpm xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 2 Simon Stelling (RETIRED) gentoo-dev 2005-09-24 02:18:07 UTC
we'll keyword it as soon as bug 79849 is fixed