Bug 4237 - building shared openssl w/-Os fails due to gcc bug
Summary: building shared openssl w/-Os fails due to gcc bug
Status: RESOLVED WORKSFORME
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: 2011.08
Hardware: Other Linux
: P5 minor
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-23 07:59 UTC by marco
Modified: 2013-01-26 22:50 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description marco 2011-09-23 07:59:27 UTC
making OPENSSL with -fPIC -Os
doesn't work

Solution: remove -fPIC from makefile
Comment 1 Maxime Ripard 2011-09-23 08:29:12 UTC
It works for me with the git tree and a codesourcery toolchain for arm.
What version of buildroot do you use ?

Could you give us the .config file ?
Comment 2 Peter Korsgaard 2011-11-18 11:17:44 UTC
No feedback from submitter for ~2 months and unable to reproduce, closing.
Comment 3 marco 2011-11-18 12:01:59 UTC
Sorry,

I forgot this post!

I'll send the configurations in the afternoon!
Comment 4 marco 2011-11-18 13:50:52 UTC
The configuration file is the same of this post.
(The same running)

https://bugs.busybox.net/show_bug.cgi?id=4231

openssl version 1.0.0e
buildroot 11.08 rc2
Comment 5 Thomas Petazzoni 2012-01-31 22:22:43 UTC
Do you still see this problem? If so, could you post your complete .config here?
Comment 6 Mike Frysinger 2013-01-26 22:50:25 UTC
removing -fPIC is wrong.  it produces bad shared library code.