From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from obi-wan.optimeas.de ([82.165.198.204]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1XHB0p-0004E7-3S for ptxdist@pengutronix.de; Tue, 12 Aug 2014 14:17:13 +0200 Received: from [192.168.12.217] (ip-95-222-235-186.hsi15.unitymediagroup.de [95.222.235.186]) by obi-wan.optimeas.de (Postfix) with ESMTPSA id D7D156854B6F for ; Tue, 12 Aug 2014 14:17:05 +0200 (CEST) Message-ID: <53EA05BE.4060508@optimeas.de> Date: Tue, 12 Aug 2014 14:17:02 +0200 From: Matthias Klein MIME-Version: 1.0 References: <53E9F96C.5040101@optimeas.de> <53E9FAFF.8030301@erwinrol.com> In-Reply-To: <53E9FAFF.8030301@erwinrol.com> Subject: Re: [ptxdist] DistroKit platform vexpress: can't compile systemd Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de OK, I now I have used the ptxdist 2014.05.0 and OSELAS.Toolchain-2013.12.2/arm-cortexa8-linux-gnueabihf as configured in DistroKit. ptxdist go and images runs fine, but when I try to start qemu with the run script the kernel crashs. Any idea's? I am wondering that the cortexa8 compiler and not the arm-v7a compiler is configured in the platformconfig. Best regards, Matthias mak@NB-MAK:~/DistroKit$ ./configs/platform-pengutronix-vexpress/run Booting Linux on physical CPU 0x0 Linux version 3.8.4 (mak@NB-MAK) (gcc version 4.8.3 20131111 (prerelease) (OSELAS.Toolchain-2013.12.2 linaro-4.8-2013.11) ) #1 SMP Tue Aug 12 13:56:54 CEST 2014 CPU: ARMv7 Processor [410fc090] revision 0 (ARMv7), cr=10c53c7d CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache Machine: ARM-Versatile Express Memory policy: ECC disabled, Data cache writealloc sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms PERCPU: Embedded 8 pages/cpu @80e4d000 s10880 r8192 d13696 u32768 Built 1 zonelists in Zone order, mobility grouping on. Total pages: 260096 Kernel command line: root=/dev/mmcblk0p1 rootfs=ext2 rw mem=1024M console=ttyAMA0,38400n8 rootwait PID hash table entries: 4096 (order: 2, 16384 bytes) Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) Inode-cache hash table entries: 65536 (order: 6, 262144 bytes) __ex_table already sorted, skipping sort Memory: 1024MB = 1024MB total Memory: 1033072k/1033072k available, 15504k reserved, 0K highmem Virtual kernel memory layout: vector : 0xffff0000 - 0xffff1000 ( 4 kB) fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) vmalloc : 0xc0800000 - 0xff000000 (1000 MB) lowmem : 0x80000000 - 0xc0000000 (1024 MB) modules : 0x7f000000 - 0x80000000 ( 16 MB) .text : 0x80008000 - 0x80584398 (5617 kB) .init : 0x80585000 - 0x805caa80 ( 279 kB) .data : 0x805cc000 - 0x8060c460 ( 258 kB) .bss : 0x8060c460 - 0x80646dec ( 235 kB) SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 Hierarchical RCU implementation. RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2. NR_IRQS:16 nr_irqs:16 16 Console: colour dummy device 80x30 Calibrating delay loop... 621.77 BogoMIPS (lpj=3108864) pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 512 CPU: Testing write buffer coherency: ok ftrace: allocating 15217 entries in 45 pages CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 smp_twd: clock not found: -2 Calibrating local timer... 99.92MHz. Setting up static identity map for 0x60406c30 - 0x60406c88 CPU1: Booted secondary processor CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 Brought up 2 CPUs SMP: Total of 2 processors activated (21859.53 BogoMIPS). devtmpfs: initialized NET: Registered protocol family 16 DMA: preallocated 256 KiB pool for atomic coherent allocations L310 cache controller enabled l2x0: 8 ways, CACHE_ID 0x000000c0, AUX_CTRL 0x02420000, Cache size: 131072 B hw-breakpoint: debug architecture 0x0 unsupported. Serial: AMBA PL011 UART driver mb:uart0: ttyAMA0 at MMIO 0x10009000 (irq = 37) is a PL011 rev1 console [ttyAMA0] enabled mb:uart1: ttyAMA1 at MMIO 0x1000a000 (irq = 38) is a PL011 rev1 mb:uart2: ttyAMA2 at MMIO 0x1000b000 (irq = 39) is a PL011 rev1 mb:uart3: ttyAMA3 at MMIO 0x1000c000 (irq = 40) is a PL011 rev1 bio: create slab at 0 SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb Advanced Linux Sound Architecture Driver Initialized. Switching to clocksource v2m-timer1 Unable to handle kernel paging request at virtual address 69736e75 pgd = 80004000 [69736e75] *pgd=00000000 Internal error: Oops: 5 [#1] SMP ARM Modules linked in: CPU: 0 Not tainted (3.8.4 #1) PC is at kmem_cache_alloc_trace+0x48/0x15c LR is at 0x47e pc : [<800ef380>] lr : [<0000047e>] psr: 20000113 sp : bf83fdc8 ip : bf83fe00 fp : bf83fdfc r10: 805f8388 r9 : 00000080 r8 : 0000005f r7 : 8024a18c r6 : 000000d0 r5 : 69736e75 r4 : bf801200 r3 : 00000000 r2 : 805ccac0 r1 : 00885000 r0 : bf801200 Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment kernel Control: 10c53c7d Table: 6000406a DAC: 00000015 Process swapper/0 (pid: 1, stack limit = 0xbf83e238) Stack: (0xbf83fdc8 to 0xbf840000) fdc0: 80055068 80054e24 805d5348 000023bd bf8c19c0 0000005f fde0: bf974db8 0000005f 00000003 805f8388 bf83fe1c bf83fe00 8024a18c 800ef344 fe00: 00000000 00000002 bf8c19c0 0000005f bf83fe64 bf83fe20 8024af90 8024a0c8 fe20: 00000001 bf8045f4 bf804400 8063ea54 805f84e8 805f8384 bf83fe5c 00000001 fe40: 00000014 8063ec78 8060c480 8060c480 8059d210 00000000 bf83fe84 bf83fe68 fe60: 8059ca4c 8024ae8c 00000001 00000000 8063eb54 00000001 bf83feac bf83fe88 fe80: 8059cf54 8059ca0c 804e0b90 80154df4 bf83feac 8063e680 00000000 8063f440 fea0: bf83fecc bf83feb0 8059c36c 8059cdc8 804bb36c bf83fed4 0000000c 8042ce1c fec0: bf83fef4 bf83fed0 8059d2e0 8059c244 804d2c78 8060c480 8060c480 805c7abc fee0: 00000005 8060c480 bf83ff4c bf83fef8 800087a8 8059d21c 800456f0 805852d0 ff00: 00000000 bf83e038 00000005 80e4a18d 00000005 80529074 804d0ac8 80044f08 ff20: 8004ca50 805c7abc 00000005 8060c480 8060c480 805852c4 805ae514 805ae524 ff40: bf83ff94 bf83ff50 805859f8 80008670 00000005 00000005 805852c4 00000000 ff60: 00000000 0000008b 00000000 00000000 0000c480 00000000 00000000 00000000 ff80: 00000000 00000000 bf83ffac bf83ff98 803fa82c 805858c0 00000000 803fa810 ffa0: 00000000 bf83ffb0 8000e598 803fa81c 00000000 00000000 00000000 00000000 ffc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 ffe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000 [<800ef380>] (kmem_cache_alloc_trace+0x48/0x15c) from [<8024a18c>] (con_insert_unipair+0xd0/0x11c) [<8024a18c>] (con_insert_unipair+0xd0/0x11c) from [<8024af90>] (con_set_default_unimap+0x110/0x1a0) [<8024af90>] (con_set_default_unimap+0x110/0x1a0) from [<8059ca4c>] (console_map_init+0x4c/0x58) [<8059ca4c>] (console_map_init+0x4c/0x58) from [<8059cf54>] (vty_init+0x198/0x1ac) [<8059cf54>] (vty_init+0x198/0x1ac) from [<8059c36c>] (tty_init+0x134/0x14c) [<8059c36c>] (tty_init+0x134/0x14c) from [<8059d2e0>] (chr_dev_init+0xd0/0xdc) [<8059d2e0>] (chr_dev_init+0xd0/0xdc) from [<800087a8>] (do_one_initcall+0x144/0x1b4) [<800087a8>] (do_one_initcall+0x144/0x1b4) from [<805859f8>] (kernel_init_freeable+0x144/0x1dc) [<805859f8>] (kernel_init_freeable+0x144/0x1dc) from [<803fa82c>] (kernel_init+0x1c/0x168) [<803fa82c>] (kernel_init+0x1c/0x168) from [<8000e598>] (ret_from_fork+0x14/0x20) Code: e7915002 e3550000 0a000025 e5943014 (e7950003) ---[ end trace 7c943fea2588cd17 ]--- Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b CPU1: stopping [<8001668c>] (unwind_backtrace+0x0/0x100) from [<803ffa40>] (dump_stack+0x20/0x24) [<803ffa40>] (dump_stack+0x20/0x24) from [<800146b0>] (handle_IPI+0x13c/0x16c) [<800146b0>] (handle_IPI+0x13c/0x16c) from [<800085e8>] (gic_handle_irq+0x68/0x6c) [<800085e8>] (gic_handle_irq+0x68/0x6c) from [<8000e100>] (__irq_svc+0x40/0x50) Exception stack(0xbf895f60 to 0xbf895fa8) 5f60: 00000020 805d49c0 00000001 00000000 bf894000 8060c548 bf894000 805d8058 5f80: bf894000 80408fa0 00000000 bf895fb4 bf895fb8 bf895fa8 8000f800 8000f804 5fa0: 60000113 ffffffff [<8000e100>] (__irq_svc+0x40/0x50) from [<8000f804>] (default_idle+0x3c/0x40) [<8000f804>] (default_idle+0x3c/0x40) from [<8000f9b4>] (cpu_idle+0xb0/0xec) [<8000f9b4>] (cpu_idle+0xb0/0xec) from [<803fcddc>] (secondary_start_kernel+0x110/0x114) [<803fcddc>] (secondary_start_kernel+0x110/0x114) from [<603fc308>] (0x603fc308) Am 12.08.2014 13:31, schrieb Erwin Rol: > The kernel/kernelheaders are too old. > > - Erwin > > On 12-8-2014 13:24, Matthias Klein wrote: >> Hi, >> >> I tried to compile the latest DistroKit vexpress platform with ptxdist >> 2014.08.0 and OSELAS.Toolchain-2013.12.2/arm-v7a-linux-gnueabihf. >> (I changed the compiler in the platformconfig and did a ptxdist migrate) >> >> But I can't compile systemd. Any idea's, or do I need to use the older >> ptxdist version and the cortexa8 compiler? >> >> >> Best regards, >> Matthias >> >> >> ------------------- >> target: systemd.get >> ------------------- >> >> finished target systemd.get >> >> ----------------------- >> target: systemd.extract >> ----------------------- >> >> extract: pkg_src=ptxdist_src/systemd-215.tar.xz >> extract: >> pkg_extract_dir=DistroKit/platform-pengutronix-vexpress/build-target/systemd-215 >> >> >> pkg_patch_dir: 'ptxdist-2014.08.0/patches/systemd-215' >> pkg_patch_series: 'ptxdist-2014.08.0/patches/systemd-215/series' >> >> patchin: patch: apply 'ptxdist-2014.08.0/patches/systemd-215/series' >> applying '0001-util.h-include-missing.h-for-MAX_HANDLE_SZ.patch' >> patching file src/shared/util.h >> applying '0002-missing-defined-extra-clock-ids.patch' >> patching file src/shared/missing.h >> applying '0003-always-check-for-__BYTE_ORDER-__BIG_ENDIAN-when-chec.patch' >> patching file src/shared/architecture.h >> patching file src/shared/gpt.h >> patching file src/shared/time-dst.c >> patchin: patch: done >> >> finished target systemd.extract >> >> ---------------------------- >> target: systemd.extract.post >> ---------------------------- >> >> pkg_patch_autogen: '' >> >> patchin: fixup: >> DistroKit/platform-pengutronix-vexpress/build-target/systemd-215/configure >> DistroKit/platform-pengutronix-vexpress/build-target/systemd-215/build-aux/ltmain.sh >> >> patchin: fixup: done >> >> finished target systemd.extract.post >> >> ----------------------- >> target: systemd.prepare >> ----------------------- >> >> checking for arm-v7a-linux-gnueabihf-gcc... arm-v7a-linux-gnueabihf-gcc >> checking whether the C compiler works... yes >> checking for C compiler default output file name... a.out >> checking for suffix of executables... >> checking whether we are cross compiling... yes >> checking for suffix of object files... o >> checking whether we are using the GNU C compiler... yes >> checking whether arm-v7a-linux-gnueabihf-gcc accepts -g... yes >> checking for arm-v7a-linux-gnueabihf-gcc option to accept ISO C89... >> none needed >> checking how to run the C preprocessor... arm-v7a-linux-gnueabihf-cpp >> checking for grep that handles long lines and -e... /bin/grep >> checking for egrep... /bin/grep -E >> checking for ANSI C header files... yes >> checking for sys/types.h... yes >> checking for sys/stat.h... yes >> checking for stdlib.h... yes >> checking for string.h... yes >> checking for memory.h... yes >> checking for strings.h... yes >> checking for inttypes.h... yes >> checking for stdint.h... yes >> checking for unistd.h... yes >> checking minix/config.h usability... no >> checking minix/config.h presence... no >> checking for minix/config.h... no >> checking whether it is safe to define __EXTENSIONS__... yes >> checking for special C compiler options needed for large files... no >> checking for _FILE_OFFSET_BITS value needed for large files... 64 >> checking whether to enable maintainer-specific portions of Makefiles... no >> checking for a BSD-compatible install... >> /usr/local/lib/ptxdist-2014.08.0/bin/install -c >> checking whether build environment is sane... yes >> checking for arm-v7a-linux-gnueabihf-strip... arm-v7a-linux-gnueabihf-strip >> checking for a thread-safe mkdir -p... >> /usr/local/lib/ptxdist-2014.08.0/bin/mkdir -p >> checking for gawk... gawk >> checking whether make sets $(MAKE)... yes >> checking for style of include used by make... GNU >> checking whether make supports nested variables... yes >> checking how to create a pax tar archive... gnutar >> checking dependency style of arm-v7a-linux-gnueabihf-gcc... gcc3 >> checking whether make supports nested variables... (cached) yes >> checking build system type... x86_64-host-linux-gnu >> checking host system type... arm-v7a-linux-gnueabihf >> checking how to print strings... printf >> checking for a sed that does not truncate output... >> /usr/local/lib/ptxdist-2014.08.0/bin/sed >> checking for fgrep... /bin/grep -F >> checking for ld used by arm-v7a-linux-gnueabihf-gcc... >> arm-v7a-linux-gnueabihf-ld >> checking if the linker (arm-v7a-linux-gnueabihf-ld) is GNU ld... yes >> checking for BSD- or MS-compatible name lister (nm)... >> arm-v7a-linux-gnueabihf-nm >> checking the name lister (arm-v7a-linux-gnueabihf-nm) interface... BSD nm >> checking whether ln -s works... yes >> checking the maximum length of command line arguments... 1572864 >> checking whether the shell understands some XSI constructs... yes >> checking whether the shell understands "+="... yes >> checking how to convert x86_64-host-linux-gnu file names to >> arm-v7a-linux-gnueabihf format... func_convert_file_noop >> checking how to convert x86_64-host-linux-gnu file names to toolchain >> format... func_convert_file_noop >> checking for arm-v7a-linux-gnueabihf-ld option to reload object files... -r >> checking for arm-v7a-linux-gnueabihf-objdump... >> arm-v7a-linux-gnueabihf-objdump >> checking how to recognize dependent libraries... pass_all >> checking for arm-v7a-linux-gnueabihf-dlltool... >> arm-v7a-linux-gnueabihf-dlltool >> checking how to associate runtime and link libraries... printf %s\n >> checking for arm-v7a-linux-gnueabihf-ar... arm-v7a-linux-gnueabihf-ar >> checking for archiver @FILE support... @ >> checking for arm-v7a-linux-gnueabihf-strip... (cached) >> arm-v7a-linux-gnueabihf-strip >> checking for arm-v7a-linux-gnueabihf-ranlib... >> arm-v7a-linux-gnueabihf-ranlib >> checking command to parse arm-v7a-linux-gnueabihf-nm output from >> arm-v7a-linux-gnueabihf-gcc object... ok >> checking for sysroot... no >> checking for arm-v7a-linux-gnueabihf-mt... no >> checking for mt... mt >> configure: WARNING: using cross tools not prefixed with host triplet >> checking if mt is a manifest tool... no >> checking for dlfcn.h... yes >> checking for objdir... .libs >> checking if arm-v7a-linux-gnueabihf-gcc supports -fno-rtti >> -fno-exceptions... no >> checking for arm-v7a-linux-gnueabihf-gcc option to produce PIC... -fPIC >> -DPIC >> checking if arm-v7a-linux-gnueabihf-gcc PIC flag -fPIC -DPIC works... yes >> checking if arm-v7a-linux-gnueabihf-gcc static flag -static works... yes >> checking if arm-v7a-linux-gnueabihf-gcc supports -c -o file.o... yes >> checking if arm-v7a-linux-gnueabihf-gcc supports -c -o file.o... >> (cached) yes >> checking whether the arm-v7a-linux-gnueabihf-gcc linker >> (arm-v7a-linux-gnueabihf-ld) supports shared libraries... yes >> checking whether -lc should be explicitly linked in... no >> checking dynamic linker characteristics... GNU/Linux ld.so >> checking how to hardcode library paths into programs... immediate >> checking whether stripping libraries is possible... yes >> checking if libtool supports shared libraries... yes >> checking whether to build shared libraries... yes >> checking whether to build static libraries... no >> checking for intltool-merge... no >> checking whether NLS is requested... no >> checking whether ln -s works... yes >> checking for a sed that does not truncate output... (cached) >> /usr/local/lib/ptxdist-2014.08.0/bin/sed >> checking for grep that handles long lines and -e... (cached) /bin/grep >> checking for gawk... (cached) gawk >> checking for arm-v7a-linux-gnueabihf-gcc option to accept ISO C99... >> -std=gnu99 >> checking for m4... >> /home/mak/DistroKit/platform-pengutronix-vexpress/sysroot-host/bin/m4 >> checking for xsltproc... /usr/bin/xsltproc >> checking for quotaon... /usr/sbin/quotaon >> checking for quotacheck... /usr/sbin/quotacheck >> checking for kill... /bin/kill >> checking for kmod... (cached) /bin/kmod >> checking for kexec... /usr/sbin/kexec >> checking pkg-config is at least version 0.9.0... yes >> checking for gtkdoc-check... no >> checking for gtkdoc-rebase... no >> checking for gtkdoc-mkpdf... no >> checking whether to build gtk-doc documentation... no >> checking for gobject-introspection... no (disabled, use >> --enable-introspection to enable) >> checking for arm-v7a-linux-gnueabihf-strings... >> arm-v7a-linux-gnueabihf-strings >> checking for arm-v7a-linux-gnueabihf-gperf... no >> checking for gperf... gperf >> checking if arm-v7a-linux-gnueabihf-gcc -std=gnu99 supports flag -pipe >> in envvar CFLAGS... yes >> checking if arm-v7a-linux-gnueabihf-gcc -std=gnu99 supports flag -Wall >> in envvar CFLAGS... yes >> checking if arm-v7a-linux-gnueabihf-gcc -std=gnu99 supports flag -Wextra >> in envvar CFLAGS... yes >> checking if arm-v7a-linux-gnueabihf-gcc -std=gnu99 supports flag >> -Wno-inline in envvar CFLAGS... yes >> checking if arm-v7a-linux-gnueabihf-gcc -std=gnu99 supports flag -Wundef >> in envvar CFLAGS... yes >> checking if arm-v7a-linux-gnueabihf-gcc -std=gnu99 supports flag >> -Wformat=2 -Wformat-security -Wformat-nonliteral in envvar CFLAGS... yes >> checking if arm-v7a-linux-gnueabihf-gcc -std=gnu99 supports flag >> -Wlogical-op in envvar CFLAGS... yes >> checking if arm-v7a-linux-gnueabihf-gcc -std=gnu99 supports flag >> -Wsign-compare in envvar CFLAGS... yes >> checking if arm-v7a-linux-gnueabihf-gcc -std=gnu99 supports flag >> -Wmissing-include-dirs in envvar CFLAGS... yes >> checking if arm-v7a-linux-gnueabihf-gcc -std=gnu99 supports flag >> -Wold-style-definition in envvar CFLAGS... yes >> checking if arm-v7a-linux-gnueabihf-gcc -std=gnu99 supports flag >> -Wpointer-arith in envvar CFLAGS... yes >> checking if arm-v7a-linux-gnueabihf-gcc -std=gnu99 supports flag >> -Winit-self in envvar CFLAGS... yes >> checking if arm-v7a-linux-gnueabihf-gcc -std=gnu99 supports flag >> -Wdeclaration-after-statement in envvar CFLAGS... yes >> checking if arm-v7a-linux-gnueabihf-gcc -std=gnu99 supports flag >> -Wfloat-equal in envvar CFLAGS... yes >> checking if arm-v7a-linux-gnueabihf-gcc -std=gnu99 supports flag >> -Wsuggest-attribute=noreturn in envvar CFLAGS... yes >> checking if arm-v7a-linux-gnueabihf-gcc -std=gnu99 supports flag >> -Wmissing-prototypes in envvar CFLAGS... yes >> checking if arm-v7a-linux-gnueabihf-gcc -std=gnu99 supports flag >> -Wstrict-prototypes in envvar CFLAGS... yes >> checking if arm-v7a-linux-gnueabihf-gcc -std=gnu99 supports flag >> -Wredundant-decls in envvar CFLAGS... yes >> checking if arm-v7a-linux-gnueabihf-gcc -std=gnu99 supports flag >> -Wmissing-declarations in envvar CFLAGS... yes >> checking if arm-v7a-linux-gnueabihf-gcc -std=gnu99 supports flag >> -Wmissing-noreturn in envvar CFLAGS... yes >> checking if arm-v7a-linux-gnueabihf-gcc -std=gnu99 supports flag >> -Wshadow in envvar CFLAGS... yes >> checking if arm-v7a-linux-gnueabihf-gcc -std=gnu99 supports flag >> -Wendif-labels in envvar CFLAGS... yes >> checking if arm-v7a-linux-gnueabihf-gcc -std=gnu99 supports flag >> -Wstrict-aliasing=2 in envvar CFLAGS... yes >> checking if arm-v7a-linux-gnueabihf-gcc -std=gnu99 supports flag >> -Wwrite-strings in envvar CFLAGS... yes >> checking if arm-v7a-linux-gnueabihf-gcc -std=gnu99 supports flag >> -Wno-long-long in envvar CFLAGS... yes >> checking if arm-v7a-linux-gnueabihf-gcc -std=gnu99 supports flag >> -Wno-overlength-strings in envvar CFLAGS... yes >> checking if arm-v7a-linux-gnueabihf-gcc -std=gnu99 supports flag >> -Wno-unused-parameter in envvar CFLAGS... yes >> checking if arm-v7a-linux-gnueabihf-gcc -std=gnu99 supports flag >> -Wno-missing-field-initializers in envvar CFLAGS... yes >> checking if arm-v7a-linux-gnueabihf-gcc -std=gnu99 supports flag >> -Wno-unused-result in envvar CFLAGS... yes >> checking if arm-v7a-linux-gnueabihf-gcc -std=gnu99 supports flag >> -Werror=overflow in envvar CFLAGS... yes >> checking if arm-v7a-linux-gnueabihf-gcc -std=gnu99 supports flag >> -Wdate-time in envvar CFLAGS... no >> checking if arm-v7a-linux-gnueabihf-gcc -std=gnu99 supports flag >> -Wnested-externs in envvar CFLAGS... yes >> checking if arm-v7a-linux-gnueabihf-gcc -std=gnu99 supports flag >> -ffast-math in envvar CFLAGS... yes >> checking if arm-v7a-linux-gnueabihf-gcc -std=gnu99 supports flag >> -fno-common in envvar CFLAGS... yes >> checking if arm-v7a-linux-gnueabihf-gcc -std=gnu99 supports flag >> -fdiagnostics-show-option in envvar CFLAGS... yes >> checking if arm-v7a-linux-gnueabihf-gcc -std=gnu99 supports flag >> -fdiagnostics-color in envvar CFLAGS... no >> checking if arm-v7a-linux-gnueabihf-gcc -std=gnu99 supports flag >> -fno-strict-aliasing in envvar CFLAGS... yes >> checking if arm-v7a-linux-gnueabihf-gcc -std=gnu99 supports flag >> -fvisibility=hidden in envvar CFLAGS... yes >> checking if arm-v7a-linux-gnueabihf-gcc -std=gnu99 supports flag >> -ffunction-sections in envvar CFLAGS... yes >> checking if arm-v7a-linux-gnueabihf-gcc -std=gnu99 supports flag >> -fdata-sections in envvar CFLAGS... yes >> checking if arm-v7a-linux-gnueabihf-gcc -std=gnu99 supports flag >> -fstack-protector in envvar CFLAGS... yes >> checking if arm-v7a-linux-gnueabihf-gcc -std=gnu99 supports flag >> -fstack-protector-strong in envvar CFLAGS... no >> checking if arm-v7a-linux-gnueabihf-gcc -std=gnu99 supports flag -fPIE >> in envvar CFLAGS... yes >> checking if arm-v7a-linux-gnueabihf-gcc -std=gnu99 supports flag >> --param=ssp-buffer-size=4 in envvar CFLAGS... yes >> skipping -flto, optimization not enabled >> skipping -D_FORTIFY_SOURCE, optimization not enabled >> checking if arm-v7a-linux-gnueabihf-gcc -std=gnu99 supports flag >> -Wl,--as-needed in envvar LDFLAGS... yes >> checking if arm-v7a-linux-gnueabihf-gcc -std=gnu99 supports flag >> -Wl,--no-undefined in envvar LDFLAGS... yes >> checking if arm-v7a-linux-gnueabihf-gcc -std=gnu99 supports flag >> -Wl,--gc-sections in envvar LDFLAGS... yes >> checking if arm-v7a-linux-gnueabihf-gcc -std=gnu99 supports flag >> -Wl,-z,relro in envvar LDFLAGS... yes >> checking if arm-v7a-linux-gnueabihf-gcc -std=gnu99 supports flag >> -Wl,-z,now in envvar LDFLAGS... yes >> checking if arm-v7a-linux-gnueabihf-gcc -std=gnu99 supports flag -pie in >> envvar LDFLAGS... yes >> checking if arm-v7a-linux-gnueabihf-gcc -std=gnu99 supports flag >> -Wl,-fuse-ld=gold in envvar LDFLAGS... no >> checking size of pid_t... 4 >> checking size of uid_t... 4 >> checking size of gid_t... 4 >> checking size of time_t... 4 >> checking size of rlim_t... 8 >> checking for library containing dlsym... -ldl >> checking sys/capability.h usability... yes >> checking sys/capability.h presence... yes >> checking for sys/capability.h... yes >> checking linux/btrfs.h usability... yes >> checking linux/btrfs.h presence... yes >> checking for linux/btrfs.h... yes >> checking for library containing clock_gettime... none required >> checking for library containing cap_init... -lcap >> checking for library containing mq_open... -lrt >> checking for fanotify_init... yes >> checking for fanotify_mark... yes >> checking for __secure_getenv... no >> checking for secure_getenv... yes >> checking whether gettid is declared... no >> checking whether pivot_root is declared... no >> checking whether name_to_handle_at is declared... yes >> checking whether setns is declared... yes >> checking whether LO_FLAGS_PARTSCAN is declared... yes >> checking whether IFLA_PHYS_PORT_ID is declared... no >> checking whether IFLA_BOND_AD_INFO is declared... no >> checking whether IFLA_VLAN_PROTOCOL is declared... no >> checking whether IFLA_VXLAN_LOCAL6 is declared... no >> checking whether IFLA_IPTUN_6RD_RELAY_PREFIXLEN is declared... no >> checking whether IFLA_BRIDGE_VLAN_INFO is declared... no >> checking for KMOD... yes >> checking for BLKID... yes >> checking for XZ... yes >> checking for valgrind/memcheck.h... no >> checking for valgrind/valgrind.h... no >> checking for ANSI C header files... (cached) yes >> checking arpa/inet.h usability... yes >> checking arpa/inet.h presence... yes >> checking for arpa/inet.h... yes >> checking fcntl.h usability... yes >> checking fcntl.h presence... yes >> checking for fcntl.h... yes >> checking for inttypes.h... (cached) yes >> checking netdb.h usability... yes >> checking netdb.h presence... yes >> checking for netdb.h... yes >> checking netinet/in.h usability... yes >> checking netinet/in.h presence... yes >> checking for netinet/in.h... yes >> checking for stdlib.h... (cached) yes >> checking for string.h... (cached) yes >> checking sys/socket.h usability... yes >> checking sys/socket.h presence... yes >> checking for sys/socket.h... yes >> checking sys/time.h usability... yes >> checking sys/time.h presence... yes >> checking for sys/time.h... yes >> checking for unistd.h... (cached) yes >> checking nss.h usability... yes >> checking nss.h presence... yes >> checking for nss.h... yes >> checking sys/ioctl.h usability... yes >> checking sys/ioctl.h presence... yes >> checking for sys/ioctl.h... yes >> checking sys/auxv.h usability... yes >> checking sys/auxv.h presence... yes >> checking for sys/auxv.h... yes >> checking for an ANSI C-conforming const... yes >> checking for size_t... yes >> checking whether time.h and sys/time.h may both be included... yes >> checking for stdlib.h... (cached) yes >> checking for GNU libc compatible malloc... (cached) yes >> checking sys/select.h usability... yes >> checking sys/select.h presence... yes >> checking for sys/select.h... yes >> checking for sys/socket.h... (cached) yes >> checking types of arguments for select... int,fd_set *,struct timeval * >> checking for gethostbyaddr... yes >> checking for gethostbyname... yes >> checking for gettimeofday... yes >> checking for inet_ntoa... yes >> checking for memset... yes >> checking for select... yes >> checking for socket... yes >> checking for strcspn... yes >> checking for strdup... yes >> checking for strerror... yes >> checking for strncasecmp... yes >> checking for strcasecmp... yes >> checking for strspn... yes >> checking for GLIB... yes >> checking that generated files are newer than configure... done >> configure: creating ./config.status >> config.status: creating Makefile >> config.status: creating po/Makefile.in >> config.status: creating docs/libudev/Makefile >> config.status: creating docs/libudev/version.xml >> config.status: creating docs/gudev/Makefile >> config.status: creating docs/gudev/version.xml >> config.status: creating config.h >> config.status: executing depfiles commands >> config.status: executing libtool commands >> config.status: executing po/stamp-it commands >> >> systemd 215 >> >> libcryptsetup: no >> PAM: no >> AUDIT: no >> IMA: no >> AppArmor: no >> SELinux: no >> SECCOMP: no >> SMACK: no >> XZ: yes >> ACL: no >> GCRYPT: no >> QRENCODE: no >> MICROHTTPD: no >> CHKCONFIG: no >> GNUTLS: no >> ELFUTILS: no >> binfmt: no >> vconsole: yes >> readahead: yes >> bootchart: yes >> quotacheck: yes >> tmpfiles: yes >> sysusers: no >> randomseed: no >> backlight: no >> rfkill: no >> logind: no >> machined: no >> hostnamed: yes >> timedated: yes >> timesyncd: yes >> default NTP servers: >> time epoch: 1406844000 >> localed: no >> networkd: no >> resolved: no >> default DNS servers: >> coredump: no >> polkit: yes >> efi: no >> kmod: yes >> blkid: yes >> dbus: no >> nss-myhostname: yes >> gudev: yes >> gintrospection: no >> multi-seat-x: no >> kdbus: no >> Python: no >> Python Headers: no >> man pages: no >> gtk-doc: no >> test coverage: no >> Split /usr: yes >> SysV compatibility: no >> compatibility libraries: yes >> >> prefix: /usr >> rootprefix: >> sysconf dir: /etc >> datarootdir: ${prefix}/share >> includedir: ${prefix}/include >> include_prefix: >> lib dir: /usr/lib >> rootlib dir: /lib >> SysV init scripts: >> SysV rc?.d directories: >> Build Python: >> Installation Python: /usr/bin/python >> sphinx binary: >> firmware path: \"/lib/firmware/\" >> PAM modules dir: /lib/security >> PAM configuration dir: /etc/pam.d >> D-Bus policy dir: /etc/dbus-1/system.d >> D-Bus session dir: /usr/share/dbus-1/services >> D-Bus system dir: /usr/share/dbus-1/system-services >> D-Bus interfaces dir: /usr/share/dbus-1/interfaces >> Bash completions dir: ${datarootdir}/bash-completion/completions >> Zsh completions dir: ${datarootdir}/zsh/site-functions >> Extra start script: /etc/rc.local >> Extra stop script: /usr/sbin/halt.local >> Debug shell: /bin/sh @ /dev/tty9 >> TTY GID: 112 >> Maximum System UID: 999 >> Maximum System GID: 999 >> >> CFLAGS: -pipe -Wall -Wextra -Wno-inline >> -Wundef -Wformat=2 -Wformat-security -Wformat-nonliteral -Wlogical-op >> -Wsign-compare -Wmissing-include-dirs -Wold-style-definition >> -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal >> -Wsuggest-attribute=noreturn -Wmissing-prototypes -Wstrict-prototypes >> -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow >> -Wendif-labels -Wstrict-aliasing=2 -Wwrite-strings -Wno-long-long >> -Wno-overlength-strings -Wno-unused-parameter >> -Wno-missing-field-initializers -Wno-unused-result -Werror=overflow >> -Wnested-externs -ffast-math -fno-common -fdiagnostics-show-option >> -fno-strict-aliasing -fvisibility=hidden -ffunction-sections >> -fdata-sections -fstack-protector -fPIE --param=ssp-buffer-size=4 >> -I/home/mak/DistroKit/platform-pengutronix-vexpress/sysroot-target/kernel-headers/include >> >> CPPFLAGS: >> LDFLAGS: -Wl,--as-needed -Wl,--no-undefined >> -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -pie >> PYTHON_CFLAGS: >> PYTHON_LIBS: >> >> finished target systemd.prepare >> >> ----------------------- >> target: systemd.compile >> ----------------------- >> >> make[1]: Entering directory >> '/home/mak/DistroKit/platform-pengutronix-vexpress/build-target/systemd-215' >> >> GEN src/shared/errno-list.txt >> GEN src/gudev/gudevmarshal.c >> M4 src/libsystemd/libsystemd.sym >> GEN src/gudev/gudevmarshal.h >> GEN src/udev/keyboard-keys.txt >> GEN src/shared/af-list.txt >> GPERF src/udev/net/link-config-gperf.c >> GEN src/gudev/gudevenumtypes.c >> GEN src/shared/errno-to-name.h >> GEN src/udev/keyboard-keys-from-name.gperf >> GEN src/shared/errno-from-name.gperf >> GEN src/shared/af-to-name.h >> GEN src/udev/keyboard-keys-to-name.h >> GEN src/shared/af-from-name.gperf >> GPERF src/udev/keyboard-keys-from-name.h >> GPERF src/shared/af-from-name.h >> GPERF src/shared/errno-from-name.h >> make --no-print-directory all-recursive >> Making all in . >> GPERF src/libsystemd/sd-bus/bus-error-mapping.c >> CC src/libsystemd/sd-bus/libsystemd_internal_la-sd-bus.lo >> CC src/libsystemd/sd-bus/libsystemd_internal_la-bus-control.lo >> CC src/libsystemd/sd-bus/libsystemd_internal_la-bus-error.lo >> CC src/libsystemd/sd-bus/libsystemd_internal_la-bus-internal.lo >> CC src/libsystemd/sd-bus/libsystemd_internal_la-bus-socket.lo >> CC src/libsystemd/sd-bus/libsystemd_internal_la-bus-kernel.lo >> CC src/libsystemd/sd-bus/libsystemd_internal_la-bus-container.lo >> CC src/libsystemd/sd-bus/libsystemd_internal_la-bus-message.lo >> CC src/libsystemd/sd-bus/libsystemd_internal_la-bus-creds.lo >> CC src/libsystemd/sd-bus/libsystemd_internal_la-bus-signature.lo >> CC src/libsystemd/sd-bus/libsystemd_internal_la-bus-type.lo >> CC src/libsystemd/sd-bus/libsystemd_internal_la-bus-match.lo >> CC src/libsystemd/sd-bus/libsystemd_internal_la-bus-bloom.lo >> CC src/libsystemd/sd-bus/libsystemd_internal_la-bus-introspect.lo >> CC src/libsystemd/sd-bus/libsystemd_internal_la-bus-objects.lo >> CC src/libsystemd/sd-bus/libsystemd_internal_la-bus-gvariant.lo >> CC src/libsystemd/sd-bus/libsystemd_internal_la-bus-track.lo >> CC src/libsystemd/sd-bus/libsystemd_internal_la-bus-convenience.lo >> CC src/libsystemd/sd-bus/libsystemd_internal_la-bus-util.lo >> CC src/libsystemd/sd-bus/libsystemd_internal_la-bus-slot.lo >> CC src/libsystemd/sd-bus/libsystemd_internal_la-sd-memfd.lo >> CC src/libsystemd/sd-utf8/libsystemd_internal_la-sd-utf8.lo >> CC src/libsystemd/sd-event/libsystemd_internal_la-sd-event.lo >> CC src/libsystemd/sd-rtnl/libsystemd_internal_la-sd-rtnl.lo >> CC src/libsystemd/sd-rtnl/libsystemd_internal_la-rtnl-message.lo >> CC src/libsystemd/sd-rtnl/libsystemd_internal_la-rtnl-types.lo >> CC src/libsystemd/sd-rtnl/libsystemd_internal_la-rtnl-util.lo >> CC src/libsystemd/sd-id128/libsystemd_internal_la-sd-id128.lo >> CC src/libsystemd/sd-daemon/libsystemd_internal_la-sd-daemon.lo >> CC src/libsystemd/sd-login/libsystemd_internal_la-sd-login.lo >> src/libsystemd/sd-rtnl/rtnl-types.c:51:10: error: 'IFLA_MACVLAN_FLAGS' >> undeclared here (not in a function) >> [IFLA_MACVLAN_FLAGS] = { .type = NLA_U16 }, >> ^ >> src/libsystemd/sd-rtnl/rtnl-types.c:51:9: error: array index in >> initializer not of integer type >> [IFLA_MACVLAN_FLAGS] = { .type = NLA_U16 }, >> ^ >> src/libsystemd/sd-rtnl/rtnl-types.c:51:9: error: (near initialization >> for 'rtnl_link_info_data_macvlan_types') >> src/libsystemd/sd-rtnl/rtnl-types.c:51:9: warning: excess elements in >> array initializer [enabled by default] >> src/libsystemd/sd-rtnl/rtnl-types.c:51:9: warning: (near initialization >> for 'rtnl_link_info_data_macvlan_types') [enabled by default] >> src/libsystemd/sd-rtnl/rtnl-types.c:150:53: error: 'IFLA_VTI_MAX' >> undeclared here (not in a function) >> static const NLType rtnl_link_info_data_ipvti_types[IFLA_VTI_MAX + 1] = { >> ^ >> src/libsystemd/sd-rtnl/rtnl-types.c:151:10: error: 'IFLA_VTI_LINK' >> undeclared here (not in a function) >> [IFLA_VTI_LINK] = { .type = NLA_U32 }, >> ^ >> src/libsystemd/sd-rtnl/rtnl-types.c:151:9: error: array index in >> initializer not of integer type >> [IFLA_VTI_LINK] = { .type = NLA_U32 }, >> ^ >> src/libsystemd/sd-rtnl/rtnl-types.c:151:9: error: (near initialization >> for 'rtnl_link_info_data_ipvti_types') >> src/libsystemd/sd-rtnl/rtnl-types.c:151:9: error: field name not in >> record or union initializer >> src/libsystemd/sd-rtnl/rtnl-types.c:151:9: error: (near initialization >> for 'rtnl_link_info_data_ipvti_types') >> src/libsystemd/sd-rtnl/rtnl-types.c:152:10: error: 'IFLA_VTI_IKEY' >> undeclared here (not in a function) >> [IFLA_VTI_IKEY] = { .type = NLA_U32 }, >> ^ >> src/libsystemd/sd-rtnl/rtnl-types.c:152:9: error: array index in >> initializer not of integer type >> [IFLA_VTI_IKEY] = { .type = NLA_U32 }, >> ^ >> src/libsystemd/sd-rtnl/rtnl-types.c:152:9: error: (near initialization >> for 'rtnl_link_info_data_ipvti_types') >> src/libsystemd/sd-rtnl/rtnl-types.c:152:9: error: field name not in >> record or union initializer >> src/libsystemd/sd-rtnl/rtnl-types.c:152:9: error: (near initialization >> for 'rtnl_link_info_data_ipvti_types') >> src/libsystemd/sd-rtnl/rtnl-types.c:153:10: error: 'IFLA_VTI_OKEY' >> undeclared here (not in a function) >> [IFLA_VTI_OKEY] = { .type = NLA_U32 }, >> ^ >> src/libsystemd/sd-rtnl/rtnl-types.c:153:9: error: array index in >> initializer not of integer type >> [IFLA_VTI_OKEY] = { .type = NLA_U32 }, >> ^ >> src/libsystemd/sd-rtnl/rtnl-types.c:153:9: error: (near initialization >> for 'rtnl_link_info_data_ipvti_types') >> src/libsystemd/sd-rtnl/rtnl-types.c:153:9: error: field name not in >> record or union initializer >> src/libsystemd/sd-rtnl/rtnl-types.c:153:9: error: (near initialization >> for 'rtnl_link_info_data_ipvti_types') >> src/libsystemd/sd-rtnl/rtnl-types.c:154:10: error: 'IFLA_VTI_LOCAL' >> undeclared here (not in a function) >> [IFLA_VTI_LOCAL] = { .type = NLA_IN_ADDR }, >> ^ >> src/libsystemd/sd-rtnl/rtnl-types.c:154:9: error: array index in >> initializer not of integer type >> [IFLA_VTI_LOCAL] = { .type = NLA_IN_ADDR }, >> ^ >> src/libsystemd/sd-rtnl/rtnl-types.c:154:9: error: (near initialization >> for 'rtnl_link_info_data_ipvti_types') >> src/libsystemd/sd-rtnl/rtnl-types.c:154:9: error: field name not in >> record or union initializer >> src/libsystemd/sd-rtnl/rtnl-types.c:154:9: error: (near initialization >> for 'rtnl_link_info_data_ipvti_types') >> src/libsystemd/sd-rtnl/rtnl-types.c:155:10: error: 'IFLA_VTI_REMOTE' >> undeclared here (not in a function) >> [IFLA_VTI_REMOTE] = { .type = NLA_IN_ADDR }, >> ^ >> src/libsystemd/sd-rtnl/rtnl-types.c:155:9: error: array index in >> initializer not of integer type >> [IFLA_VTI_REMOTE] = { .type = NLA_IN_ADDR }, >> ^ >> src/libsystemd/sd-rtnl/rtnl-types.c:155:9: error: (near initialization >> for 'rtnl_link_info_data_ipvti_types') >> src/libsystemd/sd-rtnl/rtnl-types.c:155:9: error: field name not in >> record or union initializer >> src/libsystemd/sd-rtnl/rtnl-types.c:155:9: error: (near initialization >> for 'rtnl_link_info_data_ipvti_types') >> src/libsystemd/sd-rtnl/rtnl-types.c:150:21: warning: >> 'rtnl_link_info_data_ipvti_types' defined but not used [-Wunused-variable] >> static const NLType rtnl_link_info_data_ipvti_types[IFLA_VTI_MAX + 1] = { >> ^ >> make[3]: *** >> [src/libsystemd/sd-rtnl/libsystemd_internal_la-rtnl-types.lo] Error 1 >> Makefile:12729: recipe for target >> 'src/libsystemd/sd-rtnl/libsystemd_internal_la-rtnl-types.lo' failed >> make[3]: *** Waiting for unfinished jobs.... >> Makefile:15899: recipe for target 'all-recursive' failed >> make[2]: *** [all-recursive] Error 1 >> Makefile:8056: recipe for target 'all' failed >> make[1]: *** [all] Error 2 >> make[1]: Leaving directory >> '/home/mak/DistroKit/platform-pengutronix-vexpress/build-target/systemd-215' >> >> make: *** >> [/home/mak/DistroKit/platform-pengutronix-vexpress/state/systemd.compile] Error >> 2 >> /usr/local/lib/ptxdist-2014.08.0/rules/post/ptxd_make_world_compile.make:21: >> recipe for target >> '/home/mak/DistroKit/platform-pengutronix-vexpress/state/systemd.compile' failed >> >> >> > -- ptxdist mailing list ptxdist@pengutronix.de