gcc-arm-none-eabi crashes with the segmentation fault when compiling Beaglebone Linux Kernel

Bug #1734420 reported by Gautam Bhat
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gcc-arm-none-eabi (Ubuntu)
New
Undecided
Unassigned

Bug Description

The following are the steps to reproduce the bug:

1) Clone the Beaglebone Linux Kernel from https://github.com/beagleboard/linux.git
2) Do --> ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- make bb.org_defconfig
3) Do --> ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- make -j5

While the kernel gets compiled gcc-arm-none-eabi crashes with the following errors:

net/ipv6/netfilter/ip6t_rt.c: In function 'rt_mt6':
net/ipv6/netfilter/ip6t_rt.c:184:1: error: insn does not satisfy its constraints:
 }
 ^
(insn 460 1639 1638 38 (parallel [
            (set (reg:SI 2 r2 [orig:206 D.52182 ] [206])
                (and:SI (leu:SI (reg:SI 7 r7 [orig:203 D.52182 ] [203])
                        (reg:SI 2 r2 [orig:206 D.52182 ] [206]))
                    (geu:SI (reg:SI 1 r1 [orig:204 D.52182 ] [204])
                        (reg:SI 2 r2 [orig:206 D.52182 ] [206]))))
            (clobber (reg:CC 100 cc))
        ]) 256 {*and_scc_scc_nodom}
     (nil))
net/ipv6/netfilter/ip6t_rt.c:184:1: internal compiler error: in extract_constrain_insn, at recog.c:2246
  LD drivers/mtd/spi-nor/built-in.o

net/ipv6/netfilter/ip6t_rt.c:184:1: internal compiler error: Segmentation fault

Also I get the following errors:

In file included from include/linux/coda.h:64:0,
                 from fs/coda/psdev.c:45:
include/uapi/linux/coda.h:221:2: error: unknown type name 'u_quad_t'
  u_quad_t va_size; /* file size in bytes */
  ^
include/uapi/linux/coda.h:229:2: error: unknown type name 'u_quad_t'
  u_quad_t va_bytes; /* bytes of disk space held by file */
  ^
include/uapi/linux/coda.h:230:2: error: unknown type name 'u_quad_t'
  u_quad_t va_filerev; /* file modification number */
  ^
  CHK kernel/config_data.h
scripts/Makefile.build:258: recipe for target 'fs/coda/psdev.o' failed
make[2]: *** [fs/coda/psdev.o] Error 1
scripts/Makefile.build:403: recipe for target 'fs/coda' failed
make[1]: *** [fs/coda] Error 2

Apport crash report attached.

Revision history for this message
Gautam Bhat (mindentropy) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.