galib currently has no keyword for the amd64 arch. On my amd64 box, I added sci-libs/galib ~* * to package.keywords and was able to successfully emerge the ebuild. I have run all of the examples included with the library, and have tested it with my own applications. It all works well. There seems to be no problems. Would like to have the appropriate keyword added for amd64. Thanks! Reproducible: Always Steps to Reproduce:
please add your emerge --info :>
As an addendum, galib has been updated to 2.4.7. The galib maintainers may want to add it. I haven't tried it yet.
emerge --info is here. # emerge --info Portage 2.1.2.2 (default-linux/amd64/2007.0/desktop, gcc-4.1.1, glibc-2.5-r2, 2.6.20-gentoo-r8 x86_64) ================================================================= System uname: 2.6.20-gentoo-r8 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3600+ Gentoo Base System release 1.12.9 Timestamp of tree: Fri, 11 May 2007 21:30:01 +0000 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -pipe -msse3" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LINGUAS="en en_GB" 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 --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acl acpi alsa amd64 berkdb bitmap-fonts cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode evo fam firefox fortran gdbm gif gpm gstreamer gtk hal iconv imap isdnlog jpeg kerberos libg++ mad midi mikmod mmx mp3 mpeg ncurses nptl nptlonly ogg opengl pam pcre pdf perl png pppd python qt3 qt3support qt4 quicktime readline reflection ruby sdl session spell spl sse sse2 ssl svg tcpd tetex threads tiff truetype truetype-fonts type1-fonts unicode vorbis xml xorg xv 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Well perhaps all is not so well with this package on AMD64 after all. The problem I am having now is that I cannot compile the library with the -fPIC compiler option (the ebuild complains about it, but doesn't use CFLAGS anyway) I need the -fPIC (I think) so that I can include this lib in a .so I want to build to an application. I've had no issues with this in x86. I can link the galib into executables without any problem, it's just shared libs that fail.
Please ignore my previous comment just filed. I was changing CFLAGS, but galib uses CXXFLAGS. Hence the problem I was having. I can rebuild galib with -fPIC and have no problem linking and using .so's.
(In reply to comment #2) > As an addendum, galib has been updated to 2.4.7. The galib maintainers may > want to add it. I haven't tried it yet. Please file a separate bug for that. ~amd64 added