public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Successful bootstrap and install of gcc (GCC) 6.3.0 on aarch64-unknown-linux-gnu
@ 2017-01-25 19:02 Aaro Koskinen
  2017-01-27 10:48 ` Szabolcs Nagy
  0 siblings, 1 reply; 2+ messages in thread
From: Aaro Koskinen @ 2017-01-25 19:02 UTC (permalink / raw)
  To: gcc; +Cc: Aaro Koskinen

Hi,

Here's a report of a successful build and install of GCC:

$ gcc-6.3.0/config.guess
aarch64-unknown-linux-gnu

$ newcompiler/bin/gcc -v
Using built-in specs.
COLLECT_GCC=newcompiler/bin/gcc
COLLECT_LTO_WRAPPER=/home/aaro/gcctest/newcompiler/libexec/gcc/aarch64-unknown-linux-gnu/6.3.0/lto-wrapper
Target: aarch64-unknown-linux-gnu
Configured with: ../gcc-6.3.0/configure --with-arch=armv8-a+crc --with-cpu=cortex-a53 --disable-multilib --disable-nls --prefix=/home/aaro/gcctest/newcompiler --enable-languages=c,c++ --host=aarch64-unknown-linux-gnu --build=aarch64-unknown-linux-gnu --target=aarch64-unknown-linux-gnu --with-system-zlib --with-sysroot=/
Thread model: posix
gcc version 6.3.0 (GCC) 

-- Build environment ----------------------------------------------------------

host:	  raspberrypi-3
distro:	  los.git rootfs=96c66f native=96c66f
kernel:	  Linux 4.9.0-rpi3-los_8e2f1c
binutils: GNU binutils 2.27
make:	  GNU Make 4.2.1
libc:	  GNU C Library (GNU libc) stable release version 2.24
zlib:	  1.2.8
mpfr:	  3.1.3
gmp:	  60000

-- Time consumed --------------------------------------------------------------

configure:	real	0m 15.55s
		user	0m 13.64s
		sys	0m 3.15s

bootstrap:	real	6h 46m 50s
		user	22h 12m 18s
		sys	32m 48.12s

install:	real	1m 16.47s
		user	0m 35.88s
		sys	0m 24.45s

-- Hardware details -----------------------------------------------------------

MemTotal: 942412 kB

processor	: 0
BogoMIPS	: 38.40
Features	: fp asimd evtstrm crc32
CPU implementer	: 0x41
CPU architecture: 8
CPU variant	: 0x0
CPU part	: 0xd03
CPU revision	: 4

processor	: 1
BogoMIPS	: 38.40
Features	: fp asimd evtstrm crc32
CPU implementer	: 0x41
CPU architecture: 8
CPU variant	: 0x0
CPU part	: 0xd03
CPU revision	: 4

processor	: 2
BogoMIPS	: 38.40
Features	: fp asimd evtstrm crc32
CPU implementer	: 0x41
CPU architecture: 8
CPU variant	: 0x0
CPU part	: 0xd03
CPU revision	: 4

processor	: 3
BogoMIPS	: 38.40
Features	: fp asimd evtstrm crc32
CPU implementer	: 0x41
CPU architecture: 8
CPU variant	: 0x0
CPU part	: 0xd03
CPU revision	: 4

A.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Successful bootstrap and install of gcc (GCC) 6.3.0 on aarch64-unknown-linux-gnu
  2017-01-25 19:02 Successful bootstrap and install of gcc (GCC) 6.3.0 on aarch64-unknown-linux-gnu Aaro Koskinen
@ 2017-01-27 10:48 ` Szabolcs Nagy
  0 siblings, 0 replies; 2+ messages in thread
From: Szabolcs Nagy @ 2017-01-27 10:48 UTC (permalink / raw)
  To: Aaro Koskinen, gcc; +Cc: nd

On 25/01/17 19:02, Aaro Koskinen wrote:
> Configured with: ../gcc-6.3.0/configure --with-arch=armv8-a+crc --with-cpu=cortex-a53 --disable-multilib --disable-nls --prefix=/home/aaro/gcctest/newcompiler --enable-languages=c,c++ --host=aarch64-unknown-linux-gnu --build=aarch64-unknown-linux-gnu --target=aarch64-unknown-linux-gnu --with-system-zlib --with-sysroot=/
> host:	  raspberrypi-3
> distro:	  los.git rootfs=96c66f native=96c66f
> kernel:	  Linux 4.9.0-rpi3-los_8e2f1c
> binutils: GNU binutils 2.27
> make:	  GNU Make 4.2.1
> libc:	  GNU C Library (GNU libc) stable release version 2.24
> zlib:	  1.2.8
> mpfr:	  3.1.3
> gmp:	  60000
...
> processor	: 0
> BogoMIPS	: 38.40
> Features	: fp asimd evtstrm crc32
> CPU implementer	: 0x41
> CPU architecture: 8
> CPU variant	: 0x0
> CPU part	: 0xd03
> CPU revision	: 4

this seems to be an r0p4 revision of cortex-a53, if you
use your toolchain to build binaries that are potentially
executed on such hw then i think the safe way is to
configure gcc with

--enable-fix-cortex-a53-835769
--enable-fix-cortex-a53-843419

since it may not be easy to tell what software is
affected on a case by case basis (there are flags to
turn these on/off at compile time if you want to go
that way).

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-01-27 10:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-25 19:02 Successful bootstrap and install of gcc (GCC) 6.3.0 on aarch64-unknown-linux-gnu Aaro Koskinen
2017-01-27 10:48 ` Szabolcs Nagy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).