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

objdump missing in new GCC toolchain for aarch64-apple-darwin #229

Open
giordano opened this issue Mar 6, 2022 · 1 comment
Open

objdump missing in new GCC toolchain for aarch64-apple-darwin #229

giordano opened this issue Mar 6, 2022 · 1 comment

Comments

@giordano
Copy link
Member

giordano commented Mar 6, 2022

% julia --compile=min -e 'using BinaryBuilderBase; BinaryBuilderBase.runshell(Platform("aarch64", "macos"))'
sandbox:${WORKSPACE} # ${target}-objdump 
/opt/bin/aarch64-apple-darwin20-libgfortran5-cxx11/aarch64-apple-darwin20-objdump: line 5: /opt/aarch64-apple-darwin20/bin/aarch64-apple-darwin20-objdump: No such file or directory
sandbox:${WORKSPACE} # ls /opt/aarch64-apple-darwin20/bin/aarch64-apple-darwin20-*
/opt/aarch64-apple-darwin20/bin/aarch64-apple-darwin20-ObjectDump         /opt/aarch64-apple-darwin20/bin/aarch64-apple-darwin20-install_name_tool
/opt/aarch64-apple-darwin20/bin/aarch64-apple-darwin20-ar                 /opt/aarch64-apple-darwin20/bin/aarch64-apple-darwin20-ld
/opt/aarch64-apple-darwin20/bin/aarch64-apple-darwin20-as                 /opt/aarch64-apple-darwin20/bin/aarch64-apple-darwin20-libtool
/opt/aarch64-apple-darwin20/bin/aarch64-apple-darwin20-bitcode_strip      /opt/aarch64-apple-darwin20/bin/aarch64-apple-darwin20-lipo
/opt/aarch64-apple-darwin20/bin/aarch64-apple-darwin20-c++                /opt/aarch64-apple-darwin20/bin/aarch64-apple-darwin20-lto-dump
/opt/aarch64-apple-darwin20/bin/aarch64-apple-darwin20-check_dylib        /opt/aarch64-apple-darwin20/bin/aarch64-apple-darwin20-machocheck
/opt/aarch64-apple-darwin20/bin/aarch64-apple-darwin20-checksyms          /opt/aarch64-apple-darwin20/bin/aarch64-apple-darwin20-makerelocs
/opt/aarch64-apple-darwin20/bin/aarch64-apple-darwin20-cmpdylib           /opt/aarch64-apple-darwin20/bin/aarch64-apple-darwin20-mtoc
/opt/aarch64-apple-darwin20/bin/aarch64-apple-darwin20-codesign_allocate  /opt/aarch64-apple-darwin20/bin/aarch64-apple-darwin20-mtor
/opt/aarch64-apple-darwin20/bin/aarch64-apple-darwin20-cpp                /opt/aarch64-apple-darwin20/bin/aarch64-apple-darwin20-nm
/opt/aarch64-apple-darwin20/bin/aarch64-apple-darwin20-ctf_insert         /opt/aarch64-apple-darwin20/bin/aarch64-apple-darwin20-nmedit
/opt/aarch64-apple-darwin20/bin/aarch64-apple-darwin20-dyldinfo           /opt/aarch64-apple-darwin20/bin/aarch64-apple-darwin20-otool
/opt/aarch64-apple-darwin20/bin/aarch64-apple-darwin20-g++                /opt/aarch64-apple-darwin20/bin/aarch64-apple-darwin20-pagestuff
/opt/aarch64-apple-darwin20/bin/aarch64-apple-darwin20-gcc                /opt/aarch64-apple-darwin20/bin/aarch64-apple-darwin20-ranlib
/opt/aarch64-apple-darwin20/bin/aarch64-apple-darwin20-gcc-12.0.1         /opt/aarch64-apple-darwin20/bin/aarch64-apple-darwin20-redo_prebinding
/opt/aarch64-apple-darwin20/bin/aarch64-apple-darwin20-gcc-ar             /opt/aarch64-apple-darwin20/bin/aarch64-apple-darwin20-seg_addr_table
/opt/aarch64-apple-darwin20/bin/aarch64-apple-darwin20-gcc-nm             /opt/aarch64-apple-darwin20/bin/aarch64-apple-darwin20-seg_hack
/opt/aarch64-apple-darwin20/bin/aarch64-apple-darwin20-gcc-ranlib         /opt/aarch64-apple-darwin20/bin/aarch64-apple-darwin20-segedit
/opt/aarch64-apple-darwin20/bin/aarch64-apple-darwin20-gcov               /opt/aarch64-apple-darwin20/bin/aarch64-apple-darwin20-size
/opt/aarch64-apple-darwin20/bin/aarch64-apple-darwin20-gcov-dump          /opt/aarch64-apple-darwin20/bin/aarch64-apple-darwin20-strings
/opt/aarch64-apple-darwin20/bin/aarch64-apple-darwin20-gcov-tool          /opt/aarch64-apple-darwin20/bin/aarch64-apple-darwin20-strip
/opt/aarch64-apple-darwin20/bin/aarch64-apple-darwin20-gfortran           /opt/aarch64-apple-darwin20/bin/aarch64-apple-darwin20-unwinddump
/opt/aarch64-apple-darwin20/bin/aarch64-apple-darwin20-indr               /opt/aarch64-apple-darwin20/bin/aarch64-apple-darwin20-vtool
/opt/aarch64-apple-darwin20/bin/aarch64-apple-darwin20-inout
@giordano giordano changed the title objdump missing in new GCC toolchain for aarch64-apple-darwin` objdump missing in new GCC toolchain for aarch64-apple-darwin Mar 6, 2022
@giordano
Copy link
Member Author

giordano commented Mar 6, 2022

Uhm, there is llvm-objdump:

sandbox:${WORKSPACE} # llvm-objdump -version
LLVM (http://llvm.org/):
  LLVM version 8.0.0svn
  Optimized build.
  Default target: aarch64-apple-darwin5.15.25-1-lts
  Host CPU: haswell

  Registered Targets:
    aarch64    - AArch64 (little endian)
    aarch64_be - AArch64 (big endian)
    amdgcn     - AMD GCN GPUs
    arm        - ARM
    arm64      - ARM64 (little endian)
    armeb      - ARM (big endian)
    bpf        - BPF (host endian)
    bpfeb      - BPF (big endian)
    bpfel      - BPF (little endian)
    hexagon    - Hexagon
    lanai      - Lanai
    mips       - MIPS (32-bit big endian)
    mips64     - MIPS (64-bit big endian)
    mips64el   - MIPS (64-bit little endian)
    mipsel     - MIPS (32-bit little endian)
    msp430     - MSP430 [experimental]
    nvptx      - NVIDIA PTX 32-bit
    nvptx64    - NVIDIA PTX 64-bit
    ppc32      - PowerPC 32
    ppc64      - PowerPC 64
    ppc64le    - PowerPC 64 LE
    r600       - AMD GPUs HD2XXX-HD6XXX
    sparc      - Sparc
    sparcel    - Sparc LE
    sparcv9    - Sparc V9
    systemz    - SystemZ
    thumb      - Thumb
    thumbeb    - Thumb (big endian)
    wasm32     - WebAssembly 32-bit
    wasm64     - WebAssembly 64-bit
    x86        - 32-bit X86: Pentium-Pro and above
    x86-64     - 64-bit X86: EM64T and AMD64
    xcore      - XCore

And, actually, I'm not even sure this is a problem only with the new build of GCC for aarch64-apple-darwin, I see exactly the same with x86_64-apple-darwin.

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

No branches or pull requests

1 participant