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
[email protected]
To unsubscribe, send a mail with subject "unsubscribe" to 
[email protected]

Reply via email to