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.

CCS 5.5 gmake loop error when Windows XP "Automatic adjust clock for daylight saving changes" selected

Today when trying to use 5.5.0.00077 with SYS/BIOS 6.35.4.50 and XDCtools 3.25.3.72 to perform a clean re-build of a SYS/BIOS project for a Tiva LM4F device the build would fail to complete, which had previously successfully built. The CCS build console reported continuous attempts to build the same pagkage. e.g.

making package.mak (because of .xdcenv.mak) ...
making package.mak (because of .xdcenv.mak) ...
making package.mak (because of .xdcenv.mak) ...
making package.mak (because of .xdcenv.mak) ...

Windows task manager showed the CCS build kept creating gmake sub-processes.

The same build failure occurred when a new SYS/BIOS project was created.

Found this old thread code composer 3.3 - gmake loop error which reported similar symptoms, albeit with Code Composer 3.3 rather than CCS 5.5. The problem in that thread was solved by changing the date time setting of the OS.

In my case was running Windows XP SP3 and the date/time is correct for local time. The time zone on the PC is "GMT Standard Time", and "Automatic adjust clock for daylight saving changes" was selected in Windows. 

I have found the following is repeatable on this PC:

a) Disable the Windows XP "Automatic adjust clock for daylight saving changes" and a re-build of a SYS/BIOS project completes

b) Select the Windows XP "Automatic adjust clock for daylight saving changes" and a re-build of a SYS/BIOS project fails to complete, with gmake sub-processes repeatedly getting created.

Not sure if the problem is with Windows XP or the check of file date/time by the CCS gmake.

