Bug 55370 - [4.8 Regression] Bad libgcc.map
Summary: [4.8 Regression] Bad libgcc.map
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: bootstrap (show other bugs)
Version: 4.8.0
: P3 normal
Target Milestone: 4.8.0
Assignee: Jakub Jelinek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-17 22:21 UTC by H.J. Lu
Modified: 2012-11-20 08:41 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed: 2012-11-19 00:00:00


Attachments
gcc48-pr55370.patch (254 bytes, patch)
2012-11-19 09:31 UTC, Jakub Jelinek
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description H.J. Lu 2012-11-17 22:21:41 UTC
On Linux/x86-64, I got

/usr/local/bin/ld: warning: wildcard match appears in both version 'GCC_3.0' and 'GCC_4.8.0' in script

libgcc.map has

GCC_3.0 {
  global:
...
  local:
        *;
};
...
GCC_4.8.0 {
  global:
        __cpu_model;
        __cpu_indicator_init;

  local:
        *;
};
Comment 1 Jakub Jelinek 2012-11-19 09:31:37 UTC
Created attachment 28729 [details]
gcc48-pr55370.patch

Untested fix.
Comment 2 Jakub Jelinek 2012-11-20 08:36:37 UTC
Author: jakub
Date: Tue Nov 20 08:36:31 2012
New Revision: 193648

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=193648
Log:
	PR bootstrap/55370
	* libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.

Modified:
    trunk/libgcc/ChangeLog
    trunk/libgcc/libgcc-std.ver.in
Comment 3 Jakub Jelinek 2012-11-20 08:41:54 UTC
Fixed.