This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Segmentation fault running xconfig am437x-evm

Hi All,

I'm having trouble modifying the kernel after installing the am437x-evm sdk, this is using ti-processor-sdk-linux-am437x-evm-01.00.00.03 though I have the same problem with 01.00.00.00 too. This is installed on Ubuntu 14.04.2 LTS

I installed in the following way. 

./ti-processor-sdk-linux-am437x-evm-01.00.00.03-Linux-x86-Install.bin

run ./setup.sh from ~/ti-processor-sdk-linux-am437x-evm-01.00.00.03

set export path to

export PATH=/home/inorman/ti-processor-sdk-linux-am437x-evm-01.00.00.03/linux-devkit/sysroots/i686-arago-linux/usr/bin:$PATH

then

cd ~/ti-processor-sdk-linux-am437x-evm-01.00.00.03/board-support/linux-3.14.43+gitAUTOINC+875c69b2c3-g875c69b/

make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- xconfig

I get the following

HOSTCC scripts/basic/fixdep

cc1: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.8/README.Bugs> for instructions.
make[1]: *** [scripts/basic/fixdep] Error 1
make: *** [scripts_basic] Error 2

I receive the same error with 

make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabihf- defconfig

or

make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabihf- menuconfig

Any advice appreciated.

Thanks

Ian

  • Hi Ian,

    I will forward this to the SW team.

  • Hi Ian,

    I tried the new sdk (ti-processor-sdk-linux-am437x-evm-01.00.00.03) on my side and menucofnig works fine. Bellow are the steps I took to run make menuconfig:

     x0155517@mms:~/ti-processor-sdk-linux-am437x-evm-01.00.00.03$ export ARCH=arm

     x0155517@mms:~/ti-processor-sdk-linux-am437x-evm-01.00.00.03$ export PATH=$PATH:/home/x0155517/ti-processor-sdk-linux-am437x-evm-01.00.00.03/linux-devkit/sysroots/i686-arago-linux/usr/bin/

     x0155517@mms:~/ti-processor-sdk-linux-am437x-evm-01.00.00.03$ export CROSS_COMPILE=arm-linux-gnueabihf-

     x0155517@mms:~/ti-processor-sdk-linux-am437x-evm-01.00.00.03$ cd board-support/linux-3.14.43+gitAUTOINC+875c69b2c3-g875c69b/

     x0155517@mms:~/ti-processor-sdk-linux-am437x-evm-01.00.00.03/board-support/linux-3.14.43+gitAUTOINC+875c69b2c3-g875c69b$ make distclean

     CLEAN   .

     CLEAN   .tmp_versions

     CLEAN   scripts/basic

     CLEAN   scripts/kconfig

     CLEAN   include/config include/generated arch/arm/include/generated

     CLEAN   .config .config.old include/generated/uapi/linux/version.h

    x0155517@mms:~/ti-processor-sdk-linux-am437x-evm-01.00.00.03/board-support/linux-3.14.43+gitAUTOINC+875c69b2c3-g875c69b$ make tisdk_am437x-evm_defconfig

     HOSTCC  scripts/basic/fixdep

     HOSTCC  scripts/kconfig/conf.o

     SHIPPED scripts/kconfig/zconf.tab.c

     SHIPPED scripts/kconfig/zconf.lex.c

     SHIPPED scripts/kconfig/zconf.hash.c

     HOSTCC  scripts/kconfig/zconf.tab.o

     HOSTLD  scripts/kconfig/conf

    #

    # configuration written to .config

    #

    x0155517@mms:~/ti-processor-sdk-linux-am437x-evm-01.00.00.03/board-support/linux-3.14.43+gitAUTOINC+875c69b2c3-g875c69b$ make menuconfig

     HOSTCC  scripts/kconfig/lxdialog/checklist.o

     HOSTCC  scripts/kconfig/lxdialog/inputbox.o

     HOSTCC  scripts/kconfig/lxdialog/menubox.o

     HOSTCC  scripts/kconfig/lxdialog/textbox.o

     HOSTCC  scripts/kconfig/lxdialog/util.o

     HOSTCC  scripts/kconfig/lxdialog/yesno.o

     HOSTCC  scripts/kconfig/mconf.o

     HOSTLD  scripts/kconfig/mconf

    scripts/kconfig/mconf Kconfig

    *** End of the configuration.

    *** Execute 'make' to start the build or try 'make help'.

    My host machine is running Ubuntu 12.04, but steps should be similar with Ubuntu 14.04. Make sure that you have all the required packages (beginning of setup.sh). Try running apt-get update & apt-get upgrade on your host.

    Best Regards,

    Yordan

  • Thanks for the suggestions Yordan,

    I followed your steps but get the same result as before

    inorman@ubuntu:~/ti-processor-sdk-linux-am437x-evm-01.00.00.03/board-support/linux-3.14.43+gitAUTOINC+875c69b2c3-g875c69b$ make tisdk_am437x-evm_defconfig

    HOSTCC scripts/basic/fixdep
    cc1: internal compiler error: Segmentation fault
    Please submit a full bug report,
    with preprocessed source if appropriate.
    See <file:///usr/share/doc/gcc-4.8/README.Bugs> for instructions.
    make[1]: *** [scripts/basic/fixdep] Error 1
    make: *** [scripts_basic] Error 2

    I checked the packages and all are present. Running apt-get update & apt-get upgrade installed several updates but the Segmentation fault remains.

    maybe I should try Ubuntu 12.04

    Thanks
    Ian