Summary: | sci-mathematics/singular fails to build with GCC 4.6 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Diego Elio Pettenò (RETIRED) <flameeyes> |
Component: | New packages | Assignee: | Thomas Kahle (RETIRED) <tomka> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | sci-mathematics |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 346809 | ||
Attachments: | Build log |
Description
Diego Elio Pettenò (RETIRED)
2011-04-09 16:39:59 UTC
Should be fixed now. Diego, what did you do here? Your change makes build fail on the older gcc versions, in particular it *breaks the stable tree*. Why didn't you test and or revbump when changing a stable ebuild? The following call to ld needs raw LDFLAGS. What is wrong with this and what is the correct solution that works with all versions of gcc? ld -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -fPIC -shared -o p_Procs_FieldZp.so p_Procs_Lib_FieldZp.dl_o ld: unrecognized option '-Wl,-O1' ld: use the --help option for usage information make[2]: *** [p_Procs_FieldZp.so] Error 1 I have reverted your change for now, sorry. Uhm I could have sworn I ran a test run through gcc 4.5. Possibly got the wrong tree to test against. Sorry. Looks like the same flag gets two meaning in two different places. Should be fixed. Thanks for the report. +*singular-3.1.3.1 (03 May 2011) + + 03 May 2011; Thomas Kahle <tomka@gentoo.org> +singular-3.1.3.1.ebuild: + bump to 3.1.3.1, fixes build with gcc-4.6 in bug 362739 (thanks Diego for + reporting) |