Menu

#1064 Linker execution fails in 20.03 with long command line

Undefined
duplicate
None
Undefined
2021-03-16
2021-02-15
No

Project compiles and links with older versions of CB but fails with 20.03 at the link stage, with a very long linker command line. Message is:
Execution of 'g++ -o bin\Release\test.exe .... (~26k characters of object file names) -mwindows' failed

Details:
Windows 10.
Msys2/mingw64 with gcc 10.2.
* CB 20.03 nosetup version.

  • Tested with multiple versions of msys2/mingW with same error.
  • Project builds and links with older CB (e.g. 10.05!).
  • Simple projects build and link fine, suggesting that maybe the long linker command is the problem?

Discussion

  • Teodor Petrov

    Teodor Petrov - 2021-02-16

    See [#953] . It implemented a response file support, which should fix this issue. For this you'll need to install a night build.

     

    Related

    Tickets: #953

    • Stuart Allie

      Stuart Allie - 2021-02-16

      Thank you - I'll give the nightly build a go.

       
  • Teodor Petrov

    Teodor Petrov - 2021-03-16
    • status: open --> duplicate
    • assigned_to: Teodor Petrov
     
  • Teodor Petrov

    Teodor Petrov - 2021-03-16

    Closing this for now. If it doesn't work with a night build please re-open this.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.