public inbox for gentoo-musl@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-musl] vboot-utils fails to compile on musl
@ 2016-04-23  2:49 Laine Gholson
  2016-04-23  4:35 ` Anthony G. Basile
  2016-04-28 18:56 ` Felix Janda
  0 siblings, 2 replies; 3+ messages in thread
From: Laine Gholson @ 2016-04-23  2:49 UTC (permalink / raw
  To: gentoo-musl

[-- Attachment #1: Type: text/plain, Size: 1075 bytes --]

I was trying to install vboot-utils while I was bootstrapping hardened
musl gentoo, but it failed because it tried to use a non-standard C
header.

This is where it failed:
    CC            firmware/stub/vboot_api_stub_sf.o
armv7a-hardfloat-linux-musleabi-gcc -Os -pipe -mthumb -mcpu=cortex-a15
-mfpu=neon-vfpv4 -mfloat-abi=hard -DCHROMEOS_ENVIRONMENT -Wall
-DNDEBUG -MMD -MF
/var/tmp/portage/sys-boot/vboot-utils-42_p20150219/work/build/firmware/stub/vboot_api_stub_sf.o.d
-fPIE -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
-DTPM_BLOCKING_CONTINUESELFTEST -DDISABLE_ROLLBACK_TPM
-Ifirmware/include -Ifirmware/lib/include
-Ifirmware/lib/cgptlib/include -Ifirmware/lib/cryptolib/include
-Ifirmware/lib/tpm_lite/include -Ifirmware/2lib/include -Ihost/include
-Ihost/lib/include -c -o
/var/tmp/portage/sys-boot/vboot-utils-42_p20150219/work/build/firmware/stub/vboot_api_stub_sf.o
firmware/stub/vboot_api_stub_sf.c
firmware/stub/vboot_api_stub_sf.c:8:22: fatal error: execinfo.h: No
such file or directory
 #include <execinfo.h>
                      ^

Other information is attached.

[-- Attachment #2: info.txt --]
[-- Type: text/plain, Size: 28479 bytes --]

`emerge --info '=sys-boot/vboot-utils-42_p20150219::gentoo` output: 
Portage 2.2.26 (python 2.7.10-final-0, hardened/linux/musl/arm/armv7a, gcc-4.9.3, musl-1.1.14, 3.10.18-laine armv7l)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.10.18-laine-armv7l-with-gentoo-2.2
KiB Mem:     2028192 total,    214112 free
KiB Swap:     676060 total,    615288 free
Timestamp of repository gentoo: Thu, 21 Apr 2016 22:30:01 +0000
sh bash 4.3_p42-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p42-r1::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.10-r1::gentoo, 3.4.3-r1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.19.1::gentoo
sys-apps/sandbox:         2.10-r99::musl
sys-devel/autoconf:       2.69::gentoo
sys-devel/automake:       1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3-r99::musl
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.3-r99::musl (virtual/os-headers)
sys-libs/musl:            1.1.14::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

musl
    location: /var/lib/layman/musl
    masters: gentoo
    priority: 0

ACCEPT_KEYWORDS="arm"
ACCEPT_LICENSE="* -@EULA"
CBUILD="armv7a-hardfloat-linux-musleabi"
CFLAGS="-Os -pipe -mthumb -mcpu=cortex-a15 -mfpu=neon-vfpv4 -mfloat-abi=hard"
CHOST="armv7a-hardfloat-linux-musleabi"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-Os -pipe -mthumb -mcpu=cortex-a15 -mfpu=neon-vfpv4 -mfloat-abi=hard"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-Os -pipe -mthumb -mcpu=cortex-a15 -mfpu=neon-vfpv4 -mfloat-abi=hard"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-Os -pipe -mthumb -mcpu=cortex-a15 -mfpu=neon-vfpv4 -mfloat-abi=hard"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
INSTALL_MASK="charset.alias"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
USE="arm bindist cli cracklib crypt cxx dri fortran hardened iconv ipv6 modules ncurses nls nptl openmp pax_kernel pcre pic readline seccomp session ssl tcpd unicode xattr zlib" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="musl" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="dummy fbdev v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

`emerge -pqv '=sys-boot/vboot-utils-42_p20150219::gentoo'` output:
[ebuild  N    ] sys-boot/vboot-utils-42_p20150219  USE="-minimal -static" 

emerge log:
 * Package:    sys-boot/vboot-utils-42_p20150219
 * Repository: gentoo
 * Maintainer: zmedico@gentoo.org vapier@gentoo.org
 * Upstream:   http://crbug.com
 * USE:        arm elibc_musl kernel_linux userland_GNU
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking vboot-utils-42_p20150219.tar.xz to /var/tmp/portage/sys-boot/vboot-utils-42_p20150219/work
>>> Source unpacked in /var/tmp/portage/sys-boot/vboot-utils-42_p20150219/work
>>> Preparing source in /var/tmp/portage/sys-boot/vboot-utils-42_p20150219/work ...
 * Applying vboot-utils-42_p20150219-cgpt-static.patch ...                      [ ok ]
 * Applying vboot-utils-42_p20150219-sysmacros.patch ...                        [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sys-boot/vboot-utils-42_p20150219/work ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/sys-boot/vboot-utils-42_p20150219/work ...
make -j4 V=1 QEMU_ARCH= ARCH=arm HOST_ARCH=arm LIBDIR=lib DEBUG_FLAGS= MINIMAL= STATIC= TEST_BINS= all 
    CC            firmware/linktest/main_vbinit.o
armv7a-hardfloat-linux-musleabi-gcc -Os -pipe -mthumb -mcpu=cortex-a15 -mfpu=neon-vfpv4 -mfloat-abi=hard -DCHROMEOS_ENVIRONMENT -Wall  -DNDEBUG -MMD -MF /var/tmp/portage/sys-boot/vboot-utils-42_p20150219/work/build/firmware/linktest/main_vbinit.o.d -fPIE -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -Ifirmware/include -Ifirmware/lib/include -Ifirmware/lib/cgptlib/include -Ifirmware/lib/cryptolib/include -Ifirmware/lib/tpm_lite/include -Ifirmware/2lib/include -Ihost/include -Ihost/lib/include -c -o /var/tmp/portage/sys-boot/vboot-utils-42_p20150219/work/build/firmware/linktest/main_vbinit.o firmware/linktest/main_vbinit.c
    CC            firmware/lib/crc8.o
    CC            firmware/lib/utility.o
    CC            firmware/lib/vboot_api_init.o
armv7a-hardfloat-linux-musleabi-gcc -Os -pipe -mthumb -mcpu=cortex-a15 -mfpu=neon-vfpv4 -mfloat-abi=hard -DCHROMEOS_ENVIRONMENT -Wall  -DNDEBUG -MMD -MF /var/tmp/portage/sys-boot/vboot-utils-42_p20150219/work/build/firmware/lib/crc8.o.d -fPIE -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DTPM_BLOCKING_CONTINUESELFTEST -DDISABLE_ROLLBACK_TPM -Ifirmware/include -Ifirmware/lib/include -Ifirmware/lib/cgptlib/include -Ifirmware/lib/cryptolib/include -Ifirmware/lib/tpm_lite/include -Ifirmware/2lib/include -Ihost/include -Ihost/lib/include -c -o /var/tmp/portage/sys-boot/vboot-utils-42_p20150219/work/build/firmware/lib/crc8.o firmware/lib/crc8.c
armv7a-hardfloat-linux-musleabi-gcc -Os -pipe -mthumb -mcpu=cortex-a15 -mfpu=neon-vfpv4 -mfloat-abi=hard -DCHROMEOS_ENVIRONMENT -Wall  -DNDEBUG -MMD -MF /var/tmp/portage/sys-boot/vboot-utils-42_p20150219/work/build/firmware/lib/utility.o.d -fPIE -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DTPM_BLOCKING_CONTINUESELFTEST -DDISABLE_ROLLBACK_TPM -Ifirmware/include -Ifirmware/lib/include -Ifirmware/lib/cgptlib/include -Ifirmware/lib/cryptolib/include -Ifirmware/lib/tpm_lite/include -Ifirmware/2lib/include -Ihost/include -Ihost/lib/include -c -o /var/tmp/portage/sys-boot/vboot-utils-42_p20150219/work/build/firmware/lib/utility.o firmware/lib/utility.c
armv7a-hardfloat-linux-musleabi-gcc -Os -pipe -mthumb -mcpu=cortex-a15 -mfpu=neon-vfpv4 -mfloat-abi=hard -DCHROMEOS_ENVIRONMENT -Wall  -DNDEBUG -MMD -MF /var/tmp/portage/sys-boot/vboot-utils-42_p20150219/work/build/firmware/lib/vboot_api_init.o.d -fPIE -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DTPM_BLOCKING_CONTINUESELFTEST -DDISABLE_ROLLBACK_TPM -Ifirmware/include -Ifirmware/lib/include -Ifirmware/lib/cgptlib/include -Ifirmware/lib/cryptolib/include -Ifirmware/lib/tpm_lite/include -Ifirmware/2lib/include -Ihost/include -Ihost/lib/include -c -o /var/tmp/portage/sys-boot/vboot-utils-42_p20150219/work/build/firmware/lib/vboot_api_init.o firmware/lib/vboot_api_init.c
    CC            firmware/lib/vboot_common_init.o
armv7a-hardfloat-linux-musleabi-gcc -Os -pipe -mthumb -mcpu=cortex-a15 -mfpu=neon-vfpv4 -mfloat-abi=hard -DCHROMEOS_ENVIRONMENT -Wall  -DNDEBUG -MMD -MF /var/tmp/portage/sys-boot/vboot-utils-42_p20150219/work/build/firmware/lib/vboot_common_init.o.d -fPIE -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DTPM_BLOCKING_CONTINUESELFTEST -DDISABLE_ROLLBACK_TPM -Ifirmware/include -Ifirmware/lib/include -Ifirmware/lib/cgptlib/include -Ifirmware/lib/cryptolib/include -Ifirmware/lib/tpm_lite/include -Ifirmware/2lib/include -Ihost/include -Ihost/lib/include -c -o /var/tmp/portage/sys-boot/vboot-utils-42_p20150219/work/build/firmware/lib/vboot_common_init.o firmware/lib/vboot_common_init.c
    CC            firmware/lib/vboot_nvstorage.o
armv7a-hardfloat-linux-musleabi-gcc -Os -pipe -mthumb -mcpu=cortex-a15 -mfpu=neon-vfpv4 -mfloat-abi=hard -DCHROMEOS_ENVIRONMENT -Wall  -DNDEBUG -MMD -MF /var/tmp/portage/sys-boot/vboot-utils-42_p20150219/work/build/firmware/lib/vboot_nvstorage.o.d -fPIE -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DTPM_BLOCKING_CONTINUESELFTEST -DDISABLE_ROLLBACK_TPM -Ifirmware/include -Ifirmware/lib/include -Ifirmware/lib/cgptlib/include -Ifirmware/lib/cryptolib/include -Ifirmware/lib/tpm_lite/include -Ifirmware/2lib/include -Ihost/include -Ihost/lib/include -c -o /var/tmp/portage/sys-boot/vboot-utils-42_p20150219/work/build/firmware/lib/vboot_nvstorage.o firmware/lib/vboot_nvstorage.c
    CC            firmware/lib/vboot_nvstorage_rollback.o
armv7a-hardfloat-linux-musleabi-gcc -Os -pipe -mthumb -mcpu=cortex-a15 -mfpu=neon-vfpv4 -mfloat-abi=hard -DCHROMEOS_ENVIRONMENT -Wall  -DNDEBUG -MMD -MF /var/tmp/portage/sys-boot/vboot-utils-42_p20150219/work/build/firmware/lib/vboot_nvstorage_rollback.o.d -fPIE -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DTPM_BLOCKING_CONTINUESELFTEST -DDISABLE_ROLLBACK_TPM -Ifirmware/include -Ifirmware/lib/include -Ifirmware/lib/cgptlib/include -Ifirmware/lib/cryptolib/include -Ifirmware/lib/tpm_lite/include -Ifirmware/2lib/include -Ihost/include -Ihost/lib/include -c -o /var/tmp/portage/sys-boot/vboot-utils-42_p20150219/work/build/firmware/lib/vboot_nvstorage_rollback.o firmware/lib/vboot_nvstorage_rollback.c
    CC            firmware/lib/region-init.o
armv7a-hardfloat-linux-musleabi-gcc -Os -pipe -mthumb -mcpu=cortex-a15 -mfpu=neon-vfpv4 -mfloat-abi=hard -DCHROMEOS_ENVIRONMENT -Wall  -DNDEBUG -MMD -MF /var/tmp/portage/sys-boot/vboot-utils-42_p20150219/work/build/firmware/lib/region-init.o.d -fPIE -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DTPM_BLOCKING_CONTINUESELFTEST -DDISABLE_ROLLBACK_TPM -Ifirmware/include -Ifirmware/lib/include -Ifirmware/lib/cgptlib/include -Ifirmware/lib/cryptolib/include -Ifirmware/lib/tpm_lite/include -Ifirmware/2lib/include -Ihost/include -Ihost/lib/include -c -o /var/tmp/portage/sys-boot/vboot-utils-42_p20150219/work/build/firmware/lib/region-init.o firmware/lib/region-init.c
    CC            firmware/lib/rollback_index.o
armv7a-hardfloat-linux-musleabi-gcc -Os -pipe -mthumb -mcpu=cortex-a15 -mfpu=neon-vfpv4 -mfloat-abi=hard -DCHROMEOS_ENVIRONMENT -Wall  -DNDEBUG -MMD -MF /var/tmp/portage/sys-boot/vboot-utils-42_p20150219/work/build/firmware/lib/rollback_index.o.d -fPIE -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DTPM_BLOCKING_CONTINUESELFTEST -DDISABLE_ROLLBACK_TPM -Ifirmware/include -Ifirmware/lib/include -Ifirmware/lib/cgptlib/include -Ifirmware/lib/cryptolib/include -Ifirmware/lib/tpm_lite/include -Ifirmware/2lib/include -Ihost/include -Ihost/lib/include -c -o /var/tmp/portage/sys-boot/vboot-utils-42_p20150219/work/build/firmware/lib/rollback_index.o firmware/lib/rollback_index.c
    CC            firmware/lib/tpm_lite/tlcl.o
armv7a-hardfloat-linux-musleabi-gcc -Os -pipe -mthumb -mcpu=cortex-a15 -mfpu=neon-vfpv4 -mfloat-abi=hard -DCHROMEOS_ENVIRONMENT -Wall  -DNDEBUG -MMD -MF /var/tmp/portage/sys-boot/vboot-utils-42_p20150219/work/build/firmware/lib/tpm_lite/tlcl.o.d -fPIE -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DTPM_BLOCKING_CONTINUESELFTEST -DDISABLE_ROLLBACK_TPM -Ifirmware/include -Ifirmware/lib/include -Ifirmware/lib/cgptlib/include -Ifirmware/lib/cryptolib/include -Ifirmware/lib/tpm_lite/include -Ifirmware/2lib/include -Ihost/include -Ihost/lib/include -c -o /var/tmp/portage/sys-boot/vboot-utils-42_p20150219/work/build/firmware/lib/tpm_lite/tlcl.o firmware/lib/tpm_lite/tlcl.c
    CC            firmware/stub/tpm_lite_stub.o
armv7a-hardfloat-linux-musleabi-gcc -Os -pipe -mthumb -mcpu=cortex-a15 -mfpu=neon-vfpv4 -mfloat-abi=hard -DCHROMEOS_ENVIRONMENT -Wall  -DNDEBUG -MMD -MF /var/tmp/portage/sys-boot/vboot-utils-42_p20150219/work/build/firmware/stub/tpm_lite_stub.o.d -fPIE -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DTPM_BLOCKING_CONTINUESELFTEST -DDISABLE_ROLLBACK_TPM -Ifirmware/include -Ifirmware/lib/include -Ifirmware/lib/cgptlib/include -Ifirmware/lib/cryptolib/include -Ifirmware/lib/tpm_lite/include -Ifirmware/2lib/include -Ihost/include -Ihost/lib/include -c -o /var/tmp/portage/sys-boot/vboot-utils-42_p20150219/work/build/firmware/stub/tpm_lite_stub.o firmware/stub/tpm_lite_stub.c
    CC            firmware/stub/utility_stub.o
armv7a-hardfloat-linux-musleabi-gcc -Os -pipe -mthumb -mcpu=cortex-a15 -mfpu=neon-vfpv4 -mfloat-abi=hard -DCHROMEOS_ENVIRONMENT -Wall  -DNDEBUG -MMD -MF /var/tmp/portage/sys-boot/vboot-utils-42_p20150219/work/build/firmware/stub/utility_stub.o.d -fPIE -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DTPM_BLOCKING_CONTINUESELFTEST -DDISABLE_ROLLBACK_TPM -Ifirmware/include -Ifirmware/lib/include -Ifirmware/lib/cgptlib/include -Ifirmware/lib/cryptolib/include -Ifirmware/lib/tpm_lite/include -Ifirmware/2lib/include -Ihost/include -Ihost/lib/include -c -o /var/tmp/portage/sys-boot/vboot-utils-42_p20150219/work/build/firmware/stub/utility_stub.o firmware/stub/utility_stub.c
    CC            firmware/stub/vboot_api_stub_init.o
armv7a-hardfloat-linux-musleabi-gcc -Os -pipe -mthumb -mcpu=cortex-a15 -mfpu=neon-vfpv4 -mfloat-abi=hard -DCHROMEOS_ENVIRONMENT -Wall  -DNDEBUG -MMD -MF /var/tmp/portage/sys-boot/vboot-utils-42_p20150219/work/build/firmware/stub/vboot_api_stub_init.o.d -fPIE -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DTPM_BLOCKING_CONTINUESELFTEST -DDISABLE_ROLLBACK_TPM -Ifirmware/include -Ifirmware/lib/include -Ifirmware/lib/cgptlib/include -Ifirmware/lib/cryptolib/include -Ifirmware/lib/tpm_lite/include -Ifirmware/2lib/include -Ihost/include -Ihost/lib/include -c -o /var/tmp/portage/sys-boot/vboot-utils-42_p20150219/work/build/firmware/stub/vboot_api_stub_init.o firmware/stub/vboot_api_stub_init.c
    CC            firmware/stub/vboot_api_stub_region.o
armv7a-hardfloat-linux-musleabi-gcc -Os -pipe -mthumb -mcpu=cortex-a15 -mfpu=neon-vfpv4 -mfloat-abi=hard -DCHROMEOS_ENVIRONMENT -Wall  -DNDEBUG -MMD -MF /var/tmp/portage/sys-boot/vboot-utils-42_p20150219/work/build/firmware/stub/vboot_api_stub_region.o.d -fPIE -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DTPM_BLOCKING_CONTINUESELFTEST -DDISABLE_ROLLBACK_TPM -Ifirmware/include -Ifirmware/lib/include -Ifirmware/lib/cgptlib/include -Ifirmware/lib/cryptolib/include -Ifirmware/lib/tpm_lite/include -Ifirmware/2lib/include -Ihost/include -Ihost/lib/include -c -o /var/tmp/portage/sys-boot/vboot-utils-42_p20150219/work/build/firmware/stub/vboot_api_stub_region.o firmware/stub/vboot_api_stub_region.c
    CC            firmware/linktest/main_vbsf.o
armv7a-hardfloat-linux-musleabi-gcc -Os -pipe -mthumb -mcpu=cortex-a15 -mfpu=neon-vfpv4 -mfloat-abi=hard -DCHROMEOS_ENVIRONMENT -Wall  -DNDEBUG -MMD -MF /var/tmp/portage/sys-boot/vboot-utils-42_p20150219/work/build/firmware/linktest/main_vbsf.o.d -fPIE -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -Ifirmware/include -Ifirmware/lib/include -Ifirmware/lib/cgptlib/include -Ifirmware/lib/cryptolib/include -Ifirmware/lib/tpm_lite/include -Ifirmware/2lib/include -Ihost/include -Ihost/lib/include -c -o /var/tmp/portage/sys-boot/vboot-utils-42_p20150219/work/build/firmware/linktest/main_vbsf.o firmware/linktest/main_vbsf.c
    CC            firmware/lib/cryptolib/padding.o
armv7a-hardfloat-linux-musleabi-gcc -Os -pipe -mthumb -mcpu=cortex-a15 -mfpu=neon-vfpv4 -mfloat-abi=hard -DCHROMEOS_ENVIRONMENT -Wall  -DNDEBUG -MMD -MF /var/tmp/portage/sys-boot/vboot-utils-42_p20150219/work/build/firmware/lib/cryptolib/padding.o.d -fPIE -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DTPM_BLOCKING_CONTINUESELFTEST -DDISABLE_ROLLBACK_TPM -Ifirmware/include -Ifirmware/lib/include -Ifirmware/lib/cgptlib/include -Ifirmware/lib/cryptolib/include -Ifirmware/lib/tpm_lite/include -Ifirmware/2lib/include -Ihost/include -Ihost/lib/include -c -o /var/tmp/portage/sys-boot/vboot-utils-42_p20150219/work/build/firmware/lib/cryptolib/padding.o firmware/lib/cryptolib/padding.c
    CC            firmware/lib/cryptolib/rsa.o
armv7a-hardfloat-linux-musleabi-gcc -Os -pipe -mthumb -mcpu=cortex-a15 -mfpu=neon-vfpv4 -mfloat-abi=hard -DCHROMEOS_ENVIRONMENT -Wall  -DNDEBUG -MMD -MF /var/tmp/portage/sys-boot/vboot-utils-42_p20150219/work/build/firmware/lib/cryptolib/rsa.o.d -fPIE -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DTPM_BLOCKING_CONTINUESELFTEST -DDISABLE_ROLLBACK_TPM -Ifirmware/include -Ifirmware/lib/include -Ifirmware/lib/cgptlib/include -Ifirmware/lib/cryptolib/include -Ifirmware/lib/tpm_lite/include -Ifirmware/2lib/include -Ihost/include -Ihost/lib/include -c -o /var/tmp/portage/sys-boot/vboot-utils-42_p20150219/work/build/firmware/lib/cryptolib/rsa.o firmware/lib/cryptolib/rsa.c
    CC            firmware/lib/cryptolib/rsa_utility.o
armv7a-hardfloat-linux-musleabi-gcc -Os -pipe -mthumb -mcpu=cortex-a15 -mfpu=neon-vfpv4 -mfloat-abi=hard -DCHROMEOS_ENVIRONMENT -Wall  -DNDEBUG -MMD -MF /var/tmp/portage/sys-boot/vboot-utils-42_p20150219/work/build/firmware/lib/cryptolib/rsa_utility.o.d -fPIE -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DTPM_BLOCKING_CONTINUESELFTEST -DDISABLE_ROLLBACK_TPM -Ifirmware/include -Ifirmware/lib/include -Ifirmware/lib/cgptlib/include -Ifirmware/lib/cryptolib/include -Ifirmware/lib/tpm_lite/include -Ifirmware/2lib/include -Ihost/include -Ihost/lib/include -c -o /var/tmp/portage/sys-boot/vboot-utils-42_p20150219/work/build/firmware/lib/cryptolib/rsa_utility.o firmware/lib/cryptolib/rsa_utility.c
    CC            firmware/lib/cryptolib/sha1.o
armv7a-hardfloat-linux-musleabi-gcc -Os -pipe -mthumb -mcpu=cortex-a15 -mfpu=neon-vfpv4 -mfloat-abi=hard -DCHROMEOS_ENVIRONMENT -Wall  -DNDEBUG -MMD -MF /var/tmp/portage/sys-boot/vboot-utils-42_p20150219/work/build/firmware/lib/cryptolib/sha1.o.d -fPIE -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DTPM_BLOCKING_CONTINUESELFTEST -DDISABLE_ROLLBACK_TPM -Ifirmware/include -Ifirmware/lib/include -Ifirmware/lib/cgptlib/include -Ifirmware/lib/cryptolib/include -Ifirmware/lib/tpm_lite/include -Ifirmware/2lib/include -Ihost/include -Ihost/lib/include -c -o /var/tmp/portage/sys-boot/vboot-utils-42_p20150219/work/build/firmware/lib/cryptolib/sha1.o firmware/lib/cryptolib/sha1.c
    CC            firmware/lib/cryptolib/sha256.o
armv7a-hardfloat-linux-musleabi-gcc -Os -pipe -mthumb -mcpu=cortex-a15 -mfpu=neon-vfpv4 -mfloat-abi=hard -DCHROMEOS_ENVIRONMENT -Wall  -DNDEBUG -MMD -MF /var/tmp/portage/sys-boot/vboot-utils-42_p20150219/work/build/firmware/lib/cryptolib/sha256.o.d -fPIE -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DTPM_BLOCKING_CONTINUESELFTEST -DDISABLE_ROLLBACK_TPM -Ifirmware/include -Ifirmware/lib/include -Ifirmware/lib/cgptlib/include -Ifirmware/lib/cryptolib/include -Ifirmware/lib/tpm_lite/include -Ifirmware/2lib/include -Ihost/include -Ihost/lib/include -c -o /var/tmp/portage/sys-boot/vboot-utils-42_p20150219/work/build/firmware/lib/cryptolib/sha256.o firmware/lib/cryptolib/sha256.c
    CC            firmware/lib/cryptolib/sha512.o
armv7a-hardfloat-linux-musleabi-gcc -Os -pipe -mthumb -mcpu=cortex-a15 -mfpu=neon-vfpv4 -mfloat-abi=hard -DCHROMEOS_ENVIRONMENT -Wall  -DNDEBUG -MMD -MF /var/tmp/portage/sys-boot/vboot-utils-42_p20150219/work/build/firmware/lib/cryptolib/sha512.o.d -fPIE -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DTPM_BLOCKING_CONTINUESELFTEST -DDISABLE_ROLLBACK_TPM -Ifirmware/include -Ifirmware/lib/include -Ifirmware/lib/cgptlib/include -Ifirmware/lib/cryptolib/include -Ifirmware/lib/tpm_lite/include -Ifirmware/2lib/include -Ihost/include -Ihost/lib/include -c -o /var/tmp/portage/sys-boot/vboot-utils-42_p20150219/work/build/firmware/lib/cryptolib/sha512.o firmware/lib/cryptolib/sha512.c
    CC            firmware/lib/cryptolib/sha_utility.o
armv7a-hardfloat-linux-musleabi-gcc -Os -pipe -mthumb -mcpu=cortex-a15 -mfpu=neon-vfpv4 -mfloat-abi=hard -DCHROMEOS_ENVIRONMENT -Wall  -DNDEBUG -MMD -MF /var/tmp/portage/sys-boot/vboot-utils-42_p20150219/work/build/firmware/lib/cryptolib/sha_utility.o.d -fPIE -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DTPM_BLOCKING_CONTINUESELFTEST -DDISABLE_ROLLBACK_TPM -Ifirmware/include -Ifirmware/lib/include -Ifirmware/lib/cgptlib/include -Ifirmware/lib/cryptolib/include -Ifirmware/lib/tpm_lite/include -Ifirmware/2lib/include -Ihost/include -Ihost/lib/include -c -o /var/tmp/portage/sys-boot/vboot-utils-42_p20150219/work/build/firmware/lib/cryptolib/sha_utility.o firmware/lib/cryptolib/sha_utility.c
    CC            firmware/lib/stateful_util.o
armv7a-hardfloat-linux-musleabi-gcc -Os -pipe -mthumb -mcpu=cortex-a15 -mfpu=neon-vfpv4 -mfloat-abi=hard -DCHROMEOS_ENVIRONMENT -Wall  -DNDEBUG -MMD -MF /var/tmp/portage/sys-boot/vboot-utils-42_p20150219/work/build/firmware/lib/stateful_util.o.d -fPIE -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DTPM_BLOCKING_CONTINUESELFTEST -DDISABLE_ROLLBACK_TPM -Ifirmware/include -Ifirmware/lib/include -Ifirmware/lib/cgptlib/include -Ifirmware/lib/cryptolib/include -Ifirmware/lib/tpm_lite/include -Ifirmware/2lib/include -Ihost/include -Ihost/lib/include -c -o /var/tmp/portage/sys-boot/vboot-utils-42_p20150219/work/build/firmware/lib/stateful_util.o firmware/lib/stateful_util.c
    CC            firmware/lib/vboot_api_firmware.o
armv7a-hardfloat-linux-musleabi-gcc -Os -pipe -mthumb -mcpu=cortex-a15 -mfpu=neon-vfpv4 -mfloat-abi=hard -DCHROMEOS_ENVIRONMENT -Wall  -DNDEBUG -MMD -MF /var/tmp/portage/sys-boot/vboot-utils-42_p20150219/work/build/firmware/lib/vboot_api_firmware.o.d -fPIE -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DTPM_BLOCKING_CONTINUESELFTEST -DDISABLE_ROLLBACK_TPM -Ifirmware/include -Ifirmware/lib/include -Ifirmware/lib/cgptlib/include -Ifirmware/lib/cryptolib/include -Ifirmware/lib/tpm_lite/include -Ifirmware/2lib/include -Ihost/include -Ihost/lib/include -c -o /var/tmp/portage/sys-boot/vboot-utils-42_p20150219/work/build/firmware/lib/vboot_api_firmware.o firmware/lib/vboot_api_firmware.c
    CC            firmware/lib/vboot_common.o
armv7a-hardfloat-linux-musleabi-gcc -Os -pipe -mthumb -mcpu=cortex-a15 -mfpu=neon-vfpv4 -mfloat-abi=hard -DCHROMEOS_ENVIRONMENT -Wall  -DNDEBUG -MMD -MF /var/tmp/portage/sys-boot/vboot-utils-42_p20150219/work/build/firmware/lib/vboot_common.o.d -fPIE -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DTPM_BLOCKING_CONTINUESELFTEST -DDISABLE_ROLLBACK_TPM -Ifirmware/include -Ifirmware/lib/include -Ifirmware/lib/cgptlib/include -Ifirmware/lib/cryptolib/include -Ifirmware/lib/tpm_lite/include -Ifirmware/2lib/include -Ihost/include -Ihost/lib/include -c -o /var/tmp/portage/sys-boot/vboot-utils-42_p20150219/work/build/firmware/lib/vboot_common.o firmware/lib/vboot_common.c
    CC            firmware/lib/vboot_firmware.o
armv7a-hardfloat-linux-musleabi-gcc -Os -pipe -mthumb -mcpu=cortex-a15 -mfpu=neon-vfpv4 -mfloat-abi=hard -DCHROMEOS_ENVIRONMENT -Wall  -DNDEBUG -MMD -MF /var/tmp/portage/sys-boot/vboot-utils-42_p20150219/work/build/firmware/lib/vboot_firmware.o.d -fPIE -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DTPM_BLOCKING_CONTINUESELFTEST -DDISABLE_ROLLBACK_TPM -Ifirmware/include -Ifirmware/lib/include -Ifirmware/lib/cgptlib/include -Ifirmware/lib/cryptolib/include -Ifirmware/lib/tpm_lite/include -Ifirmware/2lib/include -Ihost/include -Ihost/lib/include -c -o /var/tmp/portage/sys-boot/vboot-utils-42_p20150219/work/build/firmware/lib/vboot_firmware.o firmware/lib/vboot_firmware.c
    CC            firmware/lib/region-fw.o
armv7a-hardfloat-linux-musleabi-gcc -Os -pipe -mthumb -mcpu=cortex-a15 -mfpu=neon-vfpv4 -mfloat-abi=hard -DCHROMEOS_ENVIRONMENT -Wall  -DNDEBUG -MMD -MF /var/tmp/portage/sys-boot/vboot-utils-42_p20150219/work/build/firmware/lib/region-fw.o.d -fPIE -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DTPM_BLOCKING_CONTINUESELFTEST -DDISABLE_ROLLBACK_TPM -Ifirmware/include -Ifirmware/lib/include -Ifirmware/lib/cgptlib/include -Ifirmware/lib/cryptolib/include -Ifirmware/lib/tpm_lite/include -Ifirmware/2lib/include -Ihost/include -Ihost/lib/include -c -o /var/tmp/portage/sys-boot/vboot-utils-42_p20150219/work/build/firmware/lib/region-fw.o firmware/lib/region-fw.c
    CC            firmware/lib/tpm_bootmode.o
armv7a-hardfloat-linux-musleabi-gcc -Os -pipe -mthumb -mcpu=cortex-a15 -mfpu=neon-vfpv4 -mfloat-abi=hard -DCHROMEOS_ENVIRONMENT -Wall  -DNDEBUG -MMD -MF /var/tmp/portage/sys-boot/vboot-utils-42_p20150219/work/build/firmware/lib/tpm_bootmode.o.d -fPIE -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DTPM_BLOCKING_CONTINUESELFTEST -DDISABLE_ROLLBACK_TPM -Ifirmware/include -Ifirmware/lib/include -Ifirmware/lib/cgptlib/include -Ifirmware/lib/cryptolib/include -Ifirmware/lib/tpm_lite/include -Ifirmware/2lib/include -Ihost/include -Ihost/lib/include -c -o /var/tmp/portage/sys-boot/vboot-utils-42_p20150219/work/build/firmware/lib/tpm_bootmode.o firmware/lib/tpm_bootmode.c
    CC            firmware/stub/vboot_api_stub_sf.o
armv7a-hardfloat-linux-musleabi-gcc -Os -pipe -mthumb -mcpu=cortex-a15 -mfpu=neon-vfpv4 -mfloat-abi=hard -DCHROMEOS_ENVIRONMENT -Wall  -DNDEBUG -MMD -MF /var/tmp/portage/sys-boot/vboot-utils-42_p20150219/work/build/firmware/stub/vboot_api_stub_sf.o.d -fPIE -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DTPM_BLOCKING_CONTINUESELFTEST -DDISABLE_ROLLBACK_TPM -Ifirmware/include -Ifirmware/lib/include -Ifirmware/lib/cgptlib/include -Ifirmware/lib/cryptolib/include -Ifirmware/lib/tpm_lite/include -Ifirmware/2lib/include -Ihost/include -Ihost/lib/include -c -o /var/tmp/portage/sys-boot/vboot-utils-42_p20150219/work/build/firmware/stub/vboot_api_stub_sf.o firmware/stub/vboot_api_stub_sf.c
firmware/stub/vboot_api_stub_sf.c:8:22: fatal error: execinfo.h: No such file or directory
 #include <execinfo.h>
                      ^
    CC            firmware/linktest/main.o
compilation terminated.
armv7a-hardfloat-linux-musleabi-gcc -Os -pipe -mthumb -mcpu=cortex-a15 -mfpu=neon-vfpv4 -mfloat-abi=hard -DCHROMEOS_ENVIRONMENT -Wall  -DNDEBUG -MMD -MF /var/tmp/portage/sys-boot/vboot-utils-42_p20150219/work/build/firmware/linktest/main.o.d -fPIE -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -Ifirmware/include -Ifirmware/lib/include -Ifirmware/lib/cgptlib/include -Ifirmware/lib/cryptolib/include -Ifirmware/lib/tpm_lite/include -Ifirmware/2lib/include -Ihost/include -Ihost/lib/include -c -o /var/tmp/portage/sys-boot/vboot-utils-42_p20150219/work/build/firmware/linktest/main.o firmware/linktest/main.c
Makefile:1093: recipe for target '/var/tmp/portage/sys-boot/vboot-utils-42_p20150219/work/build/firmware/stub/vboot_api_stub_sf.o' failed
make: *** [/var/tmp/portage/sys-boot/vboot-utils-42_p20150219/work/build/firmware/stub/vboot_api_stub_sf.o] Error 1
make: *** Waiting for unfinished jobs....
 * ERROR: sys-boot/vboot-utils-42_p20150219::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=sys-boot/vboot-utils-42_p20150219::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-boot/vboot-utils-42_p20150219::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sys-boot/vboot-utils-42_p20150219/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-boot/vboot-utils-42_p20150219/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-boot/vboot-utils-42_p20150219/work'
 * S: '/var/tmp/portage/sys-boot/vboot-utils-42_p20150219/work'

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

* Re: [gentoo-musl] vboot-utils fails to compile on musl
  2016-04-23  2:49 [gentoo-musl] vboot-utils fails to compile on musl Laine Gholson
@ 2016-04-23  4:35 ` Anthony G. Basile
  2016-04-28 18:56 ` Felix Janda
  1 sibling, 0 replies; 3+ messages in thread
From: Anthony G. Basile @ 2016-04-23  4:35 UTC (permalink / raw
  To: gentoo-musl

On 4/22/16 10:49 PM, Laine Gholson wrote:
> I was trying to install vboot-utils while I was bootstrapping hardened
> musl gentoo, but it failed because it tried to use a non-standard C
> header.
> 
> This is where it failed:
>     CC            firmware/stub/vboot_api_stub_sf.o
> armv7a-hardfloat-linux-musleabi-gcc -Os -pipe -mthumb -mcpu=cortex-a15
> -mfpu=neon-vfpv4 -mfloat-abi=hard -DCHROMEOS_ENVIRONMENT -Wall
> -DNDEBUG -MMD -MF
> /var/tmp/portage/sys-boot/vboot-utils-42_p20150219/work/build/firmware/stub/vboot_api_stub_sf.o.d
> -fPIE -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
> -DTPM_BLOCKING_CONTINUESELFTEST -DDISABLE_ROLLBACK_TPM
> -Ifirmware/include -Ifirmware/lib/include
> -Ifirmware/lib/cgptlib/include -Ifirmware/lib/cryptolib/include
> -Ifirmware/lib/tpm_lite/include -Ifirmware/2lib/include -Ihost/include
> -Ihost/lib/include -c -o
> /var/tmp/portage/sys-boot/vboot-utils-42_p20150219/work/build/firmware/stub/vboot_api_stub_sf.o
> firmware/stub/vboot_api_stub_sf.c
> firmware/stub/vboot_api_stub_sf.c:8:22: fatal error: execinfo.h: No
> such file or directory
>  #include <execinfo.h>
>                       ^
> 
> Other information is attached.
> 


you should open a bug.

-- 
Anthony G. Basile, Ph.D.
Gentoo Linux Developer [Hardened]
E-Mail    : blueness@gentoo.org
GnuPG FP  : 1FED FAD9 D82C 52A5 3BAB  DC79 9384 FA6E F52D 4BBA
GnuPG ID  : F52D4BBA


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

* Re: [gentoo-musl] vboot-utils fails to compile on musl
  2016-04-23  2:49 [gentoo-musl] vboot-utils fails to compile on musl Laine Gholson
  2016-04-23  4:35 ` Anthony G. Basile
@ 2016-04-28 18:56 ` Felix Janda
  1 sibling, 0 replies; 3+ messages in thread
From: Felix Janda @ 2016-04-28 18:56 UTC (permalink / raw
  To: Laine Gholson; +Cc: gentoo-musl

Laine Gholson wrote:
> I was trying to install vboot-utils while I was bootstrapping hardened
> musl gentoo, but it failed because it tried to use a non-standard C
> header.

Thanks for the report!

Since I'm using the package myself and had it locally patched, I've
opened a bug report for you with a patch for the compilation error:

https://bugs.gentoo.org/show_bug.cgi?id=581470

Felix


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

end of thread, other threads:[~2016-04-28 18:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-23  2:49 [gentoo-musl] vboot-utils fails to compile on musl Laine Gholson
2016-04-23  4:35 ` Anthony G. Basile
2016-04-28 18:56 ` Felix Janda

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox