Overview
| Artifact ID: | 23d132498d56d3f8f9766a386f71bc3a03c6b64f |
|---|---|
| Ticket: | 3281728fffffffffffffffffffffffffffffffff
Tcl sources from 2011-04-06 do not build on GCC9 (RH9) |
| User & Date: | zoro2 on 2011-04-09 06:23:11 |
Changes
- assignee changed to: "stwo"
- cmimetype changed to: "text/plain"
- comment changed to:
Hi, The issue is configure is detecting that gcc3 supports visibility_hidden, however, visibility default is not detected. This gives an error: [07:53:28] 2 >> /shared/dev/cookit/sources/tcl-8.6b1.2/generic/tcl.h:2377: visibility arg must be one of "hidden", "protected" or "internal" This is due to: # if defined(__GNUC__) && !defined(NO_VIZ) && !defined(STATIC_BUILD) # define DLLEXPORT __attribute__ ((visibility("default"))) # else # define DLLEXPORT # endif Probably configure should also check if "default" is supported as well and ignore it if it's not. Another approach (from 3137454) is: # if defined(__GNUC__) && !defined(NO_VIZ) && !defined(STATIC_BUILD) # if __GNUC__ >= 4 # define DLLEXPORT __attribute__ ((visibility("default"))) # else # define DLLEXPORT # endif # else # define DLLEXPORT # endif - foundin changed to: "obsolete: 8.6b1.1"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "zoro2"
- subsystem changed to: "53. Configuration and Build Tools"
- title changed to:
Tcl sources from 2011-04-06 do not build on GCC9 (RH9)
- type changed to: "Bug"