[oe-issues] [Bug 3254] New: native OpenSSL fails to build due to the use of target linker flags

bugzilla-daemon at tinman.treke.net bugzilla-daemon at tinman.treke.net
Fri Nov 2 10:43:03 UTC 2007


http://bugs.openembedded.org/show_bug.cgi?id=3254

           Summary: native OpenSSL fails to build due to the use of target
                    linker flags
           Product: Openembedded
           Version: unspecified
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Distributions
        AssignedTo: openembedded-issues at lists.openembedded.org
        ReportedBy: ghaderer at nexwave-solutions.com


Created an attachment (id=3265)
 --> (http://bugs.openembedded.org/attachment.cgi?id=3265)
Fix the compilation of native OpenSSL

I'm very new to OpenEmbedded, so please don't blame me too much if this bug
report is not appropriate or not relevant. ;-)

Here is my configuration:
   - build: Linux Ubuntu Festy, GCC 4.1.2, Libc 2.4 NPTL
   - target: GCC 3.4.4, Libc 2.3.2 LinuxThreads

While building some packages for my custom tool chain, OE tried to generated
the native OpenSSL package but it failed. Apparently, the path to the target
libraries was in the linker's command line. After some investigations, it seems
that the problem comes from the following line in
'packages/openssl/openssl.inc':

<<<
export EX_LIBS = "-lgcc -ldl ${TARGET_LDFLAGS}"
>>>

should be changed to:

<<<
export EX_LIBS = "-lgcc -ldl ${LDFLAGS}"
>>>

It seems that this change fixes my issue. I attached the corresponding patch to
this bug report.

Thank you for your feedback.

Gauthier HADERER

P.S.: if I didn't fill in this form correctly, please let me know so I can do
better next time.


-- 
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.




More information about the Openembedded-issues mailing list