Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

ldid fails with clang++ #11410

Closed
wants to merge 1 commit into from

Conversation

nandub
Copy link
Contributor

@nandub nandub commented Apr 3, 2012

Undefined symbols for architecture x86_64:
  "SHA1Reset(SHA1Context*)", referenced from:
      sha1(unsigned char*, unsigned char*, unsigned long) in ldid-fXX8mG.o
  "SHA1Input(SHA1Context*, unsigned char const*, unsigned int)", referenced from:
      sha1(unsigned char*, unsigned char*, unsigned long) in ldid-fXX8mG.o
  "SHA1Result(SHA1Context*, unsigned char*)", referenced from:
      sha1(unsigned char*, unsigned char*, unsigned long) in ldid-fXX8mG.o
ld: symbol(s) not found for architecture x86_64

I added the fails_with :clang

@jacknagel
Copy link
Contributor

Since we're compiling this "manually", maybe we can figure out what we need to do to make this work?

@nandub
Copy link
Contributor Author

nandub commented Apr 3, 2012

I'm not sure what to change to make it work. It install fine if I use --use-llvm or --use-gcc.

@jacknagel
Copy link
Contributor

Hmm. Seems like it should be easy to fix but I don't understand why clang is losing those symbols.

Will pull this but also an issue should be opened here: https://github.com/rpetrich/ldid

@jacknagel jacknagel closed this in e61797a Apr 3, 2012
@nandub
Copy link
Contributor Author

nandub commented Apr 3, 2012

Just noticed the url. The ldid version here was released by saurik a while back and is a very old version. The one https://github.com/rpetrich/ldid that is hosted by Ryan Petrich it has support for universal (fat) and other changes that the one in Homebrew doesn't have.

I'll try to contact Ryan to see if he can version a stable release because is currently a HEAD only.

Sharpie pushed a commit to Sharpie/homebrew that referenced this pull request Sep 12, 2012
Closes Homebrew#11410.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
snakeyroc3 pushed a commit to snakeyroc3/homebrew that referenced this pull request Dec 17, 2012
Closes Homebrew#11410.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
@Homebrew Homebrew locked and limited conversation to collaborators Feb 16, 2016
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.

None yet

2 participants