| Summary: | sci-libs/fftw-3.1 doesn't compile with USE="3dnow" | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Andreas Mann <A-Mann> |
| Component: | New packages | Assignee: | Gentoo Science Related Packages <sci> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | koune.dominique, pageexec, vapier |
| Priority: | High | ||
| Version: | 2006.0 | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | ebuild to compile on AMD-K7 as well ... by disabling shared libs | ||
|
Description
Andreas Mann
2006-03-06 04:24:54 UTC
Hi Andreas, Thanks for reporting! I'll have a look at it. Best, Markus Created attachment 81620 [details]
ebuild to compile on AMD-K7 as well ... by disabling shared libs
In fftw 3.1 they changed the behavior of the config-script, if - k7-cpu is used and - shared libraries should be built In this case the script stops. I think, this has something to do with inserting new assembler-code especially for the k7-cpus. I changed the ebuild, so that it doesn't create shared libs, if a k7-cpu is used. (Detected via useflag "3dnow". As I am not a very well programmer, and this is my first attempt to fix something in an ebuild ... please someone test it. Regards Ruedi *** Bug 125370 has been marked as a duplicate of this bug. *** Hi folks, Thanks for your reports and fixes. Indeed, from the fftw Changelog ------------------- snip ---------------------- 2006-01-21 Matteo Frigo <athena@fftw.org> * configure.ac: Report that --enable-k7 is incompatible with --enable-shared. ------------------------------------------------- Hence, I've just disabled building of shared libs on k7. The updated ebuild should be on the mirrors in an hour or so. Thanks, Markus i guess the proper fix would be to fix the asm instead, added to my todo list. (In reply to comment #6) > i guess the proper fix would be to fix the asm instead, added to my todo list. > Thank you very much! Please re-open the bug once there are any news on this so I can get in touch with upstream as well. best, Markus erm you should be disabling 3dnow support, not shared lib support (In reply to comment #8) > erm you should be disabling 3dnow support, not shared lib support > Right, my bad, and thanks for pointing this out :( I've removed the 3dnow useflag in favor of shared lib support for k7. Thanks, Markus (In reply to comment #7) > Thank you very much! Please re-open the bug once there are any news on > this so I can get in touch with upstream as well. i took a look and it turns out that the solution is in upstream's hand as all the non-PIC .S files have apparently been generated by some tool, so the proper fix would be in that tool, not by manually patching the generated code. the files in question are dft/k7/*.S and i have no idea who/how generates them, but upstream should know. |