question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support libboost_<module>-mt-<arch>.a for mingw-w64

See original GitHub issue

Alas b2’s tagged layout now (I believe since boost 1.69, but not entirely sure) also includes the Windows-style x86 / x64 tags in their library naming when building for mingw-w64.

This means that dependencies/boost.py’s

# Note that we should also try to support:
# mingw-w64 / Windows : libboost_<module>-mt.a            (location = <prefix>/mingw64/lib/)
#                       libboost_<module>-mt.dll.a

is now insufficient, we have to check for libboost_<module>-mt-<arch>.a and libboost_<module>-mt-<arch>.dll.a.

I guess always checking both would be the most robust?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
mensindacommented, Oct 15, 2020

Really, only boost can get away with this ridiculus tag layout without any working dependency system…

@jpakkane This issue should not block the -rc[0-9]+ releases, but should be resolved before the final 0.56.0 release since I would classify this as a bug fix.

0reactions
fieshcommented, Oct 16, 2020

Ok, I’m sorry, that was my stupidity. It turns out I screwed up the meson update and was actually using an older version – and then was misled by the comments indicating an older check than what was actually done. Now updating meson properly resolves the issue.

I’m sorry about this!

Read more comments on GitHub >

github_iconTop Results From Across the Web

mingw-w64-x86_64-boost - MSYS2 Packages
Package: mingw-w64-x86_64-boost. Free peer-reviewed portable C++ source libraries (mingw-w64). Source Files · View Changes.
Read more >
How to build Boost with static ICU via Msys2 / mingw-w64 ...
I'm trying to build boost 1.80 on windows 10 with the icu provided with msys2 (my goal in particular is that boost locale...
Read more >
MinGW-w64 - for 32 and 64 bit Windows / Wiki2 / BuildingBoost
Building Boost with mingw-w64 ... This will create a directory C:\boost and build there. ... NOTE: for x64, some parts are not supported....
Read more >
AUR (en) - mingw-w64-boost - Arch Linux
This needs linkflags="-Wl,-O1,--sort-common,--as-needed -fstack-protector" \ similar to the other packages. And is everything within the package() function ...
Read more >
MinGW-w64
Mingw -w64 is an advancement of the original mingw.org project, created to support the GCC compiler on Windows systems. It has forked it...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found