[uClinux-dev] A "Segmentation fault" as below when "make menuconfig" after patched with uClinux-dist-20070130-20071101.patch.gz

Mike Wu wgclyb at gmail.com
Wed Nov 7 19:05:11 EST 2007


Hi,
I got a "Segmentation fault" as below when "make menuconfig" after patched
with uClinux-dist-20070130-20071101.patch.gz or
uClinux-dist-20070130-20071017.patch.gz.
I didn't try other older patches. At least, these two patches have problems.
Does anyone face the same problem as I do? The OS I use is Sles10.1 .

# make CROSS_COMPILE=arm-uclinuxeabi-s menuconfig
config/mkconfig > Kconfig
CC=cc make -C /home/xxxx/Linux/uClinux-dist/config/kconfig mconf
make[1]: Entering directory `/home/xxxx/Linux/uClinux-dist/config/kconfig'
cc -DCURSES_LOC="<ncurses.h>"   -c -o mconf.o mconf.c
cc -DCURSES_LOC="<ncurses.h>"   -c -o lxdialog/checklist.o
lxdialog/checklist.c
cc -DCURSES_LOC="<ncurses.h>"   -c -o lxdialog/inputbox.o
lxdialog/inputbox.c
cc -DCURSES_LOC="<ncurses.h>"   -c -o lxdialog/menubox.o lxdialog/menubox.c
cc -DCURSES_LOC="<ncurses.h>"   -c -o lxdialog/textbox.o lxdialog/textbox.c
cc -DCURSES_LOC="<ncurses.h>"   -c -o lxdialog/util.o lxdialog/util.c
cc -DCURSES_LOC="<ncurses.h>"   -c -o lxdialog/yesno.o lxdialog/yesno.c
cc   mconf.o zconf.tab.o lxdialog/checklist.o lxdialog/inputbox.o
lxdialog/menubox.o lxdialog/textbox.o lxdialog/util.o lxdialog/yesno.o
 -lncursesw -o mconf
/usr/lib/gcc/i586-suse-linux/4.1.2/../../../../i586-suse-linux/bin/ld:
warning: i386:x86-64 architecture of input file `zconf.tab.o' is
incompatible with i386 output
make[1]: Leaving directory `/home/xxxx/Linux/uClinux-dist/config/kconfig'
/home/xxxx/Linux/uClinux-dist/config/kconfig/mconf Kconfig
make: *** [menuconfig] Segmentation fault

# gcc -v
Using built-in specs.
Target: i586-suse-linux
Configured with: ../configure --enable-threads=posix --prefix=/usr
--with-local-prefix=/usr/local --infodir=/usr/share/info
--mandir=/usr/share/man --libdir=/usr/lib --libexecdir=/usr/lib
--enable-languages=c,c++,objc,fortran,obj-c++,java,ada
--enable-checking=release
--with-gxx-include-dir=/usr/include/c++/4.1.2 --enable-ssp
--disable-libssp --disable-libgcj --with-slibdir=/lib
--with-system-zlib --enable-shared --enable-__cxa_atexit
--enable-libstdcxx-allocator=new --program-suffix=
--enable-version-specific-runtime-libs --without-system-libunwind
--with-cpu=generic --host=i586-suse-linux
Thread model: posix
gcc version 4.1.2 20070115 (prerelease) (SUSE Linux)

# arm-uclinuxeabi-gcc -v
Using built-in specs.
Target: arm-uclinuxeabi
Configured with: /scratch/paul/lite/uclinux/src/gcc-4.2/configure
--build=i686-pc-linux-gnu --host=i686-pc-linux-gnu
--target=arm-uclinuxeabi --enable-threads --disable-libmudflap
--disable-libssp --disable-libgomp --disable-libstdcxx-pch
--with-gnu-as --with-gnu-ld --enable-languages=c,c++ --disable-shared
--with-pkgversion=CodeSourcery Sourcery G++ Lite 2007q3-51
--with-bugurl=https://support.codesourcery.com/GNUToolchain/
--disable-nls --prefix=/opt/codesourcery
--with-sysroot=/opt/codesourcery/arm-uclinuxeabi/libc
--with-build-sysroot=/scratch/paul/lite/uclinux/install/arm-uclinuxeabi/libc
--enable-poison-system-directories
--with-build-time-tools=/scratch/paul/lite/uclinux/install/arm-uclinuxeabi/bin
--with-build-time-tools=/scratch/paul/lite/uclinux/install/arm-uclinuxeabi/bin
Thread model: single
gcc version 4.2.1 (CodeSourcery Sourcery G++ Lite 2007q3-51)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.uclinux.org/pipermail/uclinux-dev/attachments/20071108/1ce07dbc/attachment.html


More information about the uClinux-dev mailing list