Skip to content
This repository has been archived by the owner on Jun 20, 2019. It is now read-only.

Use needsCodegen rather than isRoot for determining the static/extern of a template symbol. #261

Merged
merged 1 commit into from
Dec 4, 2016

Conversation

ibuclaw
Copy link
Member

@ibuclaw ibuclaw commented Dec 4, 2016

This is noticed when building with --enable-default-pie, where calls to extern functions should be marked @PLT. When this doesn't happen (and building with -shared-libphobos) the result is bad relocation errors in the linker.

See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=845377#32

… of a template symbol.

This is noticed when building with --enable-default-pie, where calls to extern functions should be marked @plt.

When this doesn't happen (and building with -shared-libphobos) the result is bad relocation errors in the linker.
@jpf91
Copy link
Contributor

jpf91 commented Dec 4, 2016

I guess I'll have to rebuild the binaries one more time...

@jpf91 jpf91 merged commit 4c49d84 into D-Programming-GDC:master Dec 4, 2016
@ibuclaw ibuclaw deleted the fixpie branch December 4, 2016 19:01
@ibuclaw
Copy link
Member Author

ibuclaw commented Dec 4, 2016

@jpf91 - Oops.

@jpf91
Copy link
Contributor

jpf91 commented Dec 4, 2016

Well, we get a release with less bugs this way so that's a good thing ;-)

(Last time I forgot to add the follow symlinks flag to 7zip so it included empty text files instead of symlinks in the windows .7z archives... That was a much more annoying reason to rebuild all toolchains)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants