Skip to contentSkip to conversation

Openembedded and ld-linux-armhf.so.3

DISCUSSION Martin Ertsås 4 participants 17 messages Apr 27, 2012 – May 3, 2012

lore
Share & tools
lore
#0 lore raw

Hi.

I'm working on a pandaboard with OMAP4460. Were trying to use the newest PVR drivers, which conforms to the result that arose from
https://wiki.linaro.org/OfficeofCTO/HardFloat/LinkerPathCallApr2012

We have applied the patch at the bottom of that page gcc, and also a patch for making eglibc make ld-linux-armhf, and load ld-linux-armhf instead of ld-linux. Problem is, this gives us a kernel panic when it tries to run init. Linking ld-linux.so.3 to ld-linux-armhf.so.3 does not work, and we're kind of in the dark as to what is missing.

We tried fixing this by renaming the toolchain to be arm-none-linux-gnueabihf instead of arm-none-linux-gnueabi, as we heard this might be a problem with hardfloats, but this needed a lot of extra patches, and some patchwork on other packages like openssl and shadow.

My question is, are there any ongoing plans to fix this, and make sure that if we have set hard float we make ld-linux-armhf in openembedded?

For the record we are using eglibc2.15 and gcc4.6 from openembedded-core.

Best regards
Martin Ertsaas

#1 lore raw
Quoted 17 lines · Martin Ertsås

Hi.

I'm working on a pandaboard with OMAP4460. Were trying to use the newest PVR drivers, which conforms to the result that arose from
https://wiki.linaro.org/OfficeofCTO/HardFloat/LinkerPathCallApr2012

We have applied the patch at the bottom of that page gcc, and also a patch for making eglibc make ld-linux-armhf, and load ld-linux-armhf instead of ld-linux. Problem is, this gives us a kernel panic when it tries to run init. Linking ld-linux.so.3 to ld-linux-armhf.so.3 does not work, and we're kind of in the dark as to what is missing.

We tried fixing this by renaming the toolchain to be arm-none-linux-gnueabihf instead of arm-none-linux-gnueabi, as we heard this might be a problem with hardfloats, but this needed a lot of extra patches, and some patchwork on other packages like openssl and shadow.

Quoted 4 lines

My question is, are there any ongoing plans to fix this, and make sure that if we have set hard float we make ld-linux-armhf in openembedded?

For the record we are using eglibc2.15 and gcc4.6 from openembedded-core.

The ARM EABI + HF isn't well tested (to my knowledge) of oe-core. I was under the impressions a few people did use it, and it was working successfully for them. (Generally speaking people seem to agree that there is a place for ARM EABI + HF, but the performance increase to the couple of items where it helps is generally not worth the pain of incompatibility with the core ARM EABI. Thus it's not used very much in OE.)

Could you verify that the stock configuration (without any of the changes you described above) is working and will boot w/o a kernel panic at init?

If so then it'll be easier to help you track down the particulars of the ld.so name change and related items.

--Mark

Quoted 7 lines

Best regards
Martin Ertsaas

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

#2 lore raw
Quoted 23 lines · Mark Hatle
Quoted 17 lines · Martin Ertsås

Hi.

I'm working on a pandaboard with OMAP4460. Were trying to use the newest PVR drivers, which conforms to the result that arose from
https://wiki.linaro.org/OfficeofCTO/HardFloat/LinkerPathCallApr2012

We have applied the patch at the bottom of that page gcc, and also a patch for making eglibc make ld-linux-armhf, and load ld-linux-armhf instead of ld-linux. Problem is, this gives us a kernel panic when it tries to run init. Linking ld-linux.so.3 to ld-linux-armhf.so.3 does not work, and we're kind of in the dark as to what is missing.

We tried fixing this by renaming the toolchain to be arm-none-linux-gnueabihf instead of arm-none-linux-gnueabi, as we heard this might be a problem with hardfloats, but this needed a lot of extra patches, and some patchwork on other packages like openssl and shadow.

