Summary: | Opensp-1.5.1 doesn't compile with CXXFLAG -fvisibility=hidden | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Hagai Kariti <hobbithk> |
Component: | Current packages | Assignee: | Alastair Tse (RETIRED) <liquidx> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | A patch for the ebuild |
Description
Hagai Kariti
2005-01-07 08:19:55 UTC
I think this could be solved by filtering this flag in the ebuild itself... Like many other ebuilds do. Created attachment 47864 [details, diff]
A patch for the ebuild
Still under testing
emerge info: Portage 2.0.51-r8 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.9-nitro4 i686) ================================================================= System uname: 2.6.9-nitro4 i686 Intel(R) Pentium(R) 4 CPU 2.00GHz Gentoo Base System version 1.6.8 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Dec 23 2004, 07:19:35)] ccache version 2.3 [enabled] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.8.5-r2, 1.6.3, 1.9.3, 1.5, 1.7.9 sys-devel/binutils: 2.15.92.0.2-r2 sys-devel/libtool: 1.5.10-r2 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -mtune=pentium4 -O3 -pipe -fomit-frame-pointer -ffast-math -msse -msse2 -mmmx -m32 -fprefetch-loop-arrays -ftracer -mfpmath=sse,387 -fforce-addr -frename-registers" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/init.d /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -mtune=pentium4 -O3 -pipe -fomit-frame-pointer -ffast-math -msse -msse2 -mmmx -m32 -fprefetch-loop-arrays -ftracer -mfpmath=sse,387 -fforce-addr -frename-registers -fvisibility-inlines-hidden -fvisibility=hidden" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://mirror.hamakor.org.il/pub/mirrors/gentoo/" LDFLAGS="-Wl,-O2" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://mirror.hamakor.org.il/gentoo-portage" USE="x86 X acl acpi alsa apache2 apm berkdb bidi bitmap-fonts crypt cups encode esd fbcon foomaticdb fortran gdbm gif gpm gtk2 iconv icq imagemagick imap imlib ipv6 jpeg libwww mad maildir mikmod mmx motif mpeg msn mysql ncurses nls nptl oggvorbis opengl pam pam-mysql pdflib perl php png python quicktime readline samba sdl spell sse ssl tcpd tiff truetype unicode xinetd xml xml2 xv zlib linguas_he linguas_en" This has happened to me as well. I've made a patch for the ebuild (attached). It works for me, hope it'll work for you as well Works perfectly, thanks. just marked as fixed... When will this patch be added to the ebuild? Is that why 1.5.1 is still in testing? I had the same problem emerging with 1.5.1 with ACCEPT_KEYWORDS="~x86" but I didn't apply try applying the patch to 1.5.1 because the patch solved my problem with 1.5.1-r1. I'm still getting the same problem trying to compile opensp-1.5.1 with fvisibility=hidden in my CXXFLGAS. Looking at the ebuild it doesn't filter the flag... If i remove the flag from my make.conf it compiles fine... I would say this hasn't been resolved... Reopening... @hobbithk: Please, don Reopening... @hobbithk: Please, donĀ“t mark bugs as fixed when they are not fixed. It needs to be fixed in portage, fixing it for yourself is not enough... fixed in cvs. thanks for the report. |