Skip to content

pkgsCross.aarch64-multiplatform.gcc is broken on aarch64-darwin #137877

@mstone

Description

@mstone

Describe the bug

nix -L build nixpkgs#pkgsCross.aarch64-multiplatform.gcc fails while building aarch64-unknown-linux-gnu-stage-final-gcc-debug-11.1.0 with log messages:

...
configure: error: conditional "ENABLE_DARWIN_AT_RPATH" was never defined.
Usually this means the macro was only invoked conditionally.

Other notes

CC: @bobrik, based on 4aa95e3 / credit for this line, in case you have by chance already tangled with this...

Metadata

[user@system:~]$ $ nix run nixpkgs#nix-info -- -m
 - system: `"aarch64-darwin"`
 - host os: `Darwin 20.6.0, macOS 11.6`
 - multi-user?: `yes`
 - sandbox: `no`
 - version: `nix-env (Nix) 2.4pre20210914_275cb44`
 - channels(root): `"nixpkgs-21.11pre302272.fd16fa6805e"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixpkgs`

Maintainer information:

# a list of nixpkgs attributes affected by the problem
attribute: gcc11
# a list of nixos modules affected by the problem
module:

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: bugSomething is broken6.topic: darwinRunning or building packages on Darwin

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions