Patchwork Plans for a new crosstool-ng release?

login
register
mail settings
Submitter Solomon Peachy
Date Aug. 1, 2013, 9:39 p.m.
Message ID <20130801213947.GF10904@shaftnet.org>
Download mbox | patch
Permalink /patch/264117/
State New
Headers show

Comments

Solomon Peachy - Aug. 1, 2013, 9:39 p.m.
On Thu, Aug 01, 2013 at 10:35:25PM +0200, Yann E. MORIN wrote:
> OK, by popular demand, I'll release a new version this WE, then. ;-)
> Sorry, I missed the previous release schedule for various reasons.

Hey, no worries.  I know what it's like to forget about releases..

> Care to send a patch and your .config, so I can try to reproduce the
> error?

Sure, here you go.  The problem is really in elf2flt's configure script 
not figuring out that it needs to explicitly link in libdl, but this 
patch was the most expedient solution to get me to a working toolchain.

 - Solomon
Yann Diorcet - Aug. 1, 2013, 9:44 p.m.
Le 01/08/2013 23:39, Solomon Peachy a écrit :
> On Thu, Aug 01, 2013 at 10:35:25PM +0200, Yann E. MORIN wrote:
>> OK, by popular demand, I'll release a new version this WE, then. ;-)
>> Sorry, I missed the previous release schedule for various reasons.
> Hey, no worries.  I know what it's like to forget about releases..
>
>> Care to send a patch and your .config, so I can try to reproduce the
>> error?
> Sure, here you go.  The problem is really in elf2flt's configure script 
> not figuring out that it needs to explicitly link in libdl, but this 
> patch was the most expedient solution to get me to a working toolchain.
>
>  - Solomon
Did you try set
CT_EXTRA_LDFLAGS_FOR_BUILD="-ldl"

or/and

CT_EXTRA_LDFLAGS_FOR_HOST="-ldl"

Regards,

--
For unsubscribe information see http://sourceware.org/lists.html#faq
Solomon Peachy - Aug. 3, 2013, 5:08 p.m.
On Thu, Aug 01, 2013 at 11:42:35PM +0200, Diorcet Yann wrote:
> Did you try set
> CT_EXTRA_LDFLAGS_FOR_BUILD="-ldl"

That didn't actually work; I believe it's not getting propogated to the 
elf2flt build.

 - Solomon

Patch

diff -r 1048e4dca434 scripts/build/binutils/binutils.sh
--- a/scripts/build/binutils/binutils.sh	Wed Jul 24 23:03:48 2013 +0200
+++ b/scripts/build/binutils/binutils.sh	Thu Aug 01 17:36:49 2013 -0400
@@ -288,7 +288,7 @@ 
     CT_DoLog EXTRA "Configuring elf2flt"
     CT_DoExecLog CFG                                            \
     CFLAGS="${cflags}"                                          \
-    LDFLAGS="${ldflags}"                                        \
+    LDFLAGS="${ldflags} -ldl"                                   \
     "${CT_SRC_DIR}/elf2flt-${CT_ELF2FLT_VERSION}/configure"     \
         --build=${CT_BUILD}                                     \
         --host=${host}                                          \