[The local time went backwards by one hour last night at the end of summer time - which might have caused a date/time comparison issue somewhere]

  • Hi,

    I am unable to reproduce the problem.  I don't see any "making package.mak ...."

    Could you try attaching the project?

    Judah

  • judahvang said:
    I am unable to reproduce the problem.  I don't see any "making package.mak ...."

    Could you try attaching the project?

    Thanks for investigating.

    When I had this problem two days ago the failure was occurring on any SYS/BIOS project tried (all using Tiva LM4F devices). The problem first occurred on existing projects and a then on newly created project containing just the SYS/BIOS "Minimal" project template.

    However, having just attempted to recreate the problem on the original PC and original projects the problem is no longer occurring. A project re-build was performed with and without "Automatic adjust clock for daylight saving changes" selected and now always completes.

    As the problem has "gone away" will mark this thread as answered.

  • Chester Gillon said:
    As the problem has "gone away" will mark this thread as answered.

    On further investigation by changing the date on the PC have managed to re-create the problem. The sequence was:

    1) In CCS 5.5 create a SYS/BIOS project for a LM4F120H5QR using just the "Minimal" template.

    2) On Windows XP set the Time Zone to "(GMT) Greenwich Mean Time: Dublin, Edinburgh, Lisbon, London" and select "Automatically adjust clock for daylight saving changes". Set the PC date to 26 October 2013 which is "Current time zone: GMT Daylight Time". The time was around 21:20

    3) Rebuild the project in CCS, which builds succesfully.

    4) Change the PC date to 27 October 2013 which is "Current time zone: GMT Standard Time". Attempt to rebuild the project in CCS. The build gets stuck with the build console continuously reporting "making package.mak (because of .xdcenv.mak)". Windows Processor Explorer shows the gmake program repeatidly spawning another gmake process. Screen capture at this point:

    5) While the CCS build is still stuck advance the date to the next day 28 October 2018. At the point the PC date is changed the CCS build then runs to completion.

    Therefore, it looks like the problem occurs on the day at which the time zone changes from "Daylight Time" to "Standard Time". Will attempt to repeat on some other PCs.

  • Attached is a project which has repeated the failure on two different Windows XP SP3 PCs, as per the previous post.5483.dsp_test.zip

  • Can you try removing the ./src and ./Debug directory to see if it made any difference?

    I couldn't reproduce exactly what you saw however I did run into something else when I change the date back to the original date that you had suggested.  I got into a build loop where the .cfg file keeps getting build over and over again.
    This was a problem because there are some source files that are listed in the future.  When I touched all files, it built correctly for me.  When I tried changing the date as you specified I didn't see the same problem.

    Judah

  • judahvang said:
    Can you try removing the ./src and ./Debug directory to see if it made any difference?

    I deleted the ./src and ./Debug directories, set the PC date back to 27th October 2013 and started a re-build. The build got hung continuously reporting "making package.mak (because of .xdcenv.mak) ..." as before. The PC date was then set to current date (5th November) and the build then completed.

    i.e. deleting the ./src and ./Debug directories before starting the rebuild hasn't made a difference.

    As this is a repeatible problem for my environment, will attempt to try and find why gmake gets stuck spawning gmake subprocesses.

    [Also, in the thread Error: xdc.tools.configuro someone else had a similar problem with the build reporting repeated "making package.mak" on the day when they switched back from daylight savings time in the Pacific Time Zone. They also had the problem on Windows XP SP3]

  • After you do a clean and change the date.  Try touching the files:  .ccsproject, .cproject, .project located at the top level of your project directories.  Then try a rebuild.

    There's definitely something with the date of the files being in the future with respect to the date of the PC.  The workaround is make sure all files of the project need to be dated correctly.

  • judahvang said:
    After you do a clean and change the date.  Try touching the files:  .ccsproject, .cproject, .project located at the top level of your project directories.  Then try a rebuild.

    There's definitely something with the date of the files being in the future with respect to the date of the PC.

    Changing the date of the PC backwards while CCS was running was an attempt to investigate, but made it confusing to see what was happening. A different test was performed more representative of the original failure:

    1) Set PC date to 26 October 2013 enable "Automatically adjust clock for daylight saving changes". Current time zone: GMT Daylight Time

    2) Start CCS 5.5. Create a new workspace. Create a new SYS/BIOS 6.35.4.50 project for a LM4F120H5QR using the "Typical" example. Project builds successfully. Close CCS 5.5

    6406.workspace_v5_5_daylight_savings_26_Oct.zip contains the workspace and the built project sys_bios_example at this point

    3) Change PC date to 27 october 2013. Current time zone: GMT Standard Time

    Attempt to re-build the  sys_bios_example which fails to build. The last part of the CCS build console output:

    making package.mak (because of .xdcenv.mak) ...
    making package.mak (because of .xdcenv.mak) ...
    making package.mak (because of .xdcenv.mak) ...
    making package.mak (because of .xdcenv.mak) ...
    making package.mak (because of .xdcenv.mak) ...
    making package.mak (because of .xdcenv.mak) ...
    making package.mak (because of .xdcenv.mak) ...
    making package.mak (because of .xdcenv.mak) ...
    C:/ti_ccs5_5/xdctools_3_25_03_72/packages/xdc/bld/xdc_rules.mak:307: *** Error: Specified build configuration file '' is not found.  Stop.
    js: "C:/ti_ccs5_5/xdctools_3_25_03_72/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
    gmake: *** [configPkg/linker.cmd] Error 1
    gmake: Target `all' not remade because of errors.

    **** Build Finished ****

    PC time when failed was 27 October 2013, 12:15

    The .cproject, .ccsproject and .project were dated 26 October 2013, 10:46. i.e. in the past

    Close CCS 5.5. 6840.workspace_v5_5_daylight_savings_27_Oct.zip contains the workspace and the built project sys_bios_example following the re-build failure

    4) Change PC date to 28 october 2013. Current time zone: GMT Standard Time

    Start CCS 5.5 and successfully build the project.

    5756.workspace_v5_5_daylight_savings_28_Oct.zip contains the workspace and the built project sys_bios_example at this point

     

    i.e. with this test can't see any project files with a date in the futrue with repect to the date of the PC.