* [ptxdist] busybox build fails with recent oselas toolchain
@ 2020-10-19 8:54 Alexander Dahl
2020-10-19 11:52 ` Alexander Dahl
0 siblings, 1 reply; 3+ messages in thread
From: Alexander Dahl @ 2020-10-19 8:54 UTC (permalink / raw)
To: ptxdist
Hei hei,
with the recent OSELAS Toolchain 2020.08 building busybox fails like this:
-----------------------
target: busybox.compile
-----------------------
make: Entering directory '/home/adahl/Work/bsp/tt/ncl/platform-ncl/build-
target/busybox-1.31.1'
CC util-linux/mount.o
util-linux/mount.c:253:11: fatal error: rpc/rpc.h: No such file or directory
compilation terminated.
make[1]: *** [scripts/Makefile.build:197: util-linux/mount.o] Error 1
make: *** [Makefile:743: util-linux] Error 2
make: Leaving directory '/home/adahl/Work/bsp/tt/ncl/platform-ncl/build-
target/busybox-1.31.1'
make: *** [/usr/local/lib/ptxdist-2020.08.0/rules/post/
ptxd_make_world_compile.make:20: /home/adahl/Work/bsp/tt/ncl/platform-ncl/
state/busybox.compile] Error 2
---
I was trying to build with /opt/OSELAS.Toolchain-2020.08.0/arm-v5te-linux-
gnueabi/gcc-10.2.1-glibc-2.32-binutils-2.35-kernel-5.8-sanitized/bin and I
could not find any fixes in ptxdist git since ptxdist-2020.08.0 for that.
The same BSP builds successful with /opt/OSELAS.Toolchain-2019.09.1/arm-v5te-
linux-gnueabi/gcc-9.2.1-glibc-2.30-binutils-2.32-kernel-5.0-sanitized/bin
Greets
Alex
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ptxdist] busybox build fails with recent oselas toolchain
2020-10-19 8:54 [ptxdist] busybox build fails with recent oselas toolchain Alexander Dahl
@ 2020-10-19 11:52 ` Alexander Dahl
2020-12-11 9:03 ` Michael Olbrich
0 siblings, 1 reply; 3+ messages in thread
From: Alexander Dahl @ 2020-10-19 11:52 UTC (permalink / raw)
To: ptxdist; +Cc: Bastian Krause
Hello,
Am Montag, 19. Oktober 2020, 10:54:49 CEST schrieb Alexander Dahl:
> with the recent OSELAS Toolchain 2020.08 building busybox fails like this:
>
> -----------------------
> target: busybox.compile
> -----------------------
>
> make: Entering directory '/home/adahl/Work/bsp/tt/ncl/platform-ncl/build-
> target/busybox-1.31.1'
> CC util-linux/mount.o
> util-linux/mount.c:253:11: fatal error: rpc/rpc.h: No such file or directory
> compilation terminated.
> make[1]: *** [scripts/Makefile.build:197: util-linux/mount.o] Error 1
> make: *** [Makefile:743: util-linux] Error 2
> make: Leaving directory '/home/adahl/Work/bsp/tt/ncl/platform-ncl/build-
> target/busybox-1.31.1'
> make: *** [/usr/local/lib/ptxdist-2020.08.0/rules/post/
> ptxd_make_world_compile.make:20: /home/adahl/Work/bsp/tt/ncl/platform-ncl/
> state/busybox.compile] Error 2
Got a hint in IRC this is caused by BUSYBOX_FEATURE_MOUNT_NFS and indeed, if I
deactivate that, busybox build does not fail anymore.
> I was trying to build with /opt/OSELAS.Toolchain-2020.08.0/arm-v5te-linux-
> gnueabi/gcc-10.2.1-glibc-2.32-binutils-2.35-kernel-5.8-sanitized/bin and I
> could not find any fixes in ptxdist git since ptxdist-2020.08.0 for that.
>
> The same BSP builds successful with
> /opt/OSELAS.Toolchain-2019.09.1/arm-v5te-
> linux-gnueabi/gcc-9.2.1-glibc-2.30-binutils-2.32-kernel-5.0-sanitized/bin
I got other errors now. I could avoid the libnsl.so problem Jon Ringle
reported two weeks ago by disabling PTXCONF_GLIBC_NSS_COMPAT and
PTXCONF_GLIBC_NSL in the BSP.
Now I face compile errors with sudo and logrotate. I saw sudo is already fixed
with later ptxdist versions, so I will now migrate to 2020.10.0 first, before
proceeding with latest toolchain tests.
Greets
Alex
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ptxdist] busybox build fails with recent oselas toolchain
2020-10-19 11:52 ` Alexander Dahl
@ 2020-12-11 9:03 ` Michael Olbrich
0 siblings, 0 replies; 3+ messages in thread
From: Michael Olbrich @ 2020-12-11 9:03 UTC (permalink / raw)
To: ptxdist
On Mon, Oct 19, 2020 at 01:52:38PM +0200, Alexander Dahl wrote:
> Am Montag, 19. Oktober 2020, 10:54:49 CEST schrieb Alexander Dahl:
> > with the recent OSELAS Toolchain 2020.08 building busybox fails like this:
> >
> > -----------------------
> > target: busybox.compile
> > -----------------------
> >
> > make: Entering directory '/home/adahl/Work/bsp/tt/ncl/platform-ncl/build-
> > target/busybox-1.31.1'
> > CC util-linux/mount.o
> > util-linux/mount.c:253:11: fatal error: rpc/rpc.h: No such file or directory
> > compilation terminated.
> > make[1]: *** [scripts/Makefile.build:197: util-linux/mount.o] Error 1
> > make: *** [Makefile:743: util-linux] Error 2
> > make: Leaving directory '/home/adahl/Work/bsp/tt/ncl/platform-ncl/build-
> > target/busybox-1.31.1'
> > make: *** [/usr/local/lib/ptxdist-2020.08.0/rules/post/
> > ptxd_make_world_compile.make:20: /home/adahl/Work/bsp/tt/ncl/platform-ncl/
> > state/busybox.compile] Error 2
>
> Got a hint in IRC this is caused by BUSYBOX_FEATURE_MOUNT_NFS and indeed, if I
> deactivate that, busybox build does not fail anymore.
The rpc stuff was removed in the new glibc. We'll need to link to tirpc
instead for this.
> > I was trying to build with /opt/OSELAS.Toolchain-2020.08.0/arm-v5te-linux-
> > gnueabi/gcc-10.2.1-glibc-2.32-binutils-2.35-kernel-5.8-sanitized/bin and I
> > could not find any fixes in ptxdist git since ptxdist-2020.08.0 for that.
> >
> > The same BSP builds successful with
> > /opt/OSELAS.Toolchain-2019.09.1/arm-v5te-
> > linux-gnueabi/gcc-9.2.1-glibc-2.30-binutils-2.32-kernel-5.0-sanitized/bin
>
> I got other errors now. I could avoid the libnsl.so problem Jon Ringle
> reported two weeks ago by disabling PTXCONF_GLIBC_NSS_COMPAT and
> PTXCONF_GLIBC_NSL in the BSP.
>
> Now I face compile errors with sudo and logrotate. I saw sudo is already fixed
> with later ptxdist versions, so I will now migrate to 2020.10.0 first, before
> proceeding with latest toolchain tests.
I've removed some more LIBC_NSL dependencies with the 2020.12.0 release.
But there is still a lot more work to do. Especially with the new
-fno-common default.
Michael
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-12-11 9:03 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-19 8:54 [ptxdist] busybox build fails with recent oselas toolchain Alexander Dahl
2020-10-19 11:52 ` Alexander Dahl
2020-12-11 9:03 ` Michael Olbrich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox