Date: Sun, 22 Oct 2017 03:02:16 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 223009] lang/rust: fails to build on aarch64 Message-ID: <bug-223009-13-7whq3B1zoQ@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-223009-13@https.bugs.freebsd.org/bugzilla/> References: <bug-223009-13@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223009 --- Comment #9 from Jan Beich <jbeich@FreeBSD.org> --- clusteadm@, nevermind comment 5. Can you downgrade ref11-aarch64 to 11.0-RELEASE? 1100122 ABI is still supported for 1 month more. You can't upgrade before that without risking to sabotage ports/ work. # poudriere jail (qemu-user + native-xtools) $ cc -v FreeBSD clang version 3.8.0 (tags/RELEASE_380/final 262564) (based on LLVM 3.8.0) Target: aarch64-unknown-freebsd11.0 Thread model: posix InstalledDir: /usr/bin $ cc -Wl,--version GNU ld (GNU Binutils) 2.28 $ echo 'int main() {}' >a.c $ cc a.c $ file a.out a.out: ELF 64-bit LSB executable, ARM aarch64, version 1 (SYSV), dynamica= lly linked, interpreter /libexec/ld-elf.so.1, for FreeBSD 11.0 (1100122), FreeBSD-style, not stripped vs. $ ssh ref11-aarch64.freebsd.org $ cc -v FreeBSD clang version 4.0.0 (tags/RELEASE_400/final 297347) (based on LLVM 4.0.0) Target: aarch64-unknown-freebsd11.1 Thread model: posix InstalledDir: /usr/bin $ cc -Wl,--version LLD 4.0.0 (FreeBSD 297347) (compatible with GNU linkers) $ echo 'int main() {}' >a.c $ cc a.c $ file a.out a.out: ELF 64-bit LSB executable, ARM aarch64, version 1 (FreeBSD), dynamically linked, interpreter /libexec/ld-elf.so.1, for FreeBSD 11.0 (1100513), FreeBSD-style, not stripped Notice how ABI was unintentionally upgraded in ports r446815: $ for f in /usr/ports/distfiles/rust/*/rustc-*-aarch64-unknown-freebsd.tar.gz; do tar = xkf $f; done $ file */rustc/bin/rustc rustc-1.17.0-aarch64-unknown-freebsd/rustc/bin/rustc: ELF 64-bit LSB shar= ed object, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /libexec/ld-elf.so.1, for FreeBSD 11.0 (1100122), FreeBSD-style, not stripp= ed rustc-1.18.0-aarch64-unknown-freebsd/rustc/bin/rustc: ELF 64-bit LSB shar= ed object, ARM aarch64, version 1 (FreeBSD), dynamically linked, interpreter /libexec/ld-elf.so.1, for FreeBSD 11.0 (1100513), FreeBSD-style, not stripp= ed rustc-1.19.0-aarch64-unknown-freebsd/rustc/bin/rustc: ELF 64-bit LSB shar= ed object, ARM aarch64, version 1 (FreeBSD), dynamically linked, interpreter /libexec/ld-elf.so.1, for FreeBSD 11.0 (1100513), FreeBSD-style, not stripp= ed Obviously, downgrading ref11-aarch64 to 11.0 would require starting over fr= om the last bootstrap with 1100122 ABI. Maybe the maintainer wouldn't mind doi= ng it as part of bug 223123. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-223009-13-7whq3B1zoQ>