Modify

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#6918 closed defect (fixed)

Build fails for usermode linux target

Reported by: kimvais Owned by: nico
Priority: normal Milestone: Backfire 10.03.1
Component: packages Version: Trunk
Keywords: Cc:

Description

Here's "make V=99"

make[1]: Entering directory `/opt/autotest/openwrt'

make[2]: Entering directory `/opt/autotest/openwrt'

make[3]: Entering directory `/opt/autotest/openwrt/target/linux'

make[4]: Entering directory `/opt/autotest/openwrt/target/linux/uml'

/opt/autotest/openwrt/scripts/kconfig.pl + /opt/autotest/openwrt/target/linux/ge

neric-2.6/config-2.6.30 /opt/autotest/openwrt/target/linux/uml/config/x86_64 > /

opt/autotest/openwrt/build_dir/linux-uml/linux-2.6.30.10/.config.target

echo "CONFIG_KALLSYMS=y" >> /opt/autotest/openwrt/build_dir/linux-uml/linux-2.6.

30.10/.config.target

echo "# CONFIG_PROFILING is not set" >> /opt/autotest/openwrt/build_dir/linux-um

l/linux-2.6.30.10/.config.target

echo "CONFIG_DEBUG_FS=y" >> /opt/autotest/openwrt/build_dir/linux-uml/linux-2.6.

30.10/.config.target

echo "# CONFIG_KALLSYMS_EXTRA_PASS is not set" >> /opt/autotest/openwrt/build_di

r/linux-uml/linux-2.6.30.10/.config.target

echo "# CONFIG_KALLSYMS_ALL is not set" >> /opt/autotest/openwrt/build_dir/linux

-uml/linux-2.6.30.10/.config.target

echo "# CONFIG_KPROBES is not set" >> /opt/autotest/openwrt/build_dir/linux-uml/

linux-2.6.30.10/.config.target

/opt/autotest/openwrt/staging_dir/host/bin/sed -i -e 's,.*CONFIG_AEABI.*,# CONFI

G_AEABI is not set,' /opt/autotest/openwrt/build_dir/linux-uml/linux-2.6.30.10/.

config.target

/opt/autotest/openwrt/scripts/metadata.pl kconfig /opt/autotest/openwrt/tmp/.pac

kageinfo /opt/autotest/openwrt/.config > /opt/autotest/openwrt/build_dir/linux-u

ml/linux-2.6.30.10/.config.override

/opt/autotest/openwrt/scripts/kconfig.pl 'm+' '+' /opt/autotest/openwrt/build_di

r/linux-uml/linux-2.6.30.10/.config.target /dev/null /opt/autotest/openwrt/build

_dir/linux-uml/linux-2.6.30.10/.config.override > /opt/autotest/openwrt/build_di

r/linux-uml/linux-2.6.30.10/.config

mv /opt/autotest/openwrt/build_dir/linux-uml/linux-2.6.30.10/.config /opt/autote

st/openwrt/build_dir/linux-uml/linux-2.6.30.10/.config.old

grep -v INITRAMFS /opt/autotest/openwrt/build_dir/linux-uml/linux-2.6.30.10/.con

fig.old > /opt/autotest/openwrt/build_dir/linux-uml/linux-2.6.30.10/.config

echo 'CONFIG_INITRAMFS_SOURCE=""' >> /opt/autotest/openwrt/build_dir/linux-uml/l

inux-2.6.30.10/.config

export MAKEFLAGS= ;make -C /opt/autotest/openwrt/build_dir/linux-uml/linux-2.6.3

0.10 CROSS_COMPILE="" ARCH="um" KBUILD_HAVE_NLS=no CONFIG_SHELL="/bin/bash" CC="

gcc" oldconfig prepare scripts

make[5]: Entering directory `/opt/autotest/openwrt/build_dir/linux-uml/linux-2.6

.30.10'

scripts/kconfig/conf -o arch/um/Kconfig.x86

.config:1274:warning: override: MK8 changes choice state

#

# configuration written to .config

#

scripts/kconfig/conf -s arch/um/Kconfig.x86

make[7]: `arch/um/sys-x86_64/user-offsets.s' is up to date.

  CHK     include/linux/version.h

  CHK     include/linux/utsrelease.h

  SYMLINK include/asm -> include/asm-um

  CALL    scripts/checksyscalls.sh

make[5]: Leaving directory `/opt/autotest/openwrt/build_dir/linux-uml/linux-2.6.

30.10'

rm -rf /opt/autotest/openwrt/build_dir/linux-uml/modules

touch /opt/autotest/openwrt/build_dir/linux-uml/linux-2.6.30.10/.configured

rm -f /opt/autotest/openwrt/build_dir/linux-uml/linux-2.6.30.10/vmlinux /opt/aut

otest/openwrt/build_dir/linux-uml/linux-2.6.30.10/System.map

make -C /opt/autotest/openwrt/build_dir/linux-uml/linux-2.6.30.10 CROSS_COMPILE=

"" ARCH="um" KBUILD_HAVE_NLS=no CONFIG_SHELL="/bin/bash" CC="gcc" modules

make[5]: Entering directory `/opt/autotest/openwrt/build_dir/linux-uml/linux-2.6

.30.10'

make[6]: `arch/um/sys-x86_64/user-offsets.s' is up to date.

  CHK     include/linux/version.h

  CHK     include/linux/utsrelease.h

  SYMLINK include/asm -> include/asm-um

  CALL    scripts/checksyscalls.sh

  Building modules, stage 2.

  MODPOST 43 modules

make[5]: Leaving directory `/opt/autotest/openwrt/build_dir/linux-uml/linux-2.6.

30.10'

touch /opt/autotest/openwrt/build_dir/linux-uml/linux-2.6.30.10/.modules

make -C image compile TARGET_BUILD=

make[5]: Entering directory `/opt/autotest/openwrt/target/linux/uml/image'

make[5]: `compile' is up to date.

make[5]: Leaving directory `/opt/autotest/openwrt/target/linux/uml/image'

make[4]: Leaving directory `/opt/autotest/openwrt/target/linux/uml'

make[3]: Leaving directory `/opt/autotest/openwrt/target/linux'

make[2]: Leaving directory `/opt/autotest/openwrt'

make[2]: Entering directory `/opt/autotest/openwrt'

find /opt/autotest/openwrt/staging_dir/target-x86_64_uClibc-0.9.30.1/root-uml -t

ype d | xargs -r chmod 0755

rm -rf /opt/autotest/openwrt/build_dir/target-x86_64_uClibc-0.9.30.1/root-uml /o

pt/autotest/openwrt/staging_dir/target-x86_64_uClibc-0.9.30.1/root-uml

make[2]: Leaving directory `/opt/autotest/openwrt'

make[2]: Entering directory `/opt/autotest/openwrt'

make[3]: Entering directory `/opt/autotest/openwrt/package/base-files'

rm -rf /opt/autotest/openwrt/staging_dir/target-x86_64_uClibc-0.9.30.1/root-uml/

tmp-base-files

mkdir -p /opt/autotest/openwrt/staging_dir/target-x86_64_uClibc-0.9.30.1/root-um

l/stamp /opt/autotest/openwrt/staging_dir/target-x86_64_uClibc-0.9.30.1/root-uml

/tmp-base-files

cp -fpR ./files/* /opt/autotest/openwrt/staging_dir/target-x86_64_uClibc-0.9.30.

1/root-uml/tmp-base-files/

if [ -d /opt/autotest/openwrt/target/linux/generic-2.6/base-files/. ]; then cp -

fpR /opt/autotest/openwrt/target/linux/generic-2.6/base-files/* /opt/autotest/op

enwrt/staging_dir/target-x86_64_uClibc-0.9.30.1/root-uml/tmp-base-files/; fi

if [ -d /opt/autotest/openwrt/target/linux/uml/base-files/. ]; then cp -fpR /opt

/autotest/openwrt/target/linux/uml/base-files/* /opt/autotest/openwrt/staging_di

r/target-x86_64_uClibc-0.9.30.1/root-uml/tmp-base-files/; fi

if [ -d /opt/autotest/openwrt/target/linux/uml/base-files-/. ]; then cp -fpR /op

t/autotest/openwrt/target/linux/uml/base-files-/* /opt/autotest/openwrt/staging_

dir/target-x86_64_uClibc-0.9.30.1/root-uml/tmp-base-files/; fi

if [ -d /opt/autotest/openwrt/target/linux/uml//base-files/. ]; then cp -fpR /op

t/autotest/openwrt/target/linux/uml//base-files/* /opt/autotest/openwrt/staging_

dir/target-x86_64_uClibc-0.9.30.1/root-uml/tmp-base-files/; fi

/opt/autotest/openwrt/staging_dir/host/bin/sed -i -e 's,$R,r20386,g' /opt/autote

st/openwrt/staging_dir/target-x86_64_uClibc-0.9.30.1/root-uml/tmp-base-files/etc

/banner

mkdir -p /opt/autotest/openwrt/staging_dir/target-x86_64_uClibc-0.9.30.1/root-um

l/tmp-base-files/CONTROL

mkdir -p /opt/autotest/openwrt/staging_dir/target-x86_64_uClibc-0.9.30.1/root-um

l/tmp-base-files/dev

mkdir -p /opt/autotest/openwrt/staging_dir/target-x86_64_uClibc-0.9.30.1/root-um

l/tmp-base-files/etc/crontabs

mkdir -p /opt/autotest/openwrt/staging_dir/target-x86_64_uClibc-0.9.30.1/root-um

l/tmp-base-files/etc/rc.d

mkdir -p /opt/autotest/openwrt/staging_dir/target-x86_64_uClibc-0.9.30.1/root-um

l/tmp-base-files/overlay

mkdir -p /opt/autotest/openwrt/staging_dir/target-x86_64_uClibc-0.9.30.1/root-um

l/tmp-base-files/lib/firmware

ln -s lib /opt/autotest/openwrt/staging_dir/target-x86_64_uClibc-0.9.30.1/root-u

ml/tmp-base-files/lib64

mkdir -p /opt/autotest/openwrt/staging_dir/target-x86_64_uClibc-0.9.30.1/root-um

l/tmp-base-files/mnt

mkdir -p /opt/autotest/openwrt/staging_dir/target-x86_64_uClibc-0.9.30.1/root-um

l/tmp-base-files/proc

mkdir -p /opt/autotest/openwrt/staging_dir/target-x86_64_uClibc-0.9.30.1/root-um

l/tmp-base-files/tmp

mkdir -p /opt/autotest/openwrt/staging_dir/target-x86_64_uClibc-0.9.30.1/root-um

l/tmp-base-files/usr/lib

ln -s lib /opt/autotest/openwrt/staging_dir/target-x86_64_uClibc-0.9.30.1/root-u

ml/tmp-base-files/usr/lib64

mkdir -p /opt/autotest/openwrt/staging_dir/target-x86_64_uClibc-0.9.30.1/root-um

l/tmp-base-files/usr/bin

mkdir -p /opt/autotest/openwrt/staging_dir/target-x86_64_uClibc-0.9.30.1/root-um

l/tmp-base-files/sys

mkdir -p /opt/autotest/openwrt/staging_dir/target-x86_64_uClibc-0.9.30.1/root-um

l/tmp-base-files/www

mkdir -p /opt/autotest/openwrt/staging_dir/target-x86_64_uClibc-0.9.30.1/root-um

l/tmp-base-files/root

ln -sf /proc/mounts /opt/autotest/openwrt/staging_dir/target-x86_64_uClibc-0.9.3

0.1/root-uml/tmp-base-files/etc/mtab

rm -f /opt/autotest/openwrt/staging_dir/target-x86_64_uClibc-0.9.30.1/root-uml/t

mp-base-files/var

ln -sf /tmp /opt/autotest/openwrt/staging_dir/target-x86_64_uClibc-0.9.30.1/root

-uml/tmp-base-files/var

mkdir -p /opt/autotest/openwrt/staging_dir/target-x86_64_uClibc-0.9.30.1/root-um

l/tmp-base-files/etc

ln -sf /tmp/resolv.conf /tmp/fstab /tmp/TZ /opt/autotest/openwrt/staging_dir/tar

get-x86_64_uClibc-0.9.30.1/root-uml/tmp-base-files/etc/

for conffile in /opt/autotest/openwrt/staging_dir/target-x86_64_uClibc-0.9.30.1/

root-uml/tmp-base-files/etc/config/*; do if [ -f "$conffile" ]; then grep "${con

ffile##/opt/autotest/openwrt/staging_dir/target-x86_64_uClibc-0.9.30.1/root-uml/

tmp-base-files}" /opt/autotest/openwrt/staging_dir/target-x86_64_uClibc-0.9.30.1

/root-uml/tmp-base-files/CONTROL/conffiles || echo "${conffile##/opt/autotest/op

enwrt/staging_dir/target-x86_64_uClibc-0.9.30.1/root-uml/tmp-base-files}" >> /op

t/autotest/openwrt/staging_dir/target-x86_64_uClibc-0.9.30.1/root-uml/tmp-base-f

iles/CONTROL/conffiles; fi done

grep: /opt/autotest/openwrt/staging_dir/target-x86_64_uClibc-0.9.30.1/root-uml/t

mp-base-files/CONTROL/conffiles: No such file or directory

cp -fpR /opt/autotest/openwrt/staging_dir/target-x86_64_uClibc-0.9.30.1/root-uml

/tmp-base-files/. /opt/autotest/openwrt/staging_dir/target-x86_64_uClibc-0.9.30.

1/root-uml/

rm -rf /opt/autotest/openwrt/staging_dir/target-x86_64_uClibc-0.9.30.1/root-uml/

tmp-base-files

touch /opt/autotest/openwrt/staging_dir/target-x86_64_uClibc-0.9.30.1/root-uml/s

tamp/.base-files_installed

rm -rf /opt/autotest/openwrt/staging_dir/target-x86_64_uClibc-0.9.30.1/root-uml/

tmp-libc

mkdir -p /opt/autotest/openwrt/staging_dir/target-x86_64_uClibc-0.9.30.1/root-um

l/stamp /opt/autotest/openwrt/staging_dir/target-x86_64_uClibc-0.9.30.1/root-uml

/tmp-libc

install -d -m0755 /opt/autotest/openwrt/staging_dir/target-x86_64_uClibc-0.9.30.

1/root-uml/tmp-libc/lib

for file in ld64-uClibc libc libcrypt libdl libm libnsl libresolv libuClibc libu

til; do cp -fpR /opt/autotest/openwrt/staging_dir/toolchain-x86_64_gcc-4.1.2_uCl

ibc-0.9.30.1/lib/$file.so.* /opt/autotest/openwrt/staging_dir/target-x86_64_uCli

bc-0.9.30.1/root-uml/tmp-libc/lib/; cp -fpR /opt/autotest/openwrt/staging_dir/to

olchain-x86_64_gcc-4.1.2_uClibc-0.9.30.1/lib/$file-0.9.30.1.so /opt/autotest/ope

nwrt/staging_dir/target-x86_64_uClibc-0.9.30.1/root-uml/tmp-libc/lib/; done

cp: cannot stat `/opt/autotest/openwrt/staging_dir/toolchain-x86_64_gcc-4.1.2_uC

libc-0.9.30.1/lib/libc-0.9.30.1.so': No such file or directory

cp: cannot stat `/opt/autotest/openwrt/staging_dir/toolchain-x86_64_gcc-4.1.2_uC

libc-0.9.30.1/lib/libuClibc.so.*': No such file or directory

cp -fpR /opt/autotest/openwrt/staging_dir/toolchain-x86_64_gcc-4.1.2_uClibc-0.9.

30.1/usr/lib/libc.a /opt/autotest/openwrt/staging_dir/toolchain-x86_64_gcc-4.1.2

_uClibc-0.9.30.1/usr/lib/libc_pic.a /opt/autotest/openwrt/staging_dir/toolchain-

x86_64_gcc-4.1.2_uClibc-0.9.30.1/usr/lib/libc_so.a /opt/autotest/openwrt/staging

_dir/toolchain-x86_64_gcc-4.1.2_uClibc-0.9.30.1/usr/lib/libcrypt.a /opt/autotest

/openwrt/staging_dir/toolchain-x86_64_gcc-4.1.2_uClibc-0.9.30.1/usr/lib/libcrypt

_pic.a /opt/autotest/openwrt/staging_dir/toolchain-x86_64_gcc-4.1.2_uClibc-0.9.3

0.1/usr/lib/libdl.a /opt/autotest/openwrt/staging_dir/toolchain-x86_64_gcc-4.1.2

_uClibc-0.9.30.1/usr/lib/libiberty.a /opt/autotest/openwrt/staging_dir/toolchain

-x86_64_gcc-4.1.2_uClibc-0.9.30.1/usr/lib/libm.a /opt/autotest/openwrt/staging_d

ir/toolchain-x86_64_gcc-4.1.2_uClibc-0.9.30.1/usr/lib/libm_pic.a /opt/autotest/o

penwrt/staging_dir/toolchain-x86_64_gcc-4.1.2_uClibc-0.9.30.1/usr/lib/libnsl.a /

opt/autotest/openwrt/staging_dir/toolchain-x86_64_gcc-4.1.2_uClibc-0.9.30.1/usr/

lib/libnsl_pic.a /opt/autotest/openwrt/staging_dir/toolchain-x86_64_gcc-4.1.2_uC

libc-0.9.30.1/usr/lib/libpthread.a /opt/autotest/openwrt/staging_dir/toolchain-x

86_64_gcc-4.1.2_uClibc-0.9.30.1/usr/lib/libpthread_so.a /opt/autotest/openwrt/st

aging_dir/toolchain-x86_64_gcc-4.1.2_uClibc-0.9.30.1/usr/lib/libresolv.a /opt/au

totest/openwrt/staging_dir/toolchain-x86_64_gcc-4.1.2_uClibc-0.9.30.1/usr/lib/li

brt.a /opt/autotest/openwrt/staging_dir/toolchain-x86_64_gcc-4.1.2_uClibc-0.9.30

.1/usr/lib/librt_pic.a /opt/autotest/openwrt/staging_dir/toolchain-x86_64_gcc-4.

1.2_uClibc-0.9.30.1/usr/lib/libstdc++.a /opt/autotest/openwrt/staging_dir/toolch

ain-x86_64_gcc-4.1.2_uClibc-0.9.30.1/usr/lib/libstdc++_pic.a /opt/autotest/openw

rt/staging_dir/toolchain-x86_64_gcc-4.1.2_uClibc-0.9.30.1/usr/lib/libsupc++.a /o

pt/autotest/openwrt/staging_dir/toolchain-x86_64_gcc-4.1.2_uClibc-0.9.30.1/usr/l

ib/libutil.a /opt/autotest/openwrt/staging_dir/toolchain-x86_64_gcc-4.1.2_uClibc

-0.9.30.1/usr/lib/libutil_pic.a /opt/autotest/openwrt/staging_dir/target-x86_64_

uClibc-0.9.30.1/root-uml/tmp-libc/lib/

cp -fpR /opt/autotest/openwrt/staging_dir/toolchain-x86_64_gcc-4.1.2_uClibc-0.9.

30.1/usr/lib/libc_so.a /opt/autotest/openwrt/staging_dir/target-x86_64_uClibc-0.

9.30.1/root-uml/tmp-libc/lib/libc_pic.a

cp -fpR /opt/autotest/openwrt/staging_dir/toolchain-x86_64_gcc-4.1.2_uClibc-0.9.

30.1/usr/lib/gcc/*/*/libgcc_pic.a /opt/autotest/openwrt/staging_dir/target-x86_6

4_uClibc-0.9.30.1/root-uml/tmp-libc/lib/libgcc_s_pic.a; cp -fpR /opt/autotest/op

enwrt/staging_dir/toolchain-x86_64_gcc-4.1.2_uClibc-0.9.30.1/usr/lib/gcc/*/*/lib

gcc.map /opt/autotest/openwrt/staging_dir/target-x86_64_uClibc-0.9.30.1/root-uml

/tmp-libc/lib/libgcc_s_pic.map 

cp -fpR /opt/autotest/openwrt/staging_dir/target-x86_64_uClibc-0.9.30.1/root-uml

/tmp-libc/. /opt/autotest/openwrt/staging_dir/target-x86_64_uClibc-0.9.30.1/root

-uml/

rm -rf /opt/autotest/openwrt/staging_dir/target-x86_64_uClibc-0.9.30.1/root-uml/

tmp-libc

touch /opt/autotest/openwrt/staging_dir/target-x86_64_uClibc-0.9.30.1/root-uml/s

tamp/.libc_installed

rm -rf /opt/autotest/openwrt/build_dir/linux-uml/base-files/ipkg-uml/libgcc

mkdir -p /opt/autotest/openwrt/build_dir/linux-uml/base-files/ipkg-uml/libgcc/CO

NTROL

