rosco-m68k / homebrew-toolchain

Support for installing m68k toolchain with Home-brew
8 stars 6 forks source link

Redhat 8 fails to configure`gcc-11.4 #27

Open LawrenceSherman opened 1 day ago

LawrenceSherman commented 1 day ago

lsherman@localhost ~]$ brew tap rosco-m68k/toolchain ==> Auto-updating Homebrew... Adjust how often this is run with HOMEBREW_AUTO_UPDATE_SECS or disable with HOMEBREW_NO_AUTO_UPDATE. Hide these hints with HOMEBREW_NO_ENV_HINTS (see man brew). ==> Auto-updated Homebrew! Updated 1 tap (homebrew/cask).

[lsherman@localhost ~]$ brew install gcc-cross-m68k@11 vasm-m68k ==> Fetching dependencies for rosco-m68k/toolchain/gcc-cross-m68k@11: zstd, binutils and rosco-m68k/toolchain/binutils-cross-m68k ==> Fetching zstd ==> Downloading https://ghcr.io/v2/homebrew/core/zstd/manifests/1.5.6 Already downloaded: /home/lsherman/.cache/Homebrew/downloads/29403e0df5404d8aeca0e750ac135ec9ef44fc5eeb6df69170ed602acabf0ffb--zstd-1.5.6.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/zstd/blobs/sha256:0e6ddbd4c969bb84261f12b759fb78a828d6f734c9e515793c6ac2c3a846b01e Already downloaded: /home/lsherman/.cache/Homebrew/downloads/a17b9c387a5a4a00f023582e2c5d8253de1683294ab6cb49439f0c6b62eac37c--zstd--1.5.6.x86_64_linux.bottle.tar.gz ==> Fetching binutils ==> Downloading https://ghcr.io/v2/homebrew/core/binutils/manifests/2.43.1 Already downloaded: /home/lsherman/.cache/Homebrew/downloads/8111b6fd65822d749b89a471ec543eaf84471287fa7b13113cf3075efee5f0b6--binutils-2.43.1.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/binutils/blobs/sha256:ab5913dd80970340737b8450c3d227f2e6ad07874c240a82d1749ff4bba8b863 Already downloaded: /home/lsherman/.cache/Homebrew/downloads/d59e9cadb417cf3802399eb025cea4903c65e3b07fd6c3378ffda14be8cd12ce--binutils--2.43.1.x86_64_linux.bottle.tar.gz ==> Fetching rosco-m68k/toolchain/binutils-cross-m68k ==> Downloading https://homebrew.rosco-m68k.com/bottles/binutils-cross-m68k-2.40.x86_64_linux.bottle.1.tar.gz Already downloaded: /home/lsherman/.cache/Homebrew/downloads/1d86b37e7687f3970f2f8fea84ebb93078a43a5a72c86e2a76df358ea17789c5--binutils-cross-m68k--2.40.x86_64_linux.bottle.1.tar.gz ==> Fetching rosco-m68k/toolchain/gcc-cross-m68k@11 ==> Downloading http://www.mirrorservice.org/sites/ftp.gnu.org/gnu/gcc/gcc-11.4.0/gcc-11.4.0.tar.gz Already downloaded: /home/lsherman/.cache/Homebrew/downloads/df7e1ab1a9d0ed4a83909988421d027cb4bc12e030c295daf8242082779d8fc8--gcc-11.4.0.tar.gz ==> Fetching rosco-m68k/toolchain/vasm-m68k ==> Downloading http://phoenix.owl.de/tags/vasm1_9d.tar.gz Already downloaded: /home/lsherman/.cache/Homebrew/downloads/e4b780d89c237bfef4f088d50b1dc32d42c855af0723e36a70e9523d7dec8ad3--vasm1_9d.tar.gz ==> Installing gcc-cross-m68k@11 from rosco-m68k/toolchain ==> Installing dependencies for rosco-m68k/toolchain/gcc-cross-m68k@11: zstd, binutils and rosco-m68k/toolchain/binutils-cross-m68k ==> Installing rosco-m68k/toolchain/gcc-cross-m68k@11 dependency: zstd ==> Downloading https://ghcr.io/v2/homebrew/core/zstd/manifests/1.5.6 Already downloaded: /home/lsherman/.cache/Homebrew/downloads/29403e0df5404d8aeca0e750ac135ec9ef44fc5eeb6df69170ed602acabf0ffb--zstd-1.5.6.bottle_manifest.json ==> Pouring zstd--1.5.6.x86_64_linux.bottle.tar.gz 🍺 /home/linuxbrew/.linuxbrew/Cellar/zstd/1.5.6: 32 files, 2.9MB ==> Installing rosco-m68k/toolchain/gcc-cross-m68k@11 dependency: binutils ==> Downloading https://ghcr.io/v2/homebrew/core/binutils/manifests/2.43.1 Already downloaded: /home/lsherman/.cache/Homebrew/downloads/8111b6fd65822d749b89a471ec543eaf84471287fa7b13113cf3075efee5f0b6--binutils-2.43.1.bottle_manifest.json ==> Pouring binutils--2.43.1.x86_64_linux.bottle.tar.gz 🍺 /home/linuxbrew/.linuxbrew/Cellar/binutils/2.43.1: 6,513 files, 510MB ==> Installing rosco-m68k/toolchain/gcc-cross-m68k@11 dependency: rosco-m68k/toolchain/binutils-cross-m68k ==> Pouring binutils-cross-m68k--2.40.x86_64_linux.bottle.1.tar.gz 🍺 /home/linuxbrew/.linuxbrew/Cellar/binutils-cross-m68k/2.40: 191 files, 45MB ==> Installing rosco-m68k/toolchain/gcc-cross-m68k@11 ==> ../gcc-11.4.0/configure --disable-debug --disable-dependency-tracking --disable-silent-rules --target=m68k-elf --enable-languages=c,c++ --disable-nls --with-as=/home/linuxbre Last 15 lines from /home/lsherman/.cache/Homebrew/Logs/gcc-cross-m68k@11/01.configure: checking whether ln works... yes checking whether ln -s works... yes checking for a sed that does not truncate output... /usr/bin/sed checking for gawk... gawk checking for libatomic support... no checking for libitm support... no checking for libsanitizer support... no checking for libvtv support... no checking for libhsail-rt support... no checking for libphobos support... no checking for gcc... gcc-14 checking whether the C compiler works... no configure: error: in /tmp/gcc-cross-m68kA11-20241203-289332-imbe92/build': configure: error: C compiler cannot create executables Seeconfig.log' for more details

If reporting this issue please do so at (not Homebrew/brew or Homebrew/homebrew-core): https://github.com/rosco-m68k/homebrew-toolchain/issues

roscopeco commented 21 hours ago

Hello 🙂

could you try brew install --build-from-source hello please? This will verify whether the issue is with the formula, or your platform compiler.