Quoted 4 lines

My question is, are there any ongoing plans to fix this, and make sure that if we have set hard float we make ld-linux-armhf in openembedded?

For the record we are using eglibc2.15 and gcc4.6 from openembedded-core.

Quoted 7 lines

The ARM EABI + HF isn't well tested (to my knowledge) of oe-core. I was under the impressions a few people did use it, and it was working successfully for them. (Generally speaking people seem to agree that there is a place for ARM EABI + HF, but the performance increase to the couple of items where it helps is generally not worth the pain of incompatibility with the core ARM EABI. Thus it's not used very much in OE.)

Could you verify that the stock configuration (without any of the changes you described above) is working and will boot w/o a kernel panic at init?

If so then it'll be easier to help you track down the particulars of the ld.so name change and related items.

--Mark

It does work without the said changes, but did see an error in my patch, which resulted in gcc linking to /lib/lib/ld-linux-armhf.so.3. I'm currently compiling with the fixed patch, but at work so I won't be able to see if that was the issue before I get to work on monday.

The problem with calling the toolchain arm-none-linux-gnueabihf will not be resolved by this though, but first thing for me now is to be able to use the ld-linux-armhf.

-- Martin

Quoted 14 lines
Quoted 8 lines

Best regards
Martin Ertsaas

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

#3 lore raw
In reply to Martin Ertsås
Quoted 17 lines · Martin Ertsås

Hi.

I'm working on a pandaboard with OMAP4460. Were trying to use the newest PVR drivers, which conforms to the result that arose from
https://wiki.linaro.org/OfficeofCTO/HardFloat/LinkerPathCallApr2012

We have applied the patch at the bottom of that page gcc, and also a patch for making eglibc make ld-linux-armhf, and load ld-linux-armhf instead of ld-linux. Problem is, this gives us a kernel panic when it tries to run init. Linking ld-linux.so.3 to ld-linux-armhf.so.3 does not work, and we're kind of in the dark as to what is missing.

We tried fixing this by renaming the toolchain to be arm-none-linux-gnueabihf instead of arm-none-linux-gnueabi, as we heard this might be a problem with hardfloats, but this needed a lot of extra patches, and some patchwork on other packages like openssl and shadow.

Quoted 4 lines

My question is, are there any ongoing plans to fix this, and make sure that if we have set hard float we make ld-linux-armhf in openembedded?

For the record we are using eglibc2.15 and gcc4.6 from openembedded-core.

would you show the patches so I can take a look what you did and whats going on

Quoted 8 lines

Best regards
Martin Ertsaas

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

#4 lore raw
Quoted 18 lines · Khem Raj
Quoted 17 lines · Martin Ertsås

Hi.

I'm working on a pandaboard with OMAP4460. Were trying to use the newest PVR drivers, which conforms to the result that arose from
https://wiki.linaro.org/OfficeofCTO/HardFloat/LinkerPathCallApr2012

We have applied the patch at the bottom of that page gcc, and also a patch for making eglibc make ld-linux-armhf, and load ld-linux-armhf instead of ld-linux. Problem is, this gives us a kernel panic when it tries to run init. Linking ld-linux.so.3 to ld-linux-armhf.so.3 does not work, and we're kind of in the dark as to what is missing.

We tried fixing this by renaming the toolchain to be arm-none-linux-gnueabihf instead of arm-none-linux-gnueabi, as we heard this might be a problem with hardfloats, but this needed a lot of extra patches, and some patchwork on other packages like openssl and shadow.

Quoted 5 lines
Quoted 4 lines

My question is, are there any ongoing plans to fix this, and make sure that if we have set hard float we make ld-linux-armhf in openembedded?

For the record we are using eglibc2.15 and gcc4.6 from openembedded-core.

would you show the patches so I can take a look what you did and whats going on

Sure, the patches are attached.

Quoted 11 lines
Quoted 7 lines

Best regards
Martin Ertsaas

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

