Bug 214796 - Duplicate symbols in libstdc++ symbol version script
Summary: Duplicate symbols in libstdc++ symbol version script
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: gnu (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: Ed Maste
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-24 01:58 UTC by Ed Maste
Modified: 2017-06-26 02:00 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Maste freebsd_committer freebsd_triage 2016-11-24 01:58:17 UTC
Three symbols are listed twice in libstdc++'s version script, in GLIBCXX_3.4 and GLIBCXX_3.4.5 (first two) and GLIBCXX_3.4.6 (third one).

_ZNKSs11_M_disjunctEPKc
_ZNKSbIwSt11char_traitsIwESaIwEE11_M_disjunctEPKw
_ZNKSt15basic_stringbufIwSt11char_traitsIwESaIwEE3strEv
Comment 1 Ed Maste freebsd_committer freebsd_triage 2017-06-26 02:00:29 UTC
Committed in r317159

https://reviews.freebsd.org/D10428
https://reviews.freebsd.org/rS317159

MFC'd to stable/11 in r318510, stable/10 in r320346
Comment 2 commit-hook freebsd_committer freebsd_triage 2017-06-26 02:00:38 UTC
A commit references this bug:

Author: emaste
Date: Mon Jun 26 02:00:22 UTC 2017
New revision: 320346
URL: https://svnweb.freebsd.org/changeset/base/320346

Log:
  MFC r317159: libstdc++: fix symbol version script for LLD

  LLD is less tolerant of inconsistencies in the symbol version script.

  - Add a ; on the last entry in a version block
  - Remove duplicated symbols, retaining those in the earliest block

  PR:		214796
  Sponsored by:	The FreeBSD Foundation

Changes:
_U  stable/10/
  stable/10/contrib/libstdc++/config/abi/pre/gnu.ver