You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[build] mold: error: /mydirectory/libflat_combine.a(flat_combine.cpp.o):(.debug_loc): VTT for mynamespace::concurrent::FlatCombineFinishedException refers to a discarded COMDAT section probably due to an ODR violation
I'm not seeing this if I link with ld, gold, or lld. I can't seem to figure out how to make a small reproducer. There is nothing unusual about the code that I can see and VTT isn't finding any hits in this repository.
I don't know if it would make the difference, but the library is compiled with gcc and the executable is compiled with clang. If both are compiled with gcc it works as expected. I'm seeing this with both the latest mold and version 2.4. Any help is appreciated.
The text was updated successfully, but these errors were encountered:
Hi, I'm getting an error for
[build] mold: error: /mydirectory/libflat_combine.a(flat_combine.cpp.o):(.debug_loc): VTT for mynamespace::concurrent::FlatCombineFinishedException refers to a discarded COMDAT section probably due to an ODR violation
I'm not seeing this if I link with ld, gold, or lld. I can't seem to figure out how to make a small reproducer. There is nothing unusual about the code that I can see and VTT isn't finding any hits in this repository.
I don't know if it would make the difference, but the library is compiled with gcc and the executable is compiled with clang. If both are compiled with gcc it works as expected. I'm seeing this with both the latest mold and version 2.4. Any help is appreciated.
The text was updated successfully, but these errors were encountered: