Skip to content
This repository was archived by the owner on Feb 5, 2019. It is now read-only.

Archives require a symbol table on Solaris, even if empty. #65

Merged

Conversation

dhduvall
Copy link

On Solaris ld (and some other tools that use the underlying utility
libraries, such as elfdump) chokes on an archive library that has no
symbol table. The Solaris tools always create one, even if it's empty.

That bug has been fixed in the latest development line, and can
probably be backported to a supported release, but it would be nice if
LLVM's archiver could emit the empty symbol table, too.

Fixed in upstream LLVM in revision 297773.

On Solaris ld (and some other tools that use the underlying utility
libraries, such as elfdump) chokes on an archive library that has no
symbol table. The Solaris tools always create one, even if it's empty.

That bug has been fixed in the latest development line, and can
probably be backported to a supported release, but it would be nice if
LLVM's archiver could emit the empty symbol table, too.

Fixed in upstream LLVM in revision 297773.
@alexcrichton
Copy link
Member

Thanks for the PR! I'm having trouble finding the commit upstream, you wouldn't happen to have the sha on hand would you?

@dhduvall
Copy link
Author

Looks like it's 22bd70f in the llvm-mirror repo on github.

@alexcrichton
Copy link
Member

Oh oops sorry I was looking at the wrong git remote!

@alexcrichton alexcrichton merged commit 33795db into rust-lang:rust-llvm-2016-10-29 Mar 14, 2017
@dhduvall dhduvall deleted the rust-llvm-2016-10-29 branch March 14, 2017 22:02
TimNN pushed a commit to TimNN/llvm that referenced this pull request Apr 17, 2017
Archives require a symbol table on Solaris, even if empty.
TimNN pushed a commit that referenced this pull request Apr 23, 2017
Archives require a symbol table on Solaris, even if empty.
arielb1 pushed a commit that referenced this pull request Jun 27, 2017
Archives require a symbol table on Solaris, even if empty.
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