Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 100888 - net-mail/vpopmail creates bad shared lib when compiling with -fPIC
Summary: net-mail/vpopmail creates bad shared lib when compiling with -fPIC
Status: RESOLVED DUPLICATE of bug 81605
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-31 06:33 UTC by Jesper Toft
Modified: 2005-07-31 07:55 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 Jesper Toft 2005-07-31 06:33:47 UTC
For some reason net-mail/vpopmail (5.4.6-r1) doesnt pass the CFLAGS to all subdirs.  
This means the subdir cdb/ will be compiled without -fPIC when the rest of the c files are compiled 
with... 
It doesnt give any error here, but emerging courier-authlib (0.55/0.56) will fail. 
 

Reproducible: Always
Steps to Reproduce:
1. have CFLAGS="-fPIC" in make.conf  
2. emerge vpopmail  
3. emerge courier-authlib 
 



Fix:  
I fixed the problem by changing line 8314 in configure from:  
echo "${CC} -O2" > cdb/conf-cc 
to:  
echo "${CC} -O2 -fPIC" > cdb/conf-cc
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-07-31 07:55:09 UTC

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