Package Details: cpp-arm-linux-gnueabihf-bin 4.8.2-1

Package Base: cpp-arm-linux-gnueabihf-bin
Description: The GNU C preprocessor (cpp) for armhf architecture
Upstream URL: http://packages.ubuntu.com/cpp-arm-linux-gnueabihf
Category: devel
Licenses: GPL2
Submitter: Red54
Maintainer: None
Last Packager: None
Votes: 8
First Submitted: 2012-11-04 11:43
Last Updated: 2014-03-19 02:18

Latest Comments

Comment by starfry

2013-04-25 14:30

The deb referenced in the PKGBUILD is gone. There is a newer one:
http://archive.ubuntu.com/ubuntu/pool/universe/g/gcc-4.7-armhf-cross/cpp-4.7-arm-linux-gnueabihf_4.7.3-1ubuntu1cross1.81_amd64.deb

Anonymous comment

2013-04-16 11:27

Since upgrading to the 4.7.2-2 version last week (along with upgrading gcc-arm-linux-gnueabihf-bin to 4.7.2-2 and binutils-arm-linux-gnueabihf-bin to 2.23.2-1), I can't compile linux kernel sources from kernel.org Torvalds' repository configured for armv7 multi-platform target. Before upgrade I've been building it regularly without problems. I've even tried reverting to the specific version I'm absolutely sure I have compiled successfully just a week or so before the upgrade.

