Build of lmbench failed: lat_rpc.c:(.text+0x87): undefined reference to `svcudp_create' lat_rpc.c:(.text+0xb8): undefined reference to `svctcp_create' lat_rpc.c:(.text+0x16a): undefined reference to `svc_run' /tmp/ccV4OkdU.o: In function `main': lat_rpc.c:(.text+0x277): undefined reference to `clnt_create' /tmp/ccV4OkdU.o: In function `initialize': lat_rpc.c:(.text+0x484): undefined reference to `clnt_create' collect2: ld returned 1 exit status make[2]: *** [../bin/i586/lat_rpc] Error 1 Looks like lmbench does not only need basic RPC support in the toolchain, it needs full RPC support. Compilation fails with this uclibc config: UCLIBC_HAS_RPC=y # UCLIBC_HAS_FULL_RPC is not set # UCLIBC_HAS_REENTRANT_RPC is not set It succeeds with: UCLIBC_HAS_RPC=y UCLIBC_HAS_FULL_RPC=y UCLIBC_HAS_REENTRANT_RPC=y
Custom uclibc configurations are the responsibility of the user, we can't make buildroot audit every single option for every single package. That's the reason we've got default samples that are appropiately tweaked by BR when enabling/disabling toolchain options like WCHAR, RPC, LFS and so on.