Date: Sat, 11 Nov 2017 23:54:32 +0300 From: Michael Zhilin <mizhka@gmail.com> To: freebsd-current Current <freebsd-current@freebsd.org>, freebsd-mips@freebsd.org, jhb@freebsd.org Subject: [mips32] build is broken due to lack of .cfi-sections support in gcc 4.2.1 Message-ID: <CAF19XBJdC4Lq=LWuWAOKXDz-GXWW%2BBiTt=Me1CARzSygPw9PvA@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hi, I've got compilation error for mips32 build by gcc 4.2.1 (freebsd-wifi-build): [halloween:/repo/onion/src/libexec/rtld-elf]$ make /repo/onion/src/libexec/rtld-elf/mips/rtld_start.S: Assembler messages: /repo/onion/src/libexec/rtld-elf/mips/rtld_start.S:35: Error: unknown pseudo-op: `.cfi_sections' *** Error code 1 Stop. make[2]: stopped in /repo/onion/src/libexec/rtld-elf [halloween:/repo/onion/src/libexec/rtld-elf]$ cc -isystem /repo/onion/obj/mipsel/repo/onion/src/mips.mipsel/tmp/usr/include -L/repo/onion/obj/mipsel/repo/onion/src/mips.mipsel/tmp/usr/lib -B/repo/onion/obj/mipsel/repo/onion/src/mips.mipsel/tmp/usr/lib --sysroot=/repo/onion/obj/mipsel/repo/onion/src/mips.mipsel/tmp -B/repo/onion/obj/mipsel/repo/onion/src/mips.mipsel/tmp/usr/bin -O -pipe -G0 -EL -mabi=32 -msoft-float -march=mips32 -Wall -DFREEBSD_ELF -DIN_RTLD -ffreestanding -I/repo/onion/src/lib/csu/common -I/repo/onion/src/libexec/rtld-elf/mips -I/repo/onion/src/libexec/rtld-elf -fpic -DPIC -g -MD -MF.depend.rtld_start.o -MTrtld_start.o -std=gnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -Wformat=2 -Wno-format-extra-args -Werror -c /repo/onion/src/libexec/rtld-elf/mips/rtld_start.S -o rtld_start.o /repo/onion/src/libexec/rtld-elf/mips/rtld_start.S: Assembler messages: /repo/onion/src/libexec/rtld-elf/mips/rtld_start.S:35: Error: unknown pseudo-op: `.cfi_sections' [halloween:/repo/onion/src/libexec/rtld-elf]$ cc -v Using built-in specs. Target: mipsel-undermydesk-freebsd Configured with: FreeBSD/mipsel system compiler Thread model: posix gcc version 4.2.1 20070831 patched [FreeBSD] The section info for call frame information has been added in revision 325624 by jhb@. This impacts several MIPS32 builds by freebsd-wifi-build (broadcom, may be atheros). Is my gcc toolchain old? switch to clang? Thanks!
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAF19XBJdC4Lq=LWuWAOKXDz-GXWW%2BBiTt=Me1CARzSygPw9PvA>