Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 85931 - -O not handled for LDFLAGS
Summary: -O not handled for LDFLAGS
Status: RESOLVED DUPLICATE of bug 65002
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-19 11:59 UTC by Brant Gurganus
Modified: 2005-07-17 13:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brant Gurganus 2005-03-19 11:59:00 UTC
The -O option optimizes links if the number is one or greater.  When LDFLAGS is in the mysql or kerberos LDFLAGS, Samba fails in linking to them because it either doesn't recognize -O or -O should not be included in the output of the other packages' mysql_config --ldflags or krb5-config --ldflags output.

Reproducible: Always
Steps to Reproduce:
1. Compile kerberos and/or mysql with -O1 in LDFLAGS.
2. Compile samba with support for kerberos and/or mysql appropriately.
Actual Results:  
samba complains about -O being unrecognized at some point.

Expected Results:  
I am not clear whether samba should be recognizing -O or kerberos and mysql
should be filtering them out of the --ldflags output.
Comment 1 SpanKY gentoo-dev 2005-03-22 08:28:29 UTC

*** This bug has been marked as a duplicate of 65002 ***