Skip to content

Conversation

homper
Copy link

@homper homper commented May 16, 2022

Mac OS linker(/usr/bin/ld) doesn't have "--build-id" option. Same as Solaris in #6. So I filtered it out in Makefile

uname -a
Darwin hompers-mbp 20.2.0 Darwin Kernel Version 20.2.0: Wed Dec  2 20:39:59 PST 2020; root:xnu-7195.60.75~1/RELEASE_X86_64 x86_64

sw_vers
ProductName:	macOS
ProductVersion:	11.1
BuildVersion:	20C69
ld --build-id
ld: unknown option: --build-id

gcc-11 -Wl,--build-id
ld: unknown option: --build-id
collect2: error: ld returned 1 exit status

clang -Wl,--build-id
ld: unknown option: --build-id
clang-13: error: linker command failed with exit code 1 (use -v to see invocation)

Checked that build in Solaris 11 still works.

@rjuju rjuju added the bug label Dec 9, 2022
Copy link
Collaborator

@rjuju rjuju left a comment

Choose a reason for hiding this comment

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

+1

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

Successfully merging this pull request may close these issues.

2 participants