Modify

Opened 6 years ago

Last modified 4 years ago

#10595 new defect

BUSYBOX_CONFIG_FEATURE_MOUNT_NFS requires RPC enabled uClibc using host toolchain

Reported by: anonymous Owned by: developers
Priority: low Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc:

Description

When building busybox with BUSYBOX_CONFIG_FEATURE_MOUNT_NFS enabled using the host toolchain, busybox wants uClibc with working -lrpc. This however does not work when using the host toolchain.

LINK busybox_unstripped

Trying libraries: crypt m rpc
Failed: -Wl,--start-group -lcrypt -lm -lrpc -Wl,--end-group
Output of:
gcc -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wdeclaration-after-statement -Wold-style-definition -fno-builtin-strlen -finline-limit=0 -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -Os -L/silo/build/openwrt/staging_dir/target-x86_64-pc-linux-gnu/usr/lib -L/silo/build/openwrt/staging_dir/target-x86_64-pc-linux-gnu/lib -o busybox_unstripped -Wl,--sort-common -Wl,--sort-section,alignment -Wl,--gc-sections -Wl,--start-group applets/built-in.o archival/lib.a archival/libarchive/lib.a console-tools/lib.a coreutils/lib.a coreutils/libcoreutils/lib.a debianutils/lib.a e2fsprogs/lib.a editors/lib.a findutils/lib.a init/lib.a libbb/lib.a libpwdgrp/lib.a loginutils/lib.a mailutils/lib.a miscutils/lib.a modutils/lib.a networking/lib.a networking/libiproute/lib.a networking/udhcp/lib.a printutils/lib.a procps/lib.a runit/lib.a selinux/lib.a shell/lib.a sysklogd/lib.a util-linux/lib.a util-linux/volume_id/lib.a archival/built-in.o archival/libarchive/built-in.o console-tools/built-in.o coreutils/built-in.o coreutils/libcoreutils/built-in.o debianutils/built-in.o e2fsprogs/built-in.o editors/built-in.o findutils/built-in.o init/built-in.o libbb/built-in.o libpwdgrp/built-in.o loginutils/built-in.o mailutils/built-in.o miscutils/built-in.o modutils/built-in.o networking/built-in.o networking/libiproute/built-in.o networking/udhcp/built-in.o printutils/built-in.o procps/built-in.o runit/built-in.o selinux/built-in.o shell/built-in.o sysklogd/built-in.o util-linux/built-in.o util-linux/volume_id/built-in.o -Wl,--end-group -Wl,--start-group -lcrypt -lm -lrpc -Wl,--end-group
==========
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lrpc
collect2: ld returned 1 exit status
make[4]: * [busybox_unstripped] Error 1
make[4]: Leaving directory `/silo/build/openwrt/build_dir/target-x86_64-pc-linux-gnu/busybox-1.19.3'
make[3]:
* /silo/build/openwrt/build_dir/target-x86_64-pc-linux-gnu/busybox-1.19.3/.built Error 2
make[3]: Leaving directory `/silo/build/openwrt/package/busybox'
make[2]: * [package/busybox/compile] Error 2
make[2]: Leaving directory `/silo/build/openwrt'
make[1]:
* /silo/build/openwrt/staging_dir/target-x86_64-pc-linux-gnu/stamp/.package_compile Error 2
make[1]: Leaving directory `/silo/build/openwrt'
make: * [world] Error 2

Attachments (0)

Change History (1)

comment:1 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.