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.

Why CCS stuck for 3 minutes during linking

Other Parts Discussed in Thread: CCSTUDIO

Hi,

I am building application in CCS 5.3 for C6678 EVM.  I notice that each time I build app the CCS is stucked during linking for 3-4 minutes.

The interesting point is that the .out file is created almost immediately (according to Modified date) and the CCS is srtuck for another 3 minutes.

For example:

Start linking time: 10:45

Out file created: 10:45

CCS finished building process: 10:48

In console tab I see:

Building target: shannon.out
Invoking: C6000 Linker

If I open progress tab then I see two progress bars:

Launching shannon
Launching: Build before launch - Scoped incremental build before launch... Invoking Command: /opt/ti53/ccsv5/utils/bin/gmake -k -j 8 all

Refreshing workspace (Blocked: The user operat... is waiting for background work to complete.)
Refreshing '/shannon'.

Could anyone explain why CCS is stuck for 3 minutes after creating .out file and how can I fix it.

Thanks

  • Hi Robert,

    Robert Smith said:
    Could anyone explain why CCS is stuck for 3 minutes after creating .out file and how can I fix it.

    Without more details about your project, it is hard to say what the issue is.

    Could you send a screenshot of the last output in the build console? I'm expecting to see the linker being invoked (with the rest of the linker build options) if that is where it is hanging.

    Thanks

    ki

  • Here is below linker output from console, but I doubt it might shed a light on that problem:

    Building target: shannon.out
    Invoking: C6000 Linker
    "/opt/ti53/TI_CGT_C6000_7.4.0/bin/cl6x" -mv6600 --abi=eabi -g --define=C6678_EVM_ETHERNET --define=CHIP_6678=1 --define=_DEBUG --define=C6X_PORT --define=V120_TA --define=C64_VoiceFLEX_PORT --define=SVC_STREAM_TRACE --define=USE_SMPDETECT --define=SMPDETECT_LEVEL=1 --define=C64_OPT --define=BACK_TO_BACK --define=SURF_VIDEO_SRTP_ENABLED --define=USE_ARP_PROTOCOL --display_error_number --diag_warning=225 -z -m"shannon.map" -i"/opt/ti53/TI_CGT_C6000_7.4.0/lib" -i"/opt/ti53/TI_CGT_C6000_7.4.0/include" --reread_libs --warn_sections --rom_model -o "shannon.out" -l"./configPkg/linker.cmd"  "./APR/Src/APR_VoiceConfig_ifc.obj" "./APR/Src/APR_VoiceConfigData.obj" "./APR/Src/APR_VoiceConfig.obj" "./APR/Src/APR_Vocoder.obj" "./APR/Src/APR_Rtp.obj" "./APR/Src/APR_Prompt.obj" "./APR/Src/APR_Pmd_Ifc.obj" "./APR/Src/APR_Ifc.obj" "./APR/Src/APR.obj" "./EthernetDrv/setupqm.obj" "./EthernetDrv/qmss_device.obj" "./EthernetDrv/pkttxrx.obj" "./EthernetDrv/osal.obj" "./EthernetDrv/memory.obj" "./EthernetDrv/expa.obj" "./EthernetDrv/ex1util.obj" "./EthernetDrv/cpsw_mgmt.obj" "./EthernetDrv/cppi_device.obj" "./PMD/Src/PmdDebug.obj" "./PMD/Src/Pmd.obj" "./PMD/Src/PMDIntObject.obj" "./PMD/Src/PMDInit.obj" "./PMD/Src/PMDExtObject.obj" "./RelPR/Src/RelPR.obj" "./SMPDetect/Src/SMPDetect.obj" "./SMPFlex/Source/smp_flex.obj" "./SMPFlex/Source/open_channel_demo.obj" "./SMPFlex/Source/open_channel_3.obj" "./SMPFlex/Source/open_channel_2.obj" "./SMPFlex/Source/G168_HybridData.obj" "./SMPFlex/Source/G168_Hybrid.obj" "./SMPFlex/Source/G168_Data.obj" "./SPRTCon/Src/SprtCon.obj" "./UDP_IP/Src/suUDPSocket.obj" "./UDP_IP/Src/suSocketsSA.obj" "./UDP_IP/Src/suSocketBuff.obj" "./UDP_IP/Src/suSocketAPI.obj" "./UDP_IP/Src/suPtrList.obj" "./UDP_IP/Src/suNeighborCache.obj" "./UDP_IP/Src/suInitGeneralBD.obj" "./UDP_IP/Src/suICMP.obj" "./UDP_IP/Src/suGeneralBD.obj" "./UDP_IP/Src/suARP.obj" "./UDP_IP/Src/internal_buffers.obj" "./UDP_IP/Src/inet.obj" "./UDP_IP/Src/icmp6.obj" "./UDP_IP/Src/external_buffers.obj" "./UDP_IP/Src/SocketQueue.obj" "./UDP_IP/ifc/udp_ip_ifc.obj" "./Utils/CPM/Src/cpm_iir_c6x.obj" "./Utils/EVD/Source/svc_windowed_goertzel.obj" "./Utils/EVD/Source/key_pad_t.obj" "./Utils/EVD/Source/evd_events_data.obj" "./Utils/EVD/Source/evd_blk_move.obj" "./Utils/EVD/Source/evd.obj" "./Utils/EVD/Source/dtmfdet.obj" "./Utils/EVD/Source/cid_message_octets_decode.obj" "./Utils/EVD/Source/cid_message_decode.obj" "./Utils/EVD/Source/cid_data_manipulate.obj" "./Utils/EVD/Source/cid_controller.obj" "./Utils/EVD/Source/cid_FSK_demodulation.obj" "./Utils/EVD/Source/EVD_UD_IFC.obj" "./Utils/EVD/Source/EVD_SD.obj" "./Utils/EVD/Source/EVD_RB.obj" "./Utils/EVD/Source/EVD_MODEM_event_data.obj" "./Utils/EVD/Source/EVD_MODEM_MF.obj" "./Utils/EVD/Source/EVD_MODEM.obj" "./Utils/EVD/Source/EVD_CPM_MF.obj" "./Utils/EVD/Source/EVD_CPM.obj" "./Utils/Math/stuff_byte.obj" "./Utils/Math/sqrt.obj" "./Utils/Math/pow.obj" "./Utils/Math/math96bit.obj" "./Utils/Math/cos_t.obj" "./Utils/Math/arctan.obj" "./Utils/Math/Log.obj" "./Utils/Math/Fdot2_fax.obj" "./Utils/Math/Fdot2.obj" "./Utils/MemoryManager/Utils_Memory_Manager.obj" "./Utils/Samp/pre_fil1.obj" "./Utils/Samp/modulate_N64.obj" "./Utils/Samp/modflt1.obj" "./Utils/Samp/equ_N64_fax.obj" "./Utils/Samp/demfilt.obj" "./Utils/Samp/V22_mod_int.obj" "./Utils/Samp/Rxsmpsym_N64_fax.obj" "./Utils/Samp/Rxsmpsym_N64.obj" "./Utils/Samp/Resample_fax.obj" "./Utils/Samp/Resample.obj" "./Utils/Samp/Pre_em.obj" "./Utils/Samp/Agc_fax.obj" "./Utils/Samp/Agc.obj" "./Utils/SingleToneGen/Src/SingleToneGen.obj" "./Utils/Td/TD.obj" "./Utils/audio_utils/AGC/Src/SVC_SQRT.obj" "./Utils/audio_utils/AGC/Src/SVC_AGC_RemoveDC.obj" "./Utils/audio_utils/AGC/Src/SVC_AGC_CalcEnergy.obj" "./Utils/audio_utils/AGC/Src/SVC_AGC.obj" "./Utils/audio_utils/RateConverter/src/polyphase_rc_filter_tables.obj" "./Utils/audio_utils/RateConverter/src/polyphase_rc.obj" "./Utils/diagnostic/diag.obj" "./Utils/discriminator/source/Discriminator.obj" "./Utils/fft/ft.obj" "./Utils/fft/conv.obj" "./Utils/g711/pcm_law_tbl.obj" "./Utils/g711/g711_voice_utils.obj" "./Utils/g711/g711_utils.obj" "./Utils/g711/G711_utils_opt.obj" "./Utils/general_lib/src/jl_version.obj" "./Utils/general_lib/src/jl_stdlib.obj" "./Utils/general_lib/src/jl_print.obj" "./Utils/general_lib/src/jl_file_op.obj" "./Utils/general_lib/src/jl_debug.obj" "./Utils/general_lib/src/jl_com.obj" "./Utils/general_lib/src/jl_bit_operations.obj" "./Utils/rate_conv/upfilt.obj" "./Utils/rate_conv/rateconv.obj" "./Utils/rate_conv/rate_converter_mode2_ASM.obj" "./Utils/tables/src/level_t.obj" "./Utils/tables/src/Kaiser_t.obj" "./Utils/video_toolbox/src/VTB_image_resizer.obj" "./Utils/video_toolbox/text_overlay/FRM/font_engines/iType/src/xmalloc.obj" "./Utils/video_toolbox/text_overlay/FRM/font_engines/iType/src/ttf_conv.obj" "./Utils/video_toolbox/text_overlay/FRM/font_engines/iType/src/ttf.obj" "./Utils/video_toolbox/text_overlay/FRM/font_engines/iType/src/tlist.obj" "./Utils/video_toolbox/text_overlay/FRM/font_engines/iType/src/tableptr.obj" "./Utils/video_toolbox/text_overlay/FRM/font_engines/iType/src/tablecmp.obj" "./Utils/video_toolbox/text_overlay/FRM/font_engines/iType/src/surf_funcs.obj" "./Utils/video_toolbox/text_overlay/FRM/font_engines/iType/src/stik.obj" "./Utils/video_toolbox/text_overlay/FRM/font_engines/iType/src/scale.obj" "./Utils/video_toolbox/text_overlay/FRM/font_engines/iType/src/sbit.obj" "./Utils/video_toolbox/text_overlay/FRM/font_engines/iType/src/radecomp.obj" "./Utils/video_toolbox/text_overlay/FRM/font_engines/iType/src/ra_ttf.obj" "./Utils/video_toolbox/text_overlay/FRM/font_engines/iType/src/pfr.obj" "./Utils/video_toolbox/text_overlay/FRM/font_engines/iType/src/outline.obj" "./Utils/video_toolbox/text_overlay/FRM/font_engines/iType/src/multi.obj" "./Utils/video_toolbox/text_overlay/FRM/font_engines/iType/src/line.obj" "./Utils/video_toolbox/text_overlay/FRM/font_engines/iType/src/kern.obj" "./Utils/video_toolbox/text_overlay/FRM/font_engines/iType/src/icon.obj" "./Utils/video_toolbox/text_overlay/FRM/font_engines/iType/src/graymap.obj" "./Utils/video_toolbox/text_overlay/FRM/font_engines/iType/src/fsglue.obj" "./Utils/video_toolbox/text_overlay/FRM/font_engines/iType/src/fontscal.obj" "./Utils/video_toolbox/text_overlay/FRM/font_engines/iType/src/font_engine_iType.obj" "./Utils/video_toolbox/text_overlay/FRM/font_engines/iType/src/fnt.obj" "./Utils/video_toolbox/text_overlay/FRM/font_engines/iType/src/fixed.obj" "./Utils/video_toolbox/text_overlay/FRM/font_engines/iType/src/fio.obj" "./Utils/video_toolbox/text_overlay/FRM/font_engines/iType/src/cmap.obj" "./Utils/video_toolbox/text_overlay/FRM/font_engines/iType/src/canon.obj" "./Utils/video_toolbox/text_overlay/FRM/font_engines/iType/src/cache.obj" "./Utils/video_toolbox/text_overlay/FRM/font_engines/iType/src/bitmap.obj" "./Utils/video_toolbox/text_overlay/FRM/font_engines/iType/src/bitio.obj" "./Utils/video_toolbox/text_overlay/FRM/font_engines/iType/src/autohint.obj" "./Utils/video_toolbox/text_overlay/FRM/font_engines/iType/src/api.obj" "./Utils/video_toolbox/text_overlay/FRM/font_engines/src/font_engine_ifc.obj" "./Utils/video_toolbox/text_overlay/FRM/src/default_font.obj" "./Utils/video_toolbox/text_overlay/FRM/src/FRM_ifc.obj" "./Utils/video_toolbox/text_overlay/FRM/src/FRM.obj" "./Utils/video_toolbox/text_overlay/SRM/src/SRM_ifc.obj" "./Utils/video_toolbox/text_overlay/SRM/src/SRM.obj" "./VMC_channel/Src/vmc_utils.obj" "./VMC_channel/Src/multi_socket.obj" "./VMC_channel/Src/VMC_remote.obj" "./VMC_channel/Src/VMC_memory.obj" "./VMC_channel/Src/VMC_ifc.obj" "./VMC_channel/Src/VMC_control_monitor.obj" "./VMC_channel/Src/VMC.obj" "./api/src/api_oob_voice.obj" "./api/src/api_oob.obj" "./api/src/api_internal.obj" "./api/src/api_general.obj" "./audio_channel/Src/audio_toolbox.obj" "./audio_channel/Src/audio_state_machine.obj" "./audio_channel/Src/audio_mem_mng.obj" "./audio_channel/Src/audio_channel.obj" "./audio_channel/Src/audio_api.obj" "./audio_channel/audio_codecs/L16/src/audio_l16_encoder_ifc.obj" "./audio_channel/audio_codecs/L16/src/audio_l16_decoder_ifc.obj" "./audio_channel/audio_codecs/Src/audio_codec.obj" "./audio_channel/audio_rfc/Src/audio_rfc_proto.obj" "./audio_channel/audio_rfc/Src/audio_rfc_3016_aac.obj" "./audio_channel/audio_transport/Src/audio_transport_RelPR.obj" "./audio_channel/audio_transport/Src/audio_transport_IP.obj" "./audio_channel/audio_transport/Src/audio_transport_H223.obj" "./audio_channel/audio_utils/Src/audio_queue.obj" "./c6x/src/resampling_ASM_fax.obj" "./c6x/src/resampling_ASM.obj" "./c6x/src/pricemat.obj" "./c6x/src/memcpy_C64_OPT.obj" "./c6x/src/lin2xlaw_ASM.obj" "./c6x/src/fircx2_INTR.obj" "./c6x/src/fir4.obj" "./c6x/src/dotprod.obj" "./c6x/src/divmod32.obj" "./c6x/src/blk_move.obj" "./c6x/src/Fircx2.obj" "./c6x/src/DSP_fir_gen.obj" "./conferencing_channel/Src/mcusession.obj" "./conferencing_channel/Src/conferencing_channel.obj" "./hardware/source/smp_hdim.obj" "./hardware/source/HW_C66xx_Support.obj" "./hdlc/src/strip_HDLC_ACCM_while_ASM.obj" "./modem_channel/Modem_data_pump/V32/P3/Data/v32_viterbi_decoder_ASM.obj" "./modem_channel/Modem_data_pump/pcm/dPCMuS/p3p4data/Rx/Sam2Sym/dPCMuS_RxDataLinearizer_ASM.obj" "./smp_framework/src/yuv_transport.obj" "./smp_framework/src/yuv_local_transport.obj" "./smp_framework/src/smp_func.obj" "./smp_framework/src/smp_ctrl.obj" "./smp_framework/src/smp_channel.obj" "./smp_framework/src/shared_memory.obj" "./smp_framework/src/ntp_wall_clock.obj" "./smp_framework/src/multi_core.obj" "./smp_framework/src/async_shared_memory.obj" "./smp_framework/src/asm_internal.obj" "./smp_framework/src/Scheduler.obj" "./smp_framework/src/SMP_MemoryManager.obj" "./video_channel/Src/video_transport_RelPR.obj" "./video_channel/Src/video_transport_IP.obj" "./video_channel/Src/video_transport_H223.obj" "./video_channel/Src/video_transport_File.obj" "./video_channel/Src/video_toolbox.obj" "./video_channel/Src/video_surflogo.obj" "./video_channel/Src/video_mixer.obj" "./video_channel/Src/video_control_monitor.obj" "./video_channel/Src/video_channel.obj" "./video_channel/Src/ResizeYUVFrame_decrease.obj" "./video_channel/video_JB/Src/video_JB.obj" "./video_channel/video_codecs/Src/video_codec_utils.obj" "./video_channel/video_codecs/Src/video_codec_multicore.obj" "./video_channel/video_codecs/Src/video_codec.obj" "./video_channel/video_codecs/Src/edma_config.obj" "./video_channel/video_codecs/TI_H263/Src/video_codec_TI_H263_enc.obj" "./video_channel/video_codecs/TI_H263/Src/video_codec_TI_H263_dec.obj" "./video_channel/video_codecs/TI_H264/Src/video_codec_TI_H264_mp_dec.obj" "./video_channel/video_codecs/TI_H264/Src/video_codec_TI_H264_hp_dec.obj" "./video_channel/video_codecs/TI_H264/Src/video_codec_TI_H264_BP_enc.obj" "./video_channel/video_memory_manager/Src/video_memory_manager_ifc.obj" "./video_channel/video_network_smooth/Src/video_network_smooth.obj" "./video_channel/video_rfc/Src/video_rfc_rfc3984.obj" "./video_channel/video_rfc/Src/video_rfc_rfc2429.obj" "./video_channel/video_rfc/Src/video_rfc_rfc2190.obj" "./video_channel/video_rfc/Src/video_rfc_proto.obj" "./video_channel/video_utils/Src/video_utils_bitrate.obj" "./video_channel/video_utils/Src/video_utils.obj" "./voiceFlex/EVG/src/svc_evg_tab.obj" "./voiceFlex/EVG/src/svc_evg_singleevent.obj" "./voiceFlex/EVG/src/svc_evg_netevents.obj" "./voiceFlex/EVG/src/svc_evg_hostevents.obj" "./voiceFlex/EVG/src/svc_evg.obj" "./voiceFlex/EVG/src/svc_cidgen_main.obj" "./voiceFlex/EVG/src/svc_cidgen_functions.obj" "./voiceFlex/EVG/src/svc_cidgen_datalink.obj" "./voiceFlex/EVG/src/svc_cidgen_createmessage.obj" "./voiceFlex/G168/C64_ASM/G168_ec_section_filter_C64_ASM.obj" "./voiceFlex/G168/C64_ASM/G168_ec_section_NLMS_step_C64_ASM.obj" "./voiceFlex/G168/C64_ASM/G168_ec_NLP_dtd_rin_C64_ASM.obj" "./voiceFlex/G168/C64_ASM/G168_ec_NLMS_internal_part_ASM.obj" "./voiceFlex/IUUP/src/IUUP_ifc.obj" "./voiceFlex/IUUP/src/IUUP_TX.obj" "./voiceFlex/IUUP/src/IUUP_RX.obj" "./voiceFlex/SRTP/src/SVC_SRTP_utils.obj" "./voiceFlex/SRTP/src/SVC_SRTP_svcprint.obj" "./voiceFlex/SST/src/timescaler.obj" "./voiceFlex/SVC_JB/Source/svc_jb_wf.obj" "./voiceFlex/SVC_JB/Source/svc_jb_s_adap.obj" "./voiceFlex/SVC_JB/Source/svc_jb_l_adap.obj" "./voiceFlex/SVC_JB/Source/svc_jb_celp.obj" "./voiceFlex/SVC_JB/Source/svc_jb_adap_ifc.obj" "./voiceFlex/SVC_JB/Source/JB.obj" "./voiceFlex/TI_EC/Src/pcm_expand.obj" "./voiceFlex/Vocoders/FLEX1/Src/FLEX1_ifc.obj" "./voiceFlex/Vocoders/FLEX1/Src/FLEX1_cod_ifc.obj" "./voiceFlex/Vocoders/FLEX1/Src/FLEX1_Dec_ifc.obj" "./voiceFlex/Vocoders/FLEX2/Src/FLEX2_ifc.obj" "./voiceFlex/Vocoders/FLEX2/Src/FLEX2_cod_ifc.obj" "./voiceFlex/Vocoders/FLEX2/Src/FLEX2_Dec_ifc.obj" "./voiceFlex/Vocoders/FLEX3/Src/FLEX3_ifc.obj" "./voiceFlex/Vocoders/FLEX3/Src/FLEX3_cod_ifc.obj" "./voiceFlex/Vocoders/FLEX3/Src/FLEX3_Dec_ifc.obj" "./voiceFlex/Vocoders/FLEX4/Src/FLEX4_ifc.obj" "./voiceFlex/Vocoders/FLEX4/Src/FLEX4_cod_ifc.obj" "./voiceFlex/Vocoders/FLEX4/Src/FLEX4_Dec_ifc.obj" "./voiceFlex/Vocoders/FLEX5/Src/FLEX5_ifc.obj" "./voiceFlex/Vocoders/FLEX5/Src/FLEX5_cod_ifc.obj" "./voiceFlex/Vocoders/FLEX5/Src/FLEX5_Dec_ifc.obj" "./voiceFlex/Vocoders/G7221/src/G7221_ifc.obj" "./voiceFlex/Vocoders/G7221/src/G7221_dec_ifc.obj" "./voiceFlex/Vocoders/G7221/src/G7221_cod_ifc.obj" "./voiceFlex/Vocoders/VOX/Src/VOX_ifc.obj" "./voiceFlex/Vocoders/VOX/Src/VOX_cod_ifc.obj" "./voiceFlex/Vocoders/VOX/Src/VOX_Dec_ifc.obj" "./voiceFlex/services/C64_ASM/svc_IIR_sec_ord_C64_ASM.obj" "./voiceFlex/services/C64_ASM/SvcVcpZeroize_C64_ASM.obj" "./voiceFlex/services/C64_ASM/SvcVcpMultVec32x32_C64_ASM.obj" "./voiceFlex/services/C64_ASM/SvcVcpFirMult32_C64_ASM.obj" "./voiceFlex/services/src/svctrace.obj" "./voiceFlex/services/src/svcprofile.obj" "./voiceFlex/services/src/svcprint.obj" "./voiceFlex/services/src/svc_arithmetic.obj" "./voiceFlex/services/src/SVC_general.obj" "./voiceFlex/svc_vcp/C64_ASM/mul_pwr_a0b0s00_c6x.obj" "./voiceFlex/svc_vcp/C64_ASM/integ_pwr_s0_c6x.obj" "./voiceFlex/svc_vcp/C64_ASM/chebps_c6x_ASM.obj" "./voiceFlex/svc_vcp/C64_ASM/SvcVcpAutocorr_C64.obj" "./voiceFlex/svc_vcp/Source/vcp_vad_tab.obj" "./voiceFlex/svc_vcp/Source/vcp_vad_light.obj" "./voiceFlex/svc_vcp/Source/vcp_vad.obj" "./voiceFlex/svc_vcp/Source/vcp_qsidgain.obj" "./voiceFlex/svc_vcp/Source/vcp_plc_opt.obj" "./voiceFlex/svc_vcp/Source/vcp_plc_intern.obj" "./voiceFlex/svc_vcp/Source/vcp_plc.obj" "./voiceFlex/svc_vcp/Source/vcp_encoder.obj" "./voiceFlex/svc_vcp/Source/vcp_decoder.obj" "./voiceFlex/svc_vcp/Source/vcp_coefconvert.obj" "./voiceFlex/svc_vcp/Source/vcp_cng_decoder.obj" "./voiceFlex/voiceCore/src/voice_ifc.obj" "./voiceFlex/voiceCore/src/voice.obj" "./voiceFlex/voiceCore/src/vocoder.obj" "./voiceFlex/voiceCore/src/rtp.obj" "./voiceFlex/voiceCore/src/rtcp.obj" "./voiceFlex/voiceCore/src/leftover_buff.obj" "./voiceFlex/voiceCore/src/controller_util.obj" "./voiceFlex/voiceCore/src/SVC_output_dest.obj" "./voiceFlex/voiceCore/src/SVC_mem_mng.obj" "./voiceFlex/voiceCore/src/SVC_gain.obj" "./voiceFlex/voiceCore/src/SVC_control_monitor.obj" "./voiceFlex/voiceCore/src/SVC_config.obj" "./voiceFlex/voiceCore/src/SVC_ToneRelay.obj" "./voiceFlex/voiceCore/src/SVC_TX_Delay.obj" "./voiceFlex/voiceCore/src/SVC_Rate_Converters.obj" "./voiceFlex/voiceCore/src/SVC_P2P_no_trans.obj" "./voiceFlex/voiceCore/src/SVC_CPA.obj" "./voiceFlex/voiceCore/src/SVC_APR.obj" "./voiceFlex/voiceCore/src/SVC_API.obj" "./surf_main.obj" "./main.obj" -l"libc.a" "../lnk.cmd"
    <Linking>
    Finished building target: shannon.out
     

    **** Build Finished ****

  • Robert Smith said:
    <Linking>
    Finished building target: shannon.out
     

    **** Build Finished ****

    The link is successful. The build finished successfully. Most likely the hang is starting a debug session. I assume you are using the 'Debug As' button to do a build and debug launch all in one shot.

    A debug launch can take some time, especially for large multi-core targets like a C6678. And if you have a slower emulator (like XDS100), that can add additional time. But 3 minutes still sounds quite a long time. What emulator are you using? Could you also try launching the debugger manually (see 'launch TI Debugger' in this wiki topic: http://processors.wiki.ti.com/index.php/Starting_CCSv5_Debugger)? Thanks.

    ki

  • Well, the very same problem exists even if I simply build the project without debugging.

    Yes I use slow XDS100 emulator, but I doubt it has any connection to this problem.

    Thanks

  • Yes, I agree. 3 minutes i way too long unless you are using a really slow PC.

    Could you turn on Debug Server Logging and then restart the debug session? That should generate a diagnostic logs where we can see what exactly is taking so long. This logging is not enabled by default so you have to explicitly enable it:

    http://processors.wiki.ti.com/index.php/Troubleshooting_CCSv5#Information_for_Support

    The log can be big so please zip it up and then attach to this thread.

    Thanks

    ki

  • Please see attached log file.

    Also I recorded screen during build of my project and uploaded it to youtube: http://youtu.be/CWJk15iSa0w

    You will see in the recorded clip that project building started at 6:13 PM, then in the File Manager at the right you will see that shannon.out file created almost immidiately at 6:13 PM as well, but CCS is stuck for another 2 minutes or so. Also keep in mind I simply build the project, no debuging there.

    Thanks

    7848.ServerDebug.log.rar

  • Thanks for uploading the video. It was very helpful. And something is definitely strange. Could you try building without the parallel build option enabled? I noticed that it is defined twice actually (one with 5 and one with 8). Just curious if that is causing a problem.

    Thanks

    ki

  • Yes, this was typo error. Changed to : ${CCS_UTILS_DIR}/bin/gmake -k -j 8

    But the original problem still persists.

  • Please remove the -j 8 completely. Just curious to see the impact.

  • After disabling parallel build, the problem still persists.

  • Any new ideas regarding this problem?

  • Robert, sorry for the long delay. There have been some other reported cases of long link times which may be related to yours.

    From your video I can see that you are using Linux. What flavor of Linux are you running? and please specify if it is 32-bit or 64-bit

  • Ubuntu 12.04, 32-bit

  • Drat. The long link issue I was referring to was specific to 64-bit.

    Could you try building from the command line to see what happens:

    http://processors.wiki.ti.com/index.php/Projects_-_Command_Line_Build/Create

    In the meantime we are looking into some other options.

  • Would it be possible to send a reproducible test case project? We don't need the exact project, but just something that will also exhibit a long link time.

    If this is not possible, then there is a way to capture the stack-trace at any point in time:
    1.    Start CCS from command line through ‘eclipse > out.txt’
    2.    Then, when the “hang” happens, press Ctrl+Break a few times, with some delay in between – each time you press it, a full stack-trace for all the threads gets captured in the out.txt file.
    3.    Then send us the out.txt file by zipping it and attaching it to this thread

    Thanks

    ki

  • I've tried to build the project from command line as follows and I still experienced the very same delay during linking stage.

    sudo /opt/ti53/ccsv5/eclipse/eclipse –noSplash -data "/home/path/to/workspace" -application com.ti.ccstudio.apps.projectBuild -ccs.projects shannon -ccs.buildType incremental -ccs.configuration Debug

    I also tried to generate out.log file as you suggested : sudo /opt/ti53/ccsv5/eclipse/eclipse > out.txt

    The out.txt file was created but despite numerous pressing Ctrl+Break combination remained 0 bytes.

    Please advise how to generate out.txt file.

    Thank you