Skip to content

ICU-21435 Remove -Bsymbolic flag for mingw targets#1505

Merged
jefgen merged 1 commit intounicode-org:masterfrom
longnguyen2004:mingw-remove-bsymbolic
Jan 20, 2021
Merged

ICU-21435 Remove -Bsymbolic flag for mingw targets#1505
jefgen merged 1 commit intounicode-org:masterfrom
longnguyen2004:mingw-remove-bsymbolic

Conversation

@longnguyen2004
Copy link
Copy Markdown
Contributor

@longnguyen2004 longnguyen2004 commented Dec 9, 2020

Checklist

After doing some research, it seems that the -Bsymbolic flag only makes sense on ELF platforms. The mingw linker driver for lld also doesn't support this flag either, so it should be removed.

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Dec 9, 2020

CLA assistant check
All committers have signed the CLA.

Copy link
Copy Markdown
Member

@srl295 srl295 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm on the strength of @jefgen bug comment

@jefgen
Copy link
Copy Markdown
Member

jefgen commented Jan 13, 2021

Lgtm on the strength of bug comment

Right, based on the page here: https://ftp.gnu.org/old-gnu/Manuals/ld-2.9.1/html_node/ld_3.html
(I added the emphasis below):

-Bsymbolic
When creating a shared library, bind references to global symbols to the definition within the shared library, if any. Normally, it is possible for a program linked against a shared library to override the definition within the shared library. This option is only meaningful on ELF platforms which support shared libraries.

So it sounds like this would only really be for ELF platforms, whereas IIRC, the MinGW makefiles for ICU are only for building DLLs. -- So I think this lgtm as well. :)

@jefgen jefgen merged commit 6092942 into unicode-org:master Jan 20, 2021
@longnguyen2004 longnguyen2004 deleted the mingw-remove-bsymbolic branch January 20, 2021 23:32
lazka added a commit to lazka/MINGW-packages that referenced this pull request Aug 28, 2021
The dropped patches have been fixed upstream:
unicode-org/icu#1505
unicode-org/icu#1668
lazka added a commit to lazka/MINGW-packages that referenced this pull request Aug 28, 2021
The dropped patches have been fixed upstream:
unicode-org/icu#1505
unicode-org/icu#1668
kou pushed a commit to kou/MINGW-packages that referenced this pull request Oct 18, 2021
The dropped patches have been fixed upstream:
unicode-org/icu#1505
unicode-org/icu#1668
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants