Modify

Opened 5 years ago

Closed 5 years ago

#12411 closed defect (fixed)

Changeset 34005 breaks compilation on IXP4xx

Reported by: Mike Brady <mikebrady@…> Owned by: developers
Priority: normal Milestone: Chaos Calmer 15.05
Component: packages Version: Trunk
Keywords: Cc:

Description

Trying to compile trunk for a Linksys NSLU2 -- an IXP4xx platform. Using menuconfig, select the IXP4xx architecture and leave everything else default. Can compile up to and including Changeset 34004, but at 34005 it fails with the following messages:

make[2]: Entering directory `/home/mike/openwrt/bleedin/package/libs/libubox'
. /home/mike/openwrt/bleedin/include/shell.sh; gzip -dc /home/mike/openwrt/bleedin/dl/libubox-2012-10-29-a9b44ebe556c3f60de2fc1154d48a26f43aa15b7.tar.gz | /bin/tar -C /home/mike/openwrt/bleedin/build_dir/target-armeb_v5te_uClibc-0.9.33.2/libubox-2012-10-29/.. -xf - 
touch /home/mike/openwrt/bleedin/build_dir/target-armeb_v5te_uClibc-0.9.33.2/libubox-2012-10-29/.prepared_9fe92f05fb877bfe6f9ee9d6a9363ec1
(cd /home/mike/openwrt/bleedin/build_dir/target-armeb_v5te_uClibc-0.9.33.2/libubox-2012-10-29; CFLAGS="-Os -pipe -march=armv5te -mtune=xscale -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -I/home/mike/openwrt/bleedin/staging_dir/target-armeb_v5te_uClibc-0.9.33.2/usr/include " CXXFLAGS="-Os -pipe -march=armv5te -mtune=xscale -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -I/home/mike/openwrt/bleedin/staging_dir/target-armeb_v5te_uClibc-0.9.33.2/usr/include " LDFLAGS="-L/home/mike/openwrt/bleedin/staging_dir/target-armeb_v5te_uClibc-0.9.33.2/usr/lib -L/home/mike/openwrt/bleedin/staging_dir/target-armeb_v5te_uClibc-0.9.33.2/lib -L/home/mike/openwrt/bleedin/staging_dir/toolchain-armeb_v5te_gcc-4.6-linaro_uClibc-0.9.33.2/usr/lib -L/home/mike/openwrt/bleedin/staging_dir/toolchain-armeb_v5te_gcc-4.6-linaro_uClibc-0.9.33.2/lib " cmake -DCMAKE_SYSTEM_NAME=Linux -DCMAKE_SYSTEM_VERSION=1 -DCMAKE_SYSTEM_PROCESSOR=armeb -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_FLAGS_RELEASE="-DNDEBUG" -DCMAKE_CXX_FLAGS_RELEASE="-DNDEBUG" -DCMAKE_C_COMPILER="/home/mike/openwrt/bleedin/staging_dir/toolchain-armeb_v5te_gcc-4.6-linaro_uClibc-0.9.33.2/bin/armeb-openwrt-linux-uclibcgnueabi-gcc" -DCMAKE_C_COMPILER_ARG1="" -DCMAKE_CXX_COMPILER="/home/mike/openwrt/bleedin/staging_dir/toolchain-armeb_v5te_gcc-4.6-linaro_uClibc-0.9.33.2/bin/armeb-openwrt-linux-uclibcgnueabi-g++" -DCMAKE_CXX_COMPILER_ARG1="" -DCMAKE_EXE_LINKER_FLAGS:STRING="-L/home/mike/openwrt/bleedin/staging_dir/target-armeb_v5te_uClibc-0.9.33.2/usr/lib -L/home/mike/openwrt/bleedin/staging_dir/target-armeb_v5te_uClibc-0.9.33.2/lib -L/home/mike/openwrt/bleedin/staging_dir/toolchain-armeb_v5te_gcc-4.6-linaro_uClibc-0.9.33.2/usr/lib -L/home/mike/openwrt/bleedin/staging_dir/toolchain-armeb_v5te_gcc-4.6-linaro_uClibc-0.9.33.2/lib" -DCMAKE_MODULE_LINKER_FLAGS:STRING="-L/home/mike/openwrt/bleedin/staging_dir/target-armeb_v5te_uClibc-0.9.33.2/usr/lib -L/home/mike/openwrt/bleedin/staging_dir/target-armeb_v5te_uClibc-0.9.33.2/lib -L/home/mike/openwrt/bleedin/staging_dir/toolchain-armeb_v5te_gcc-4.6-linaro_uClibc-0.9.33.2/usr/lib -L/home/mike/openwrt/bleedin/staging_dir/toolchain-armeb_v5te_gcc-4.6-linaro_uClibc-0.9.33.2/lib" -DCMAKE_SHARED_LINKER_FLAGS:STRING="-L/home/mike/openwrt/bleedin/staging_dir/target-armeb_v5te_uClibc-0.9.33.2/usr/lib -L/home/mike/openwrt/bleedin/staging_dir/target-armeb_v5te_uClibc-0.9.33.2/lib -L/home/mike/openwrt/bleedin/staging_dir/toolchain-armeb_v5te_gcc-4.6-linaro_uClibc-0.9.33.2/usr/lib -L/home/mike/openwrt/bleedin/staging_dir/toolchain-armeb_v5te_gcc-4.6-linaro_uClibc-0.9.33.2/lib" -DCMAKE_FIND_ROOT_PATH=/home/mike/openwrt/bleedin/staging_dir/target-armeb_v5te_uClibc-0.9.33.2 -DCMAKE_FIND_ROOT_PATH_MODE_PROGRAM=BOTH -DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY=ONLY -DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE=ONLY -DCMAKE_STRIP=: -DCMAKE_INSTALL_PREFIX=/usr -DDL_LIBRARY=/home/mike/openwrt/bleedin/staging_dir/target-armeb_v5te_uClibc-0.9.33.2  . )
-- The C compiler identification is GNU 4.6.4
-- Check for working C compiler: /home/mike/openwrt/bleedin/staging_dir/toolchain-armeb_v5te_gcc-4.6-linaro_uClibc-0.9.33.2/bin/armeb-openwrt-linux-uclibcgnueabi-gcc
-- Check for working C compiler: /home/mike/openwrt/bleedin/staging_dir/toolchain-armeb_v5te_gcc-4.6-linaro_uClibc-0.9.33.2/bin/armeb-openwrt-linux-uclibcgnueabi-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
CMake Error at lua/CMakeLists.txt:36 (MESSAGE):
  Lua was not found on your system


CMake Error at lua/CMakeLists.txt:49 (INSTALL):
  install TARGETS given no LIBRARY DESTINATION for module target "uloop_lua".


-- Configuring incomplete, errors occurred!
make[2]: *** [/home/mike/openwrt/bleedin/build_dir/target-armeb_v5te_uClibc-0.9.33.2/libubox-2012-10-29/.configured_] Error 1
make[2]: Leaving directory `/home/mike/openwrt/bleedin/package/libs/libubox'
make[1]: *** [package/libs/libubox/compile] Error 2
make[1]: Leaving directory `/home/mike/openwrt/bleedin'
make: *** [package/libs/libubox/compile] Error 2

Attachments (0)

Change History (3)

comment:1 Changed 5 years ago by Mike Brady <mikebrady@…>

I should have added that it looks like a libubox build issue.

comment:2 Changed 5 years ago by hnyman <hannu.nyman@…>

That libubox issue has been supposedly patched with r34022 and r34033.

comment:3 Changed 5 years ago by florian

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

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.