PIC32MK1024MCM100 Linker Bug?

Sysprogs forums Forums VisualGDB PIC32MK1024MCM100 Linker Bug?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #35008
    TimS
    Participant

    Hi,

    I installed the visualgdb plugin for development with my PIC32MK1024MCM100. When I create a new project with this chip, it tries to compile and link a test project, which fails to link. This is the output:

    Run “C:\Program Files\Microchip\xc32\v4.10\bin\xc32-gcc.exe -Wl,–start-group “C:\Users\tSch\AppData\Local\Temp\/VisualGDB_TrivialProgram.o” -o “C:\Users\tSch\AppData\Local\Temp\/VisualGDB_TrivialProgram.bin” -Wl,-gc-sections -Wl,–no-code-in-dinit -Wl,–no-dinit-in-serial-mem -legacy-libc -fno-common -mdfp=”C:/Users/tSch/AppData/Local/VisualGDB/EmbeddedBSPs/pic32/com.sysprogs.pic32.pic32mk-mc_dfp” -mprocessor=32MK1024MCM100 -Wl,–end-group” in directory “” on local computer
    ————————–
    cc1.exe: fatal error: opening output file p32MK1024MCM100.00001c34.00: Permission denied
    compilation terminated.
    c:\program files\microchip\xc32\v4.10\bin\bin\gcc\pic32mx\8.3.1\..\..\..\..\bin/pic32m-ld.exe: cannot open linker script file p32MK1024MCM100.00001c34.00: No such file or directory

    Info: Loading file: ./C:/Users/tSch/AppData/Local/VisualGDB/EmbeddedBSPs/pic32/com.sysprogs.pic32.pic32mk-mc_dfp/xc32/32MK1024MCM100/p32MK1024MCM100.ld
    collect2.exe: error: ld returned 255 exit status
    ————————–
    Command exited with code 255

    —– contents of —–

    <hr />

    Is this a bug?

    • This topic was modified 1 year ago by TimS.
    #35020
    support
    Keymaster

    Hi,

    This indeed looks like a bug of the pic32 compiler. Please try running gcc manually using the command line shown in the error message. If it still fails, please consider reporting it to Microchip.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.