Summary: | samba fail to compile with LDFLAGS="-O4" | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Fabio Bonfante <bfx81> |
Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | VERIFIED WONTFIX | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Fabio Bonfante
2006-05-23 16:04:04 UTC
Feel free to remove -O4 or whatever other cruft from there... i think removing the flag is most a workaround... in effect there isn't any "gcc-related" compile error there's only problem when the flag is passed to the python setup app. This beaviour it's very hateful when you have a long emerge sequence to do containing samba, like an emerge -uDN world, or a simply emerge gnome in a fresh gentoo installation. If you don't have time to stay hours seeing compiling only for commenting a line in make.conf before emerging samba you are forced to compile all other stuff without this optimization... Gentoo is all about choices, isn't it? ;-) Somebody knows how to patch the makefile avoiding pass LDFLAGS to the python plugin? PS Can we reopen bug? (In reply to comment #2) > Gentoo is all about choices, isn't it? ;-) Sure, our choice is to not bother with fixing self-inflicted borkage. > Somebody knows how to patch the makefile avoiding pass LDFLAGS to the python > plugin? > > PS Can we reopen bug? No... Besides, you won't get any error if you'll setup your LDFLAGS properly (i.e., -Wl,-O4) |