First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 134063
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Science Related Packages <sci@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Francesco R. (RETIRED) <vivo@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
suse-gsl-1.6-deps.diff suse-gsl-1.6-deps.diff patch Francesco R. (RETIRED) 2006-05-22 14:44 0000 418 bytes Details | Diff
gsl-1.8-r1.patch gsl-1.8-r1.patch patch Francesco R. (RETIRED) 2006-05-22 14:44 0000 680 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 134063 depends on: Show dependency tree
Bug 134063 blocks: 129413
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-05-22 14:42 0000
sci-libs/gsl fail to build with --as-needed ld flag, the attached patches have
been extracted from a suse src rpm and works for me.
The patch should work also with previous versions of the library w/o changes.

One side note, the rpm specs contain:
------------------------
%ifarch i386 x86_64
# We could add -msse2 -mpfmath=sse here ...
CFLAGS="$RPM_OPT_FLAGS -O3 -finline-limit=720 --param max-inline-insns-auto=160
-ffast-math -funroll-loops -fno-strict-aliasing -momit-leaf-frame-pointer
-funit-at-a-time -ftree-vectorize" ./configure  --enable-shared --with-gnu-ld \
        --prefix=/usr --mandir=%{_mandir} --infodir=%{_infodir} 
--libdir=%{_libdir}
%else
CFLAGS="$RPM_OPT_FLAGS -O3 -finline-limit=720 --param max-inline-insns-auto=160
-funroll-loops -fno-strict-aliasing -funit-at-a-time -ftree-vectorize"
./configure  --enable-shared --with-gnu-ld \
        --prefix=/usr --mandir=%{_mandir} --infodir=%{_infodir}
--libdir=%{_libdir}
%endif
------------------------

so maybe it's now possible to remove the filtering of richer CFLAGS (untested
here).

rgds, Francesco

------- Comment #1 From Francesco R. (RETIRED) 2006-05-22 14:44:17 0000 -------
Created an attachment (id=87280) [edit]
suse-gsl-1.6-deps.diff

------- Comment #2 From Francesco R. (RETIRED) 2006-05-22 14:44:52 0000 -------
Created an attachment (id=87281) [edit]
gsl-1.8-r1.patch

------- Comment #3 From Donnie Berkholz 2006-06-16 18:34:55 0000 -------
Fixed, thanks! Please be sure to submit this patch upstream as well.

First Last Prev Next    No search results available      Search page      Enter new bug