ports/sysdeps/arm/shlib-versions 2012-04-13 22:52:46.790815748 -0600 renamed from ports/sysdeps/arm/shlib-versions 2011-05-10 09:49:03.000000000 -0600 +1 -1
@@ -1,4 +1,4 @@
 arm.*-.*-linux-gnueabi.*	DEFAULT			GLIBC_2.4
 
-arm.*-.*-linux-gnueabi.*	ld=ld-linux.so.3
+arm.*-.*-linux-gnueabi.*	ld=ld-linux-armhf.so.3
 arm.*-.*-linux.*	ld=ld-linux.so.2
elf/dl-load.c 2012-04-15 00:39:36.558765502 +0000 renamed from elf/dl-load.c 2012-04-14 12:11:37.000000000 +0000 +0 -0
@@ -2086,10 +2086,13 @@

soname = ((const char *) D_PTR (l, l_info[DT_STRTAB])
+ l->l_info[DT_SONAME]->d_un.d_val);
if (strcmp (name, soname) != 0)
+#ifdef __arm__
+ if (strcmp(name, "ld-linux.so.3") || strcmp(soname, "ld-linux-armhf.so.3"))
+#endif

	    continue;

	  /* We have a match on a new name -- cache it.  */
-	  add_name_to_object (l, soname);
+	  add_name_to_object (l, name);
	  l->l_soname_added = 1;
	}

# DP: For ARM hard float, set the dynamic linker to # DP: /lib/ld-linux-armhf.so.3.

gcc/config/arm/linux-eabi.h +5 -1
index 80bd825..8c9d2e7 100644
@@ -62,7 +62,11 @@
 /* Use ld-linux.so.3 so that it will be possible to run "classic"
    GNU/Linux binaries on an EABI system.  */
 #undef  GLIBC_DYNAMIC_LINKER
-#define GLIBC_DYNAMIC_LINKER SYSTEMLIBS_DIR "ld-linux.so.3"
+#define GLIBC_DYNAMIC_LINKER_SOFT_FLOAT "/lib/ld-linux.so.3"
+#define GLIBC_DYNAMIC_LINKER_HARD_FLOAT "/lib/ld-linux-armhf.so.3"
+#define GLIBC_DYNAMIC_LINKER \
+   "%{mfloat-abi=hard:" GLIBC_DYNAMIC_LINKER_HARD_FLOAT "} \
+    %{!mfloat-abi=hard:" GLIBC_DYNAMIC_LINKER_SOFT_FLOAT "}"
 
 /* At this point, bpabi.h will have clobbered LINK_SPEC.  We want to
    use the GNU/Linux version, not the generic BPABI version.  */
#6 lore raw
In reply to Martin Ertsås
Quoted 8 lines · Martin Ertsås

I'm working on a pandaboard with OMAP4460. Were trying to use the newest PVR drivers, which conforms to the result that arose from
https://wiki.linaro.org/OfficeofCTO/HardFloat/LinkerPathCallApr2012

We have applied the patch at the bottom of that page gcc, and also a patch for making eglibc make ld-linux-armhf, and load ld-linux-armhf instead of ld-linux. Problem is, this gives us a kernel panic when it tries to run init.

interesting bits are why kernel panics ?
what error do you get from kernel ?
is it some illegal instruction or something like that ? Do you have VFP enabled

#7 lore raw
Quoted 14 lines · Khem Raj
Quoted 8 lines · Martin Ertsås

I'm working on a pandaboard with OMAP4460. Were trying to use the newest PVR drivers, which conforms to the result that arose from
https://wiki.linaro.org/OfficeofCTO/HardFloat/LinkerPathCallApr2012

We have applied the patch at the bottom of that page gcc, and also a patch for making eglibc make ld-linux-armhf, and load ld-linux-armhf instead of ld-linux. Problem is, this gives us a kernel panic when it tries to run init.

interesting bits are why kernel panics ?
what error do you get from kernel ?
is it some illegal instruction or something like that ? Do you have VFP enabled

