On 21/06/18 21:39 +0100, Jonathan Wakely wrote:
Apparently we never updated the x86_64-linux-gnu baseline for gcc-8 (so now that I'm trying to add a new symbol version on trunk, I'm seeing errors for the get_entropy symbol added in the previous symbol version).
The baseline should have been updated after I fixed PR 81092, which added a new symbol version and exported some new symbols for 32-bit targets with that version. Because there were no new exports for x86_64-linux-gnu the baseline file didn't need to be updated. But it should have been anyway just to add the new GLIBCXX_3.4.24 version (even though for x86_64-linux-gnu there are no symbols with that version).
Tested x86_64-linux, committed to gcc-8-branch.
I'll commit the same patch to trunk (which currently has identical exports to gcc-8-branch). Here's the equivalent patch for gcc-7-branch.
commit eb9563208102a79d5e8f3f26c5356187a941ea53 Author: Jonathan Wakely <jwak...@redhat.com> Date: Thu Jun 21 21:49:13 2018 +0100 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Update. diff --git a/libstdc++-v3/config/abi/post/x86_64-linux-gnu/baseline_symbols.txt b/libstdc++-v3/config/abi/post/x86_64-linux-gnu/baseline_symbols.txt index a31597e906f..06c61236f34 100644 --- a/libstdc++-v3/config/abi/post/x86_64-linux-gnu/baseline_symbols.txt +++ b/libstdc++-v3/config/abi/post/x86_64-linux-gnu/baseline_symbols.txt @@ -4004,6 +4004,7 @@ OBJECT:0:GLIBCXX_3.4.20 OBJECT:0:GLIBCXX_3.4.21 OBJECT:0:GLIBCXX_3.4.22 OBJECT:0:GLIBCXX_3.4.23 +OBJECT:0:GLIBCXX_3.4.24 OBJECT:0:GLIBCXX_3.4.3 OBJECT:0:GLIBCXX_3.4.4 OBJECT:0:GLIBCXX_3.4.5