Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[macOS] system linker does not support “--version” option but only “-v” #2412

Merged
merged 1 commit into from
Jun 14, 2017

Conversation

kozyilmaz
Copy link
Contributor

To build Zcash on macOS Sierra I use a self-built gcc-6.3/g++-6.3 but macOS linker (/usr/bin/ld). macOS linker does not support “--version” option but “-v”

On Ubuntu 16.04

$ ld --version
GNU ld (GNU Binutils for Ubuntu) 2.26.1
Copyright (C) 2015 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) a later version.
This program has absolutely no warranty.
$ ld -v
GNU ld (GNU Binutils for Ubuntu) 2.26.1

On macOS Sierra

$ ld --version
ld: unknown option: --version
$ ld -v
@(#)PROGRAM:ld  PROJECT:ld64-278.4
configured to support archs: armv6 armv7 armv7s arm64 i386 x86_64 x86_64h armv6m armv7k armv7m armv7em (tvOS)
LTO support using: LLVM version 8.1.0, (clang-802.0.42)
TAPI support using: Apple TAPI version 1.33.11

Copy link
Contributor

@daira daira left a comment

Choose a reason for hiding this comment

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

utACK. @zkbot try

@daira
Copy link
Contributor

daira commented May 31, 2017

Oh, zkbot only recognises comments, which don't include review summaries. @zkbot try

@zkbot
Copy link
Contributor

zkbot commented May 31, 2017

⌛ Trying commit cf4f400 with merge a8281cd...

zkbot added a commit that referenced this pull request May 31, 2017
[macOS] system linker does not support “--version” option but only “-v”

To build Zcash on macOS Sierra I use a self-built gcc-6.3/g++-6.3 but macOS linker (/usr/bin/ld). macOS linker does not support “--version” option but “-v”

On Ubuntu 16.04
```
$ ld --version
GNU ld (GNU Binutils for Ubuntu) 2.26.1
Copyright (C) 2015 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) a later version.
This program has absolutely no warranty.
$ ld -v
GNU ld (GNU Binutils for Ubuntu) 2.26.1
```

On macOS Sierra
```
$ ld --version
ld: unknown option: --version
$ ld -v
@(#)PROGRAM:ld  PROJECT:ld64-278.4
configured to support archs: armv6 armv7 armv7s arm64 i386 x86_64 x86_64h armv6m armv7k armv7m armv7em (tvOS)
LTO support using: LLVM version 8.1.0, (clang-802.0.42)
TAPI support using: Apple TAPI version 1.33.11
```
@daira daira added this to the 1.0.10 milestone May 31, 2017
@zkbot
Copy link
Contributor

zkbot commented May 31, 2017

☀️ Test successful - pr-try
State: approved= try=True

Copy link
Contributor

@str4d str4d left a comment

Choose a reason for hiding this comment

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

ACK

@str4d
Copy link
Contributor

str4d commented Jun 14, 2017

@zkbot r+

@zkbot
Copy link
Contributor

zkbot commented Jun 14, 2017

📌 Commit cf4f400 has been approved by str4d

@zkbot
Copy link
Contributor

zkbot commented Jun 14, 2017

⌛ Testing commit cf4f400 with merge 0022f67b28a3977b9fd9b66f18c8fd244f46885a...

@str4d str4d added this to In Progress in Portability Jun 14, 2017
@zkbot
Copy link
Contributor

zkbot commented Jun 14, 2017

💔 Test failed - pr-merge

@str4d
Copy link
Contributor

str4d commented Jun 14, 2017

Seems like a transient failure.

@zkbot retry

@zkbot
Copy link
Contributor

zkbot commented Jun 14, 2017

⌛ Testing commit cf4f400 with merge 0ecd064...

zkbot added a commit that referenced this pull request Jun 14, 2017
[macOS] system linker does not support “--version” option but only “-v”

To build Zcash on macOS Sierra I use a self-built gcc-6.3/g++-6.3 but macOS linker (/usr/bin/ld). macOS linker does not support “--version” option but “-v”

On Ubuntu 16.04
```
$ ld --version
GNU ld (GNU Binutils for Ubuntu) 2.26.1
Copyright (C) 2015 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) a later version.
This program has absolutely no warranty.
$ ld -v
GNU ld (GNU Binutils for Ubuntu) 2.26.1
```

On macOS Sierra
```
$ ld --version
ld: unknown option: --version
$ ld -v
@(#)PROGRAM:ld  PROJECT:ld64-278.4
configured to support archs: armv6 armv7 armv7s arm64 i386 x86_64 x86_64h armv6m armv7k armv7m armv7em (tvOS)
LTO support using: LLVM version 8.1.0, (clang-802.0.42)
TAPI support using: Apple TAPI version 1.33.11
```
@zkbot
Copy link
Contributor

zkbot commented Jun 14, 2017

☀️ Test successful - pr-merge
Approved by: str4d
Pushing 0ecd064 to master...

@zkbot zkbot merged commit cf4f400 into zcash:master Jun 14, 2017
@str4d str4d moved this from In Progress to Complete in Portability Jun 14, 2017
@kozyilmaz kozyilmaz deleted the linker branch June 20, 2017 07:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Portability
  
Complete
Development

Successfully merging this pull request may close these issues.

None yet

4 participants