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.

armasm experienced a segmentation fault while processing section .text

Trying to build the UART DMA library from PDK  ( v ti-processor-sdk-rtos-j721e-evm-07_03_00_07) using toolchain ti-cgt-arm_20.2.4.LTS

armasm throws unexpected segmentation fault

Command below (file is unchanged) :

Building C object src/pdk/packages/ti/drv/uart/CMakeFiles/ti.drv.uart.dma.dir/soc/j721e/UART_soc.c.obj
cd /home/uie55537/ADC500_SW/ti_sdk_adc5/conan_workarea/build.ti_sdk_adc5.generic.0.0.0-fallback.linux64_ti_cortex_r5f/cip_build/src/pdk/packages/ti/drv/uart &&

/opt/ti-cgt-arm_20.2.4.LTS/bin/armcl --compile_only --c_file=/home/uie55537/ADC500_SW/ti_sdk_adc5/src/pdk/packages/ti/drv/uart/soc/j721e/UART_soc.c

-DBUILD_MCU -DBUILD_MCU1_0 -DSOC_J721E -DUART_DMA_ENABLE

--include_path=/home/uie55537/ADC500_SW/ti_sdk_adc5/src/pdk/packages --include_path=/home/uie55537/ADC500_SW/ti_sdk_adc5/src/pdk/packages/ti/drv/uart/src --include_path=/home/uie55537/ADC500_SW/ti_sdk_adc5/src/pdk/packages/ti/drv/uart/src/v1 --include_path=/home/uie55537/ADC500_SW/ti_sdk_adc5/src/pdk/packages/ti/drv/uart/soc --include_path=/opt/ti-cgt-arm_20.2.4.LTS/include --diag_wrap=off --diag_warning=225 --display_error_number --opt_level=2 --auto_inline=10 --single_inline --gen_opt_info=2 --optimizer_interlist -mv7R5 --float_support=vfpv3d16 --abi=eabi --endian=little --optimize_with_debug=on --symdebug:skeletal --gen_func_subsections=off --sat_reassoc=off --fp_reassoc=off --remove_hooks_when_inlining --fp_mode=relaxed --c_src_interlist --advice:performance_file=performance_advice.txt --advice:performance=all --define=SUBSYS_MSS --gcc --small_enum -I/opt/ti-cgt-arm_20.2.4.LTS/include -DNDEBUG --output_file=CMakeFiles/ti.drv.uart.dma.dir/soc/j721e/UART_soc.c.obj

 

Error:

INTERNAL ERROR: /opt/ti-cgt-arm_20.2.4.LTS/bin/armasm experienced a segmentation fault
while processing section .text file UART_v1.asm line 7228