Quoted 4 lines

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Found out the problem why kernel panics. The patches I posted were the correct ones, but before this I used

SYSLIB_PATH or something before "/lib/ld-linux-armhf.so.3", so the output actually was /lib/lib/ld-linux-armhf.so.3

#8 lore raw
Quoted 23 lines · Martin Ertsås
Quoted 17 lines · Khem Raj
Quoted 9 lines · Martin Ertsås

I'm working on a pandaboard with OMAP4460. Were trying to use the newest PVR drivers, which conforms to the result that arose from
https://wiki.linaro.org/OfficeofCTO/HardFloat/LinkerPathCallApr2012

We have applied the patch at the bottom of that page gcc, and also a patch for making eglibc make ld-linux-armhf, and load ld-linux-armhf instead of ld-linux. Problem is, this gives us a kernel panic when it tries to run init.

interesting bits are why kernel panics ?
what error do you get from kernel ?
is it some illegal instruction or something like that ? Do you have VFP enabled

Quoted 4 lines

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Quoted 6 lines

Found out the problem why kernel panics. The patches I posted were the correct ones, but before this I used

SYSLIB_PATH or something before "/lib/ld-linux-armhf.so.3", so the output actually was /lib/lib/ld-linux-armhf.so.3

ok good. I would be interested if you test the patchset i posted it will help a lot

#9 lore raw
Quoted 26 lines · Khem Raj
Quoted 19 lines · Martin Ertsås
Quoted 14 lines · Khem Raj
Quoted 8 lines · Martin Ertsås

I'm working on a pandaboard with OMAP4460. Were trying to use the newest PVR drivers, which conforms to the result that arose from
https://wiki.linaro.org/OfficeofCTO/HardFloat/LinkerPathCallApr2012

We have applied the patch at the bottom of that page gcc, and also a patch for making eglibc make ld-linux-armhf, and load ld-linux-armhf instead of ld-linux. Problem is, this gives us a kernel panic when it tries to run init.

interesting bits are why kernel panics ?
what error do you get from kernel ?
is it some illegal instruction or something like that ? Do you have VFP enabled

Quoted 4 lines

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Quoted 6 lines

Found out the problem why kernel panics. The patches I posted were the correct ones, but before this I used

SYSLIB_PATH or something before "/lib/ld-linux-armhf.so.3", so the output actually was /lib/lib/ld-linux-armhf.so.3

Quoted 7 lines

ok good. I would be interested if you test the patchset i posted it will help a lot

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

I'll try them tomorrow and send a mail telling the findings.

#10 lore raw
In reply to Khem Raj
Quoted 26 lines · Khem Raj
Quoted 19 lines · Martin Ertsås
Quoted 14 lines · Khem Raj
Quoted 8 lines · Martin Ertsås

I'm working on a pandaboard with OMAP4460. Were trying to use the newest PVR drivers, which conforms to the result that arose from
https://wiki.linaro.org/OfficeofCTO/HardFloat/LinkerPathCallApr2012

We have applied the patch at the bottom of that page gcc, and also a patch for making eglibc make ld-linux-armhf, and load ld-linux-armhf instead of ld-linux. Problem is, this gives us a kernel panic when it tries to run init.

interesting bits are why kernel panics ?
what error do you get from kernel ?
is it some illegal instruction or something like that ? Do you have VFP enabled

Quoted 4 lines

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Quoted 6 lines

Found out the problem why kernel panics. The patches I posted were the correct ones, but before this I used

SYSLIB_PATH or something before "/lib/ld-linux-armhf.so.3", so the output actually was /lib/lib/ld-linux-armhf.so.3

Quoted 7 lines

ok good. I would be interested if you test the patchset i posted it will help a lot

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

The patches posted seems to be working fine. I at least didn't have any problems with them.

#11 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 2 lines · Martin Ertsås

The patches posted seems to be working fine. I at least didn't have any problems with them.

