mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] glibc error with arm-1136jfs-linux-gnueabihf
@ 2013-01-23 23:10 Tim Sander
  2013-01-24  7:40 ` Michael Olbrich
  0 siblings, 1 reply; 5+ messages in thread
From: Tim Sander @ 2013-01-23 23:10 UTC (permalink / raw)
  To: ptxdist

Hi

Here is another error when installing glibc with the 
OSELAS.Toolchain-2012.12.0/arm-1136jfs-linux-gnueabihf toolchain in 
glibc.targetinstall it complains about
install_copy_toolchain_lib: ld-linux.so.3 not found
make: *** [/home/sander/speedy/newToolchain/ptx/platform-pmx-
one/state/glibc.targetinstall] Error 1

Which seems to come from glibc.make:
ifdef PTXCONF_GLIBC_LD
    @$(call install_copy_toolchain_dl, glibc)
endif

But it seems its looking for the wrong file in the toolchain:
/opt/OSELAS.Toolchain-2012.12.0/arm-1136jfs-linux-gnueabihf/gcc-4.7.2-
glibc-2.16.0-binutils-2.22-kernel-3.6-sanitized/sysroot-arm-1136jfs-linux-
gnueabihf/lib/ld-2.16.so
/opt/OSELAS.Toolchain-2012.12.0/arm-1136jfs-linux-gnueabihf/gcc-4.7.2-
glibc-2.16.0-binutils-2.22-kernel-3.6-sanitized/sysroot-arm-1136jfs-linux-
gnueabihf/lib/ld-linux-armhf.so.3

As i think its the latter it should be either without armhf in the toolchain 
or the install_copy_toolchain_dl magic should do the *right* thing?

Best regards
Tim

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ptxdist] glibc error with arm-1136jfs-linux-gnueabihf
  2013-01-23 23:10 [ptxdist] glibc error with arm-1136jfs-linux-gnueabihf Tim Sander
@ 2013-01-24  7:40 ` Michael Olbrich
  2013-01-25 15:34   ` Tim Sander
  0 siblings, 1 reply; 5+ messages in thread
From: Michael Olbrich @ 2013-01-24  7:40 UTC (permalink / raw)
  To: ptxdist

Hi,

On Thu, Jan 24, 2013 at 12:10:41AM +0100, Tim Sander wrote:
> Here is another error when installing glibc with the 
> OSELAS.Toolchain-2012.12.0/arm-1136jfs-linux-gnueabihf toolchain in 
> glibc.targetinstall it complains about
> install_copy_toolchain_lib: ld-linux.so.3 not found
> make: *** [/home/sander/speedy/newToolchain/ptx/platform-pmx-
> one/state/glibc.targetinstall] Error 1
> 
> Which seems to come from glibc.make:
> ifdef PTXCONF_GLIBC_LD
>     @$(call install_copy_toolchain_dl, glibc)
> endif
> 
> But it seems its looking for the wrong file in the toolchain:
> /opt/OSELAS.Toolchain-2012.12.0/arm-1136jfs-linux-gnueabihf/gcc-4.7.2-
> glibc-2.16.0-binutils-2.22-kernel-3.6-sanitized/sysroot-arm-1136jfs-linux-
> gnueabihf/lib/ld-2.16.so
> /opt/OSELAS.Toolchain-2012.12.0/arm-1136jfs-linux-gnueabihf/gcc-4.7.2-
> glibc-2.16.0-binutils-2.22-kernel-3.6-sanitized/sysroot-arm-1136jfs-linux-
> gnueabihf/lib/ld-linux-armhf.so.3
> 
> As i think its the latter it should be either without armhf in the toolchain 
> or the install_copy_toolchain_dl magic should do the *right* thing?

ld-linux-armhf.so.3 is correct but gcc reports the wrong name.
This is a bug in the toolchain. It's fixed in git and I'm currently
collecting other issued that I want to fix for a 2012.12.1 release.

Michael

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ptxdist] glibc error with arm-1136jfs-linux-gnueabihf
  2013-01-24  7:40 ` Michael Olbrich
