Hi,

Have a look at what the atheros ports now do. They've been building
using the external toolchain gcc for a while now.

I think we need to kick over to that.



-adrian


On 11 November 2017 at 12:54, Michael Zhilin <miz...@gmail.com> wrote:
> 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!
_______________________________________________
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to