thanks for trying them out. GCC patch is final but eglibc patch I still got to improve that its not final version yet. -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk+hocgACgkQuwUzVZGdMxQqaACaAtP9rzr8vBvn/Q0MgbPvevdS iz4AmweHf2JC/QUsBq8N5tYvHQ0a4oAG
=c3Tt
-----END PGP SIGNATURE-----

#12 lore raw
Quoted 7 lines · Khem Raj
Quoted 2 lines · Martin Ertsås

The patches posted seems to be working fine. I at least didn't have any problems with them.

thanks for trying them out. GCC patch is final but eglibc patch I still got to improve that its not final version yet.

No problem. Is there also plans for renaming the toolchains created to arm-none-linux-gnueabihf when using hardfloats? Tried doing that, but gcc failed first. Then, after patching up gcc like a madman as well as adding linux-gnueabihf to the package_qa_get_machine_dict dictionary in insane.bbclass, several other projects failed. Among them were openssl and shadow as far as I remember. Probably others as well, but that's where I gave up.

Cool, so this will be put upstream with gcc 4.7 and eglibc 2.15? Btw, I was trying your patches with 4.6, not 4.7, as we have not attempted to migrate right now. Will do that soon though, but not right now.

- Martin

Quoted 5 lines

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

#13 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Op 03-05-12 08:48, Martin Ertsås schreef:

Quoted 11 lines · Khem Raj
Quoted 7 lines · Martin Ertsås
Quoted 2 lines

The patches posted seems to be working fine. I at least didn't have any problems with them.

thanks for trying them out. GCC patch is final but eglibc patch I still got to improve that its not final version yet.

No problem. Is there also plans for renaming the toolchains created to arm-none-linux-gnueabihf when using hardfloats?

What's the point in that? Renaming the toolchain won't grant it magical powers and setting a targetvendor is perfectly valid.

I've seen too many presentations this year at ELC and Collab where someone says "renaming the toolchain fixed it" when they actually mean "using a bare-metal toolchain for userspace doesn't really work".
Just look at the building the kernel with LLVM talk, a third of Marks presentation was about challenges with calling the right toolchain with the right arguments.

</rant>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: GPGTools - http://gpgtools.org

iQIcBAEBAgAGBQJPojhnAAoJEHZqAkdh1vT63s0P/2yoPsNlXRcLHGfeH7SCtEHP 2fxZMUmxRzZjPF/rwqWCBwyHEseGtL15AfetHK2Ylvi+Pzw0Z+d5GpNlzwj4pBNo JguZ6+4xo6Kd0mKxk9PN99ebcPYsQo23Hqs6Bpk6roYJNoBtmqUusZ/M0VoS+k/E 7KwUwYUjL1mONDpKWjPkuC2apkjjI/XQ/a9r0RlQ8qzKaMJDg8rJkRFV8Yzzrlxu 0DRjs+EyTjM/VUGXTxdnjsQwV4lbZC0bw9rZhISsXwG5JFEJVjkZ9pMMexqkAX7C pE6YBWxAZ8g3ZAWd9AVwne4xR99xCPtYyqVr3smeEi+mxu+SLkZFaZvyFLhHsaBj uRM9sKinrnnUdpWxCZ4qoNJ4j0h2tT7/wqBXsNyK5+0XmfJba58ZfyY2t8xSi4qn d89gQ/iYTHCDpW+7Rogp5WNzhS2Y8a+ecvbP1zQHZitEfaA4TXUxB1x9hsqWVuT8 2RbVAIMgytCrj9sshdlAaWkFReF7CKSp7zMwn3FLCKFPLSsS7P260MQRWqpGJXjS yPTaFgFeWBRbSOMtg8l2LP5gDVuyg1BrdmiRVycX/gOgj4ZTfMPOooyAWttVMj95 4cZO1yiCU4de8Fd2+8QW4KrUJhnKcI+pHZn0pP4qHMuKUoh+o0dbCz/O7OCK9now VqIPweynKVrQ5SF8ZhYa
=F3G4
-----END PGP SIGNATURE-----