@ 2013-01-25 15:34   ` Tim Sander
  2013-01-25 16:40     ` Michael Olbrich
  0 siblings, 1 reply; 5+ messages in thread
From: Tim Sander @ 2013-01-25 15:34 UTC (permalink / raw)
  To: ptxdist

Hi Michael
> ld-linux-armhf.so.3 is correct but gcc reports the wrong name.
> This is a bug in the toolchain. It's fixed in git and I'm currently
> collecting other issued that I want to fix for a 2012.12.1 release.
Mh, i have just compiled the git repository 
git://git.pengutronix.de/git/OSELAS.Toolchain.git and the fix is not in there?
But i can also wait for next release...

Best regards
Tim

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ptxdist] glibc error with arm-1136jfs-linux-gnueabihf
  2013-01-25 15:34   ` Tim Sander
@ 2013-01-25 16:40     ` Michael Olbrich
  2013-01-29  8:29       ` Tim Sander
  0 siblings, 1 reply; 5+ messages in thread
From: Michael Olbrich @ 2013-01-25 16:40 UTC (permalink / raw)
  To: ptxdist

Hi,

On Fri, Jan 25, 2013 at 04:34:14PM +0100, Tim Sander wrote:
> > ld-linux-armhf.so.3 is correct but gcc reports the wrong name.
> > This is a bug in the toolchain. It's fixed in git and I'm currently
> > collecting other issued that I want to fix for a 2012.12.1 release.
> Mh, i have just compiled the git repository 
> git://git.pengutronix.de/git/OSELAS.Toolchain.git and the fix is not in there?
> But i can also wait for next release...

It should be there in the master branch. What commits do you see since the
release? What do you get if you try this:

echo 'int main() { return 0; }' \
	| arm-1136jfs-linux-gnueabihf-gcc -x c -v -o /dev/null - \
	|& sed -n 's:.*-dynamic-linker \([^ ]*\) .*:\1:p'

I'm getting "/lib/ld-linux-armhf.so.3" here now. With the release I got
"/lib/ld-linux.so.3".

Michael

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ptxdist] glibc error with arm-1136jfs-linux-gnueabihf
  2013-01-25 16:40     ` Michael Olbrich
@ 2013-01-29  8:29       ` Tim Sander
  0 siblings, 0 replies; 5+ messages in thread
From: Tim Sander @ 2013-01-29  8:29 UTC (permalink / raw)
  To: ptxdist

Hi Michael
> On Fri, Jan 25, 2013 at 04:34:14PM +0100, Tim Sander wrote:
> > > ld-linux-armhf.so.3 is correct but gcc reports the wrong name.
> > > This is a bug in the toolchain. It's fixed in git and I'm currently
> > > collecting other issued that I want to fix for a 2012.12.1 release.
> > 
> > Mh, i have just compiled the git repository
> > git://git.pengutronix.de/git/OSELAS.Toolchain.git and the fix is not in
> > there? But i can also wait for next release...
> 
> It should be there in the master branch. What commits do you see since the
> release? What do you get if you try this:
> 
> echo 'int main() { return 0; }' \
> 
> 	| arm-1136jfs-linux-gnueabihf-gcc -x c -v -o /dev/null - \
> 	|
> 	|& sed -n 's:.*-dynamic-linker \([^ ]*\) .*:\1:p'
> 
> I'm getting "/lib/ld-linux-armhf.so.3" here now. With the release I got
> "/lib/ld-linux.so.3".
Its the new one but due to the earlier error i had some stale rule files for 
testing which i forgot due to the intermittent testing on this. So its 
compiling right now, better yet it even works :-) which was not the case for
the 2011.11.3 toolchain for unkown reasons.

Thanks
Tim

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-01-29  8:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-23 23:10 [ptxdist] glibc error with arm-1136jfs-linux-gnueabihf Tim Sander
2013-01-24  7:40 ` Michael Olbrich
2013-01-25 15:34   ` Tim Sander
2013-01-25 16:40     ` Michael Olbrich
2013-01-29  8:29       ` Tim Sander

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox