# New Ticket Created by  Donald Hunter 
# Please include the string:  [perl #62010]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=62010 >


This patch fixes a problem with gcc 3.4.6 on Linux where -fvisibility=hidden
is detected as supported but __attribute__((visibility("default"))) is not
used for PARROT_EXPORT. The setting for export visibility was hard-coded for
gcc > 4.0 so I changed it to be a new test based on the detection of support
for -fvisibility=hidden

I created a new file for the config step because it has to happen after
config/auto/warnings.pm and there's no other relevant file to put it in.

 config/auto/export.pm             |   55
++++++++++++++++++++++++++++++++++++++
 config/auto/gcc.pm                |    3 --
 lib/Parrot/Configure/Step/List.pm |    1
 3 files changed, 56 insertions(+), 3 deletions(-)

Attachment: gcc_export_visibility.patch
Description: Binary data

Reply via email to