#14 lore raw
Quoted 24 lines · Koen Kooi

Op 03-05-12 08:48, Martin Ertsås schreef:

Quoted 11 lines · Khem Raj
Quoted 7 lines · Martin Ertsås
Quoted 2 lines

The patches posted seems to be working fine. I at least didn't have any problems with them.

thanks for trying them out. GCC patch is final but eglibc patch I still got to improve that its not final version yet.

No problem. Is there also plans for renaming the toolchains created to arm-none-linux-gnueabihf when using hardfloats?

What's the point in that? Renaming the toolchain won't grant it magical powers and setting a targetvendor is perfectly valid.

I've seen too many presentations this year at ELC and Collab where someone says "renaming the toolchain fixed it" when they actually mean "using a bare-metal toolchain for userspace doesn't really work".
Just look at the building the kernel with LLVM talk, a third of Marks presentation was about challenges with calling the right toolchain with the
right arguments.

Quoted 1 line

</rant>

Fair point, I was just told that some packages might look at the name of the toolchain, and perhaps not give the optimal path for hard floats with the name of linux-gnueabi. Clearly some packages do actually look at the name of the toolchain, but for most cases at least, the only difference will be the hardfloat flag given to the compiler. Also seen quite a few toolchains using hardfloats which has the hf prefix, to show that this is actually a hardfloat toolchain.

Quoted 6 lines

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

#15 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 8 lines · Martin Ertsås

Fair point, I was just told that some packages might look at the name of the toolchain, and perhaps not give the optimal path for hard floats with the name of linux-gnueabi. Clearly some packages do actually look at the name of the toolchain, but for most cases at least, the only difference will be the hardfloat flag given to the compiler. Also seen quite a few toolchains using hardfloats which has the hf prefix, to show that this is actually a hardfloat toolchain.

some distros may rely on triplet and if it makes into gcc and gcc starts relying on it we will have to reconsider but at present I dont see a need to change triplet
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk+ijYMACgkQuwUzVZGdMxQoGACfSjsIVwB+uPW/cDbtUbQR87oC r/gAniC35ygSHDUIe0O1urrsO/w+gcEl
=ZLo8
-----END PGP SIGNATURE-----

#16 lore raw
In reply to Martin Ertsås

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 19 lines · Martin Ertsås

Hi.

I'm working on a pandaboard with OMAP4460. Were trying to use the newest PVR drivers, which conforms to the result that arose from
https://wiki.linaro.org/OfficeofCTO/HardFloat/LinkerPathCallApr2012

We have applied the patch at the bottom of that page gcc, and also
a patch for making eglibc make ld-linux-armhf, and load ld-linux-armhf instead of ld-linux. Problem is, this gives us a kernel panic when it tries to run init. Linking ld-linux.so.3 to ld-linux-armhf.so.3 does not work, and we're kind of in the dark as to what is missing.

We tried fixing this by renaming the toolchain to be arm-none-linux-gnueabihf instead of arm-none-linux-gnueabi, as we heard this might be a problem with hardfloats, but this needed a lot of extra patches, and some patchwork on other packages like openssl and shadow.

Quoted 7 lines

My question is, are there any ongoing plans to fix this, and make sure that if we have set hard float we make ld-linux-armhf in openembedded?

For the record we are using eglibc2.15 and gcc4.6 from openembedded-core.

OK, I have cooked up something that you can try the top three patches on

http://git.openembedded.org/openembedded-core-contrib/log/?h=kraj/misc

is what you will need and make sure that you choose a tuning which asks for callconvention-hard

- -Khem
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk+fb1MACgkQuwUzVZGdMxR2GQCgije/XES//4BWCHk8tXvXqA84 ugAAn0nXozwW8mCpqlmEcy1XhPt3lyFF
=tC7M
-----END PGP SIGNATURE-----