Here's the simplest way to reproduce:
$ git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git linux-torvalds
$ cd linux-torvalds
$ export ARCH=arm
$ export CROSS_COMPILE=arm-linux-gnueabihf-
$ make make multi_v7_defconfig
$ make
scripts/kconfig/conf --silentoldconfig Kconfig
WRAP arch/arm/include/generated/asm/auxvec.h
WRAP arch/arm/include/generated/asm/bitsperlong.h
WRAP arch/arm/include/generated/asm/cputime.h
WRAP arch/arm/include/generated/asm/current.h
WRAP arch/arm/include/generated/asm/emergency-restart.h
WRAP arch/arm/include/generated/asm/errno.h
WRAP arch/arm/include/generated/asm/exec.h
WRAP arch/arm/include/generated/asm/ioctl.h
WRAP arch/arm/include/generated/asm/ipcbuf.h
WRAP arch/arm/include/generated/asm/irq_regs.h
WRAP arch/arm/include/generated/asm/kdebug.h
WRAP arch/arm/include/generated/asm/local.h
WRAP arch/arm/include/generated/asm/local64.h
WRAP arch/arm/include/generated/asm/msgbuf.h
WRAP arch/arm/include/generated/asm/param.h
WRAP arch/arm/include/generated/asm/parport.h
WRAP arch/arm/include/generated/asm/poll.h
WRAP arch/arm/include/generated/asm/resource.h
WRAP arch/arm/include/generated/asm/sections.h
WRAP arch/arm/include/generated/asm/segment.h
WRAP arch/arm/include/generated/asm/sembuf.h
WRAP arch/arm/include/generated/asm/serial.h
WRAP arch/arm/include/generated/asm/shmbuf.h
WRAP arch/arm/include/generated/asm/siginfo.h
WRAP arch/arm/include/generated/asm/sizes.h
WRAP arch/arm/include/generated/asm/socket.h
WRAP arch/arm/include/generated/asm/sockios.h
WRAP arch/arm/include/generated/asm/termbits.h
WRAP arch/arm/include/generated/asm/termios.h
WRAP arch/arm/include/generated/asm/timex.h
WRAP arch/arm/include/generated/asm/trace_clock.h
WRAP arch/arm/include/generated/asm/types.h
WRAP arch/arm/include/generated/asm/unaligned.h
CHK include/generated/uapi/linux/version.h
UPD include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
UPD include/generated/utsrelease.h
Generating include/generated/mach-types.h
CC kernel/bounds.s
GEN include/generated/bounds.h
CC arch/arm/kernel/asm-offsets.s
In file included from include/linux/preempt.h:9:0,
from include/linux/spinlock.h:50,
from include/linux/mmzone.h:7,
from include/linux/gfp.h:4,
from include/linux/mm.h:8,
from arch/arm/kernel/asm-offsets.c:14:
include/linux/thread_info.h:24:4: error: unknown type name ‘u32’
include/linux/thread_info.h:25:4: error: unknown type name ‘u32’
include/linux/thread_info.h:26:4: error: unknown type name ‘u32’
include/linux/thread_info.h:27:4: error: unknown type name ‘u32’
include/linux/thread_info.h:28:4: error: unknown type name ‘u64’
include/linux/thread_info.h:29:4: error: unknown type name ‘u32’
include/linux/thread_info.h:33:4: error: unknown type name ‘clockid_t’
include/linux/thread_info.h:38:4: error: unknown type name ‘u64’
In file included from /home/nightwolf/dev/minibook/linux-test/arch/arm/include/asm/irqflags.h:6:0,
from include/linux/irqflags.h:15,
from /home/nightwolf/dev/minibook/linux-test/arch/arm/include/asm/bitops.h:27,
from include/linux/bitops.h:22,
from include/linux/thread_info.h:53,
from include/linux/preempt.h:9,
from include/linux/spinlock.h:50,
from include/linux/mmzone.h:7,
from include/linux/gfp.h:4,
from include/linux/mm.h:8,
from arch/arm/kernel/asm-offsets.c:14:
/home/nightwolf/dev/minibook/linux-test/arch/arm/include/asm/ptrace.h:105:1: error: unknown type name ‘bool’
/home/nightwolf/dev/minibook/linux-test/arch/arm/include/asm/ptrace.h: In function ‘regs_get_register’:
/home/nightwolf/dev/minibook/linux-test/arch/arm/include/asm/ptrace.h:121:6: error: expected expression before ‘struct’
In file included from /home/nightwolf/dev/minibook/linux-test/arch/arm/include/asm/bitops.h:124:0,
from include/linux/bitops.h:22,
from include/linux/thread_info.h:53,
from include/linux/preempt.h:9,
from include/linux/spinlock.h:50,
from include/linux/mmzone.h:7,
from include/linux/gfp.h:4,
from include/linux/mm.h:8,
from arch/arm/kernel/asm-offsets.c:14:
include/asm-generic/bitops/non-atomic.h: In function ‘__set_bit’:
include/asm-generic/bitops/non-atomic.h:17:23: error: ‘BITS_PER_LONG’ undeclared (first use in this function)
include/asm-generic/bitops/non-atomic.h:17:23: note: each undeclared identifier is reported only once for each function it appears in
include/asm-generic/bitops/non-atomic.h: In function ‘__clear_bit’:
include/asm-generic/bitops/non-atomic.h:25:23: error: ‘BITS_PER_LONG’ undeclared (first use in this function)
include/asm-generic/bitops/non-atomic.h: In function ‘__change_bit’:
include/asm-generic/bitops/non-atomic.h:42:23: error: ‘BITS_PER_LONG’ undeclared (first use in this function)
include/asm-generic/bitops/non-atomic.h: In function ‘__test_and_set_bit’:
include/asm-generic/bitops/non-atomic.h:59:23: error: ‘BITS_PER_LONG’ undeclared (first use in this function)
include/asm-generic/bitops/non-atomic.h: In function ‘__test_and_clear_bit’:
include/asm-generic/bitops/non-atomic.h:78:23: error: ‘BITS_PER_LONG’ undeclared (first use in this function)
include/asm-generic/bitops/non-atomic.h: In function ‘__test_and_change_bit’:
include/asm-generic/bitops/non-atomic.h:90:23: error: ‘BITS_PER_LONG’ undeclared (first use in this function)
include/asm-generic/bitops/non-atomic.h: In function ‘test_bit’:
include/asm-generic/bitops/non-atomic.h:105:21: error: ‘BITS_PER_LONG’ undeclared (first use in this function)
In file included from /home/nightwolf/dev/minibook/linux-test/arch/arm/include/asm/bitops.h:280:0,
from include/linux/bitops.h:22,
from include/linux/thread_info.h:53,
from include/linux/preempt.h:9,
from include/linux/spinlock.h:50,
from include/linux/mmzone.h:7,
from include/linux/gfp.h:4,
from include/linux/mm.h:8,
from arch/arm/kernel/asm-offsets.c:14:
include/asm-generic/bitops/fls64.h: At top level:
include/asm-generic/bitops/fls64.h:33:2: error: #error BITS_PER_LONG not 32 or 64
...

The output contains thousands more error lines, mostly 'unknown type name' and 'dereferencing pointer to incomplete type'. Looks like some missing/incomplete headers in the toolchain, or some conflict between header files from toolchain and from the built kernel source itself... Any ideas what may cause this?
Regards,
rel