Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

breaking change with rsp file when migrating from boost 1.78 to boost 1.83 under windows/mingw64 #768

Closed
rlepere opened this issue Nov 7, 2023 · 1 comment
Labels
bug transition Transition to bfgroup/b2

Comments

@rlepere
Copy link

rlepere commented Nov 7, 2023

Hello,

I am migrating my application from boost-1.78 (b2 4.7-git) to boost-1.83 (b2 4.10-git). I am using boost build and bjam as a build tool for my application.

I am using g++ compiler (11.3) under windows environment, everything was working correctly under the old version of boost-build but I am having a problem with the new one.

It is related to the linker pass where a response file .rsp file is used because the line can be very long.

In previous version, the linker line generated was something like :
g++ -L"c:\external\boost_1_78_0" @toto.rsp

now the line is
g++ @toto.rsp

and the first line of the response file is -L"c:\external\boost_1_78_0"
This leads to problems because g++ does not find libs correctly. The first line of the response file should be either
-L"c:\external\boost_1_78_0"
or
-L"c:/external/boost_1_78_0"
so that g++ can find correctly the libs.

What could I do to fix the problem ? Is this a bug ?

Best regards,

Renaud Lepère

@rlepere rlepere added the bug label Nov 7, 2023
Copy link
Contributor

github-actions bot commented Nov 7, 2023

Thank you for your contributions. Main development of B2 has moved to https://github.com/bfgroup/b2 Please consider following up at https://github.com/bfgroup/b2/issues

@github-actions github-actions bot added the transition Transition to bfgroup/b2 label Nov 7, 2023
@github-actions github-actions bot closed this as completed Nov 7, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Nov 7, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug transition Transition to bfgroup/b2
Projects
None yet
Development

No branches or pull requests

1 participant