echo "Package: libgcc" > /opt/autotest/openwrt/build_dir/linux-uml/base-files/ip

kg-uml/libgcc/CONTROL/control

echo "Version: 4.1.2-40" >> /opt/autotest/openwrt/build_dir/linux-uml/base-files

/ipkg-uml/libgcc/CONTROL/control

( DEPENDS=''; for depend in ; do DEPENDS=${DEPENDS:+$DEPENDS, }${depend##+}; don

e; echo "Depends: $DEPENDS"; echo "Provides: "; echo "Source: package/base-files

"; echo "Section: libs"; echo "Priority: optional"; echo "Maintainer: OpenWrt De

velopers Team <openwrt-devel@openwrt.org>"; echo "Architecture: uml"; echo "Inst

alled-Size: 1"; echo -n "Description: "; getvar V_Package_libgcc_description | s

ed -e 's,^[[:space:]]*, ,g'; ) >> /opt/autotest/openwrt/build_dir/linux-uml/base

-files/ipkg-uml/libgcc/CONTROL/control

chmod 644 /opt/autotest/openwrt/build_dir/linux-uml/base-files/ipkg-uml/libgcc/C

ONTROL/control

(cd /opt/autotest/openwrt/build_dir/linux-uml/base-files/ipkg-uml/libgcc/CONTROL

; var2file "V_Package_libgcc_conffiles" conffiles; var2file "V_Package_libgcc_pr

einst" preinst; var2file "V_Package_libgcc_postinst" postinst; var2file "V_Packa

ge_libgcc_prerm" prerm; var2file "V_Package_libgcc_postrm" postrm; )

install -d -m0755 /opt/autotest/openwrt/build_dir/linux-uml/base-files/ipkg-uml/

libgcc/lib

cp -fpR /opt/autotest/openwrt/staging_dir/toolchain-x86_64_gcc-4.1.2_uClibc-0.9.

30.1/lib64/libgcc_s.so.* /opt/autotest/openwrt/build_dir/linux-uml/base-files/ip

kg-uml/libgcc/lib/

cp: cannot stat `/opt/autotest/openwrt/staging_dir/toolchain-x86_64_gcc-4.1.2_uC

libc-0.9.30.1/lib64/libgcc_s.so.*': No such file or directory

make[3]: *** [/opt/autotest/openwrt/bin/uml/packages/libgcc_4.1.2-40_uml.ipk] Er

ror 1

make[3]: Leaving directory `/opt/autotest/openwrt/package/base-files'

make[2]: *** [package/base-files/compile] Error 2

make[2]: Leaving directory `/opt/autotest/openwrt'

make[1]: *** [/opt/autotest/openwrt/staging_dir/target-x86_64_uClibc-0.9.30.1/st

amp/.package_compile] Error 2

make[1]: Leaving directory `/opt/autotest/openwrt'

make: *** [world] Error 2

Attachments (1)

log.txt (15.6 KB) - added by kimvais 7 years ago.
make V=99 log

Download all attachments as: .zip

Change History (6)

Changed 7 years ago by kimvais

make V=99 log

comment:1 Changed 7 years ago by thepeople

  • Owner changed from developers to nico
  • Status changed from new to assigned

comment:2 Changed 7 years ago by kimvais

After making this change:

Index: package/base-files/Makefile
===================================================================
--- package/base-files/Makefile (revision 20398)
+++ package/base-files/Makefile (working copy)
@@ -395,7 +395,7 @@
 
   define Package/libgcc/install
        $(INSTALL_DIR) $(1)/lib
-       $(CP) $(TOOLCHAIN_DIR)/lib$(LIB_SUFFIX)/libgcc_s.so.* $(1)/lib/
+       $(CP) $(TOOLCHAIN_DIR)/lib/libgcc_s.so.* $(1)/lib/
   endef
 
   define Package/libssp/install

The previous problem goes away, now only to fail at target/linux install log (make V=99 snippet) below;

Configuring wireless-tools...Done.
make[3]: Leaving directory `/opt/autotest/openwrt/package/wireless-tools'
make[2]: Leaving directory `/opt/autotest/openwrt'
make[2]: Entering directory `/opt/autotest/openwrt'
make[3]: Entering directory `/opt/autotest/openwrt'
( \
        echo "uci set 'network.lan.dns='"; \
        echo "uci set 'network.lan.proto=static'"; \
        echo "uci set 'network.lan.gateway=10.0.0.1'"; \
        echo "uci set 'network.lan.netmask=255.255.255.0'"; \
        echo "uci set 'network.lan.ipaddr=10.0.0.100'"; \
 \
        ) > /opt/autotest/openwrt/build_dir/target-x86_64_uClibc-0.9.30.1/root-uml/etc/uci-defaults/base-files
--: line 7: /opt/autotest/openwrt/build_dir/target-x86_64_uClibc-0.9.30.1/root-uml/etc/uci-defaults/base-files: No such file or directory
make[3]: *** [/opt/autotest/openwrt/build_dir/target-x86_64_uClibc-0.9.30.1/root-uml/etc/uci-defaults/base-files] Error 1
make[3]: Leaving directory `/opt/autotest/openwrt'
make[2]: [package/rootfs-prepare] Error 2 (ignored)
make[2]: Leaving directory `/opt/autotest/openwrt'
make[2]: Entering directory `/opt/autotest/openwrt'
make[3]: Entering directory `/opt/autotest/openwrt/target/linux'
make[4]: Entering directory `/opt/autotest/openwrt/target/linux/uml'
/opt/autotest/openwrt/scripts/kconfig.pl + /opt/autotest/openwrt/target/linux/generic-2.6/config-2.6.30 /opt/autotest/openwrt/target/linux/uml/config/x86_64 > /opt/autotest/openwrt/build_dir/linux-uml/linux-2.6.30.10/.config.target
echo "# CONFIG_KALLSYMS is not set" >> /opt/autotest/openwrt/build_dir/linux-uml/linux-2.6.30.10/.config.target
echo "# CONFIG_PROFILING is not set" >> /opt/autotest/openwrt/build_dir/linux-uml/linux-2.6.30.10/.config.target
echo "CONFIG_DEBUG_FS=y" >> /opt/autotest/openwrt/build_dir/linux-uml/linux-2.6.30.10/.config.target
echo "# CONFIG_KALLSYMS_EXTRA_PASS is not set" >> /opt/autotest/openwrt/build_dir/linux-uml/linux-2.6.30.10/.config.target
echo "# CONFIG_KALLSYMS_ALL is not set" >> /opt/autotest/openwrt/build_dir/linux-uml/linux-2.6.30.10/.config.target
echo "# CONFIG_KPROBES is not set" >> /opt/autotest/openwrt/build_dir/linux-uml/linux-2.6.30.10/.config.target
/opt/autotest/openwrt/staging_dir/host/bin/sed -i -e 's,.*CONFIG_AEABI.*,# CONFIG_AEABI is not set,' /opt/autotest/openwrt/build_dir/linux-uml/linux-2.6.30.10/.config.target
/opt/autotest/openwrt/scripts/metadata.pl kconfig /opt/autotest/openwrt/tmp/.packageinfo /opt/autotest/openwrt/.config > /opt/autotest/openwrt/build_dir/linux-uml/linux-2.6.30.10/.config.override
/opt/autotest/openwrt/scripts/kconfig.pl 'm+' '+' /opt/autotest/openwrt/build_dir/linux-uml/linux-2.6.30.10/.config.target /dev/null /opt/autotest/openwrt/build_dir/linux-uml/linux-2.6.30.10/.config.override > /opt/autotest/openwrt/build_dir/linux-uml/linux-2.6.30.10/.config
mv /opt/autotest/openwrt/build_dir/linux-uml/linux-2.6.30.10/.config /opt/autotest/openwrt/build_dir/linux-uml/linux-2.6.30.10/.config.old
grep -v INITRAMFS /opt/autotest/openwrt/build_dir/linux-uml/linux-2.6.30.10/.config.old > /opt/autotest/openwrt/build_dir/linux-uml/linux-2.6.30.10/.config
echo 'CONFIG_INITRAMFS_SOURCE=""' >> /opt/autotest/openwrt/build_dir/linux-uml/linux-2.6.30.10/.config
export MAKEFLAGS= ;make -C /opt/autotest/openwrt/build_dir/linux-uml/linux-2.6.30.10 CROSS_COMPILE="" ARCH="um" KBUILD_HAVE_NLS=no CONFIG_SHELL="/bin/bash" CC="gcc" oldconfig prepare scripts
make[5]: Entering directory `/opt/autotest/openwrt/build_dir/linux-uml/linux-2.6.30.10'
scripts/kconfig/conf -o arch/um/Kconfig.x86
.config:1274:warning: override: MK8 changes choice state
#
# configuration written to .config
#
scripts/kconfig/conf -s arch/um/Kconfig.x86
make[7]: `arch/um/sys-x86_64/user-offsets.s' is up to date.
  CHK     include/linux/version.h
  CHK     include/linux/utsrelease.h
  SYMLINK include/asm -> include/asm-um
  CALL    scripts/checksyscalls.sh
make[5]: Leaving directory `/opt/autotest/openwrt/build_dir/linux-uml/linux-2.6.30.10'
rm -rf /opt/autotest/openwrt/build_dir/linux-uml/modules
touch /opt/autotest/openwrt/build_dir/linux-uml/linux-2.6.30.10/.configured
rm -f /opt/autotest/openwrt/build_dir/target-x86_64_uClibc-0.9.30.1/root-uml/init
make -C /opt/autotest/openwrt/build_dir/linux-uml/linux-2.6.30.10 CROSS_COMPILE="" ARCH="um" KBUILD_HAVE_NLS=no CONFIG_SHELL="/bin/bash" CC="gcc" 
make[5]: Entering directory `/opt/autotest/openwrt/build_dir/linux-uml/linux-2.6.30.10'
make[6]: `arch/um/sys-x86_64/user-offsets.s' is up to date.
  CHK     include/linux/version.h
  CHK     include/linux/utsrelease.h
  SYMLINK include/asm -> include/asm-um
  CALL    scripts/checksyscalls.sh
  CHK     include/linux/compile.h
  QUOTE   arch/um/kernel/config.tmp
  QUOTE   arch/um/kernel/config.c
  CC      arch/um/kernel/config.o
  LD      arch/um/kernel/built-in.o
  LD      vmlinux.o
  MODPOST vmlinux.o
  GEN     .version
  CHK     include/linux/compile.h
  UPD     include/linux/compile.h
  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1
  KSYM    .tmp_kallsyms1.S
  AS      .tmp_kallsyms1.o
  LD      .tmp_vmlinux2
  KSYM    .tmp_kallsyms2.S
  AS      .tmp_kallsyms2.o
  LD      vmlinux
  SYSMAP  System.map
  SYSMAP  .tmp_System.map
  LINK linux
  Building modules, stage 2.
  MODPOST 43 modules
ERROR: "memcpy" [net/netfilter/nf_conntrack.ko] undefined!
ERROR: "memcpy" [net/ipv4/netfilter/nf_nat.ko] undefined!
ERROR: "memcpy" [net/ipv4/netfilter/ip_tables.ko] undefined!
ERROR: "memcpy" [drivers/net/slhc.ko] undefined!
ERROR: "memcpy" [drivers/net/ppp_generic.ko] undefined!
ERROR: "memcpy" [drivers/net/ppp_async.ko] undefined!
ERROR: "memcpy" [crypto/hmac.ko] undefined!
ERROR: "memcpy" [crypto/cbc.ko] undefined!
make[6]: *** [__modpost] Error 1
make[5]: *** [modules] Error 2
make[5]: Leaving directory `/opt/autotest/openwrt/build_dir/linux-uml/linux-2.6.30.10'
make[4]: *** [/opt/autotest/openwrt/build_dir/linux-uml/linux-2.6.30.10/.image] Error 2
make[4]: Leaving directory `/opt/autotest/openwrt/target/linux/uml'
make[3]: *** [install] Error 2
make[3]: Leaving directory `/opt/autotest/openwrt/target/linux'
make[2]: *** [target/linux/install] Error 2
make[2]: Leaving directory `/opt/autotest/openwrt'
make[1]: *** [/opt/autotest/openwrt/staging_dir/target-x86_64_uClibc-0.9.30.1/stamp/.target_install] Error 2
make[1]: Leaving directory `/opt/autotest/openwrt'
make: *** [world] Error 2

comment:3 Changed 7 years ago by nico

  • Resolution set to fixed
  • Status changed from assigned to closed

Issue 1 was fixed in [21282], Issue 2 in [21191], thanks !

comment:4 Changed 7 years ago by acoul

these fixes also corrected a uclibc++ issue I had on latest x86 SDK. thank you.

comment:5 Changed 7 years ago by nico

  • Milestone changed from Kamikaze to Backfire 10.03.1

Backported to backfire in [21294] & [21295]

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.