Modify

Opened 6 years ago

Last modified 4 years ago

#10184 new defect

disktype package uses host toolchain rather than target

Reported by: frank.laub@… Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc:

Description

While building Mac OS X -> mips_r2

make[3]: Entering directory `/Volumes/Sensitive/openwrt-trunk/feeds/packages/utils/disktype'
CFLAGS="-Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -msoft-float  -I/Volumes/Sensitive/openwrt-trunk/staging_dir/target-mips_r2_uClibc-0.9.32/usr/include -I/Volumes/Sensitive/openwrt-trunk/staging_dir/target-mips_r2_uClibc-0.9.32/include -I/Volumes/Sensitive/openwrt-trunk/staging_dir/toolchain-mips_r2_gcc-4.5-linaro_uClibc-0.9.32/usr/include -I/Volumes/Sensitive/openwrt-trunk/staging_dir/toolchain-mips_r2_gcc-4.5-linaro_uClibc-0.9.32/include " CXXFLAGS="-Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -msoft-float  -I/Volumes/Sensitive/openwrt-trunk/staging_dir/target-mips_r2_uClibc-0.9.32/usr/include -I/Volumes/Sensitive/openwrt-trunk/staging_dir/target-mips_r2_uClibc-0.9.32/include -I/Volumes/Sensitive/openwrt-trunk/staging_dir/toolchain-mips_r2_gcc-4.5-linaro_uClibc-0.9.32/usr/include -I/Volumes/Sensitive/openwrt-trunk/staging_dir/toolchain-mips_r2_gcc-4.5-linaro_uClibc-0.9.32/include " LDFLAGS="-L/Volumes/Sensitive/openwrt-trunk/staging_dir/target-mips_r2_uClibc-0.9.32/usr/lib -L/Volumes/Sensitive/openwrt-trunk/staging_dir/target-mips_r2_uClibc-0.9.32/lib -L/Volumes/Sensitive/openwrt-trunk/staging_dir/toolchain-mips_r2_gcc-4.5-linaro_uClibc-0.9.32/usr/lib -L/Volumes/Sensitive/openwrt-trunk/staging_dir/toolchain-mips_r2_gcc-4.5-linaro_uClibc-0.9.32/lib " make -j1 -C /Volumes/Sensitive/openwrt-trunk/build_dir/target-mips_r2_uClibc-0.9.32/disktype-9/. AR=mips-openwrt-linux-uclibc-ar AS="mips-openwrt-linux-uclibc-gcc -c -Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -msoft-float" LD=mips-openwrt-linux-uclibc-ld NM=mips-openwrt-linux-uclibc-nm CC="mips-openwrt-linux-uclibc-gcc" GCC="mips-openwrt-linux-uclibc-gcc" CXX="mips-openwrt-linux-uclibc-g++" RANLIB=mips-openwrt-linux-uclibc-ranlib STRIP=mips-openwrt-linux-uclibc-strip OBJCOPY=mips-openwrt-linux-uclibc-objcopy OBJDUMP=mips-openwrt-linux-uclibc-objdump SIZE=mips-openwrt-linux-uclibc-size CROSS="mips-openwrt-linux-uclibc-" ARCH="mips" CC="mips-openwrt-linux-uclibc-gcc -Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -msoft-float" ;
mips-openwrt-linux-uclibc-gcc -Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -msoft-float -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DUSE_MACOS_TYPE -DUSE_IOCTL_DARWIN -Wall -c main.c
main.c:31:39: fatal error: CoreServices/CoreServices.h: No such file or directory
compilation terminated.
make[4]: *** [main.o] Error 1
make[3]: *** [/Volumes/Sensitive/openwrt-trunk/build_dir/target-mips_r2_uClibc-0.9.32/disktype-9/.built] Error 2
make[3]: Leaving directory `/Volumes/Sensitive/openwrt-trunk/feeds/packages/utils/disktype'
make[2]: *** [package/feeds/packages/disktype/compile] Error 2
make[2]: Leaving directory `/Volumes/Sensitive/openwrt-trunk'
make[1]: *** [/Volumes/Sensitive/openwrt-trunk/staging_dir/target-mips_r2_uClibc-0.9.32/stamp/.package_compile] Error 2
make[1]: Leaving directory `/Volumes/Sensitive/openwrt-trunk'
make: *** [world] Error 2

Attachments (1)

03-disktype-MacMakefile.patch (735 bytes) - added by BashfulBladder 5 years ago.
disktype-9 makefile patch

Download all attachments as: .zip

Change History (3)

Changed 5 years ago by BashfulBladder

disktype-9 makefile patch

comment:1 Changed 5 years ago by BashfulBladder

You can just comment the Darwin build environment out in the disktype-9 Makefile, since it won't be running under Darwin.

comment:2 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.