RUN: /usr/share/launchpad-buildd/slavebin/slave-prep ['slave-prep'] Forking launchpad-buildd slave process... Kernel version: 2.6.24-32-xen #1 SMP Tue Sep 25 17:42:49 UTC 2012 x86_64 Buildd toolchain package versions: launchpad-buildd_113~0.IS.08.04 python-lpbuildd_113~0.IS.08.04 bzr-builder_0.7.2+bzr156-0ubuntu1~1.IS.8.04 bzr_2.4.0-0ubuntu2~11.IS.8.04. Syncing the system clock with the buildd NTP service... 10 Sep 10:51:48 ntpdate[3424]: step time server 10.211.37.1 offset -1138711.379071 sec RUN: /usr/share/launchpad-buildd/slavebin/unpack-chroot ['unpack-chroot', 'cbf513a8dc08fed6254c539ab37d2c9247c5b8fc', '/home/buildd/filecache-default/a773c5bc5bb042a1c5e3ddeccf21e58b47cfbf39'] Uncompressing the tarball... Unpacking chroot for build cbf513a8dc08fed6254c539ab37d2c9247c5b8fc RUN: /usr/share/launchpad-buildd/slavebin/mount-chroot ['mount-chroot', 'cbf513a8dc08fed6254c539ab37d2c9247c5b8fc'] Mounting chroot for build cbf513a8dc08fed6254c539ab37d2c9247c5b8fc RUN: /usr/share/launchpad-buildd/slavebin/override-sources-list ['override-sources-list', 'cbf513a8dc08fed6254c539ab37d2c9247c5b8fc', 'deb http://ppa.launchpad.net/gezakovacs/sandbox/ubuntu precise main', 'deb http://ppa.launchpad.net/drizzle-developers/build-depends/ubuntu precise main', 'deb http://ppa.launchpad.net/gezakovacs/builddeps/ubuntu precise main', 'deb http://ppa.launchpad.net/kubuntu-ppa/backports/ubuntu precise main', 'deb http://ppa.launchpad.net/ubuntu-mozilla-daily/ppa/ubuntu precise main', 'deb http://ftpmaster.internal/ubuntu precise main restricted universe multiverse', 'deb http://ftpmaster.internal/ubuntu precise-security main restricted universe multiverse', 'deb http://ftpmaster.internal/ubuntu precise-updates main restricted universe multiverse', 'deb http://ftpmaster.internal/ubuntu precise-backports main restricted universe multiverse'] Overriding sources.list in build-cbf513a8dc08fed6254c539ab37d2c9247c5b8fc RUN: /usr/share/launchpad-buildd/slavebin/update-debian-chroot ['update-debian-chroot', 'cbf513a8dc08fed6254c539ab37d2c9247c5b8fc', 'i386'] Updating debian chroot for build cbf513a8dc08fed6254c539ab37d2c9247c5b8fc Ign http://ppa.launchpad.net precise InRelease Ign http://ppa.launchpad.net precise InRelease Ign http://ppa.launchpad.net precise InRelease Ign http://ppa.launchpad.net precise InRelease Ign http://ppa.launchpad.net precise InRelease Get:1 http://ppa.launchpad.net precise Release.gpg [316 B] Ign http://ftpmaster.internal precise InRelease Ign http://ftpmaster.internal precise-security InRelease Ign http://ftpmaster.internal precise-updates InRelease Ign http://ftpmaster.internal precise-backports InRelease Get:2 http://ppa.launchpad.net precise Release.gpg [316 B] Get:3 http://ppa.launchpad.net precise Release.gpg [316 B] Get:4 http://ppa.launchpad.net precise Release.gpg [316 B] Get:5 http://ppa.launchpad.net precise Release.gpg [316 B] Get:6 http://ppa.launchpad.net precise Release [11.9 kB] Get:7 http://ppa.launchpad.net precise Release [11.9 kB] Get:8 http://ppa.launchpad.net precise Release [11.9 kB] Get:9 http://ppa.launchpad.net precise Release [11.9 kB] Get:10 http://ftpmaster.internal precise Release.gpg [198 B] Get:11 http://ftpmaster.internal precise-security Release.gpg [198 B] Get:12 http://ppa.launchpad.net precise Release [16.4 kB] Ign http://ppa.launchpad.net precise Release Ign http://ppa.launchpad.net precise Release Ign http://ppa.launchpad.net precise Release Get:13 http://ftpmaster.internal precise-updates Release.gpg [198 B] Get:14 http://ftpmaster.internal precise-backports Release.gpg [198 B] Ign http://ppa.launchpad.net precise Release Get:15 http://ftpmaster.internal precise Release [49.6 kB] Ign http://ppa.launchpad.net precise Release Get:16 http://ppa.launchpad.net precise/main i386 Packages [3323 B] Get:17 http://ftpmaster.internal precise-security Release [49.6 kB] Get:18 http://ftpmaster.internal precise-updates Release [49.6 kB] Ign http://ppa.launchpad.net precise/main TranslationIndex Get:19 http://ftpmaster.internal precise-backports Release [49.6 kB] Get:20 http://ppa.launchpad.net precise/main i386 Packages [1588 B] Ign http://ppa.launchpad.net precise/main TranslationIndex Get:21 http://ppa.launchpad.net precise/main i386 Packages [727 B] Ign http://ppa.launchpad.net precise/main TranslationIndex Get:22 http://ppa.launchpad.net precise/main i386 Packages [218 kB] Get:23 http://ftpmaster.internal precise/main i386 Packages [1274 kB] Ign http://ppa.launchpad.net precise/main TranslationIndex Get:24 http://ppa.launchpad.net precise/main i386 Packages [12.4 kB] Ign http://ppa.launchpad.net precise/main TranslationIndex Ign http://ppa.launchpad.net precise/main Translation-en Ign http://ppa.launchpad.net precise/main Translation-en Ign http://ppa.launchpad.net precise/main Translation-en Ign http://ppa.launchpad.net precise/main Translation-en Ign http://ppa.launchpad.net precise/main Translation-en Get:25 http://ftpmaster.internal precise/restricted i386 Packages [8431 B] Get:26 http://ftpmaster.internal precise/universe i386 Packages [4796 kB] Get:27 http://ftpmaster.internal precise/multiverse i386 Packages [121 kB] Get:28 http://ftpmaster.internal precise/main TranslationIndex [3706 B] Get:29 http://ftpmaster.internal precise/multiverse TranslationIndex [2676 B] Get:30 http://ftpmaster.internal precise/restricted TranslationIndex [2596 B] Get:31 http://ftpmaster.internal precise/universe TranslationIndex [2922 B] Get:32 http://ftpmaster.internal precise-security/main i386 Packages [325 kB] Get:33 http://ftpmaster.internal precise-security/restricted i386 Packages [4620 B] Get:34 http://ftpmaster.internal precise-security/universe i386 Packages [84.1 kB] Get:35 http://ftpmaster.internal precise-security/multiverse i386 Packages [2633 B] Get:36 http://ftpmaster.internal precise-security/main TranslationIndex [74 B] Get:37 http://ftpmaster.internal precise-security/multiverse TranslationIndex [72 B] Get:38 http://ftpmaster.internal precise-security/restricted TranslationIndex [72 B] Get:39 http://ftpmaster.internal precise-security/universe TranslationIndex [73 B] Get:40 http://ftpmaster.internal precise-updates/main i386 Packages [699 kB] Get:41 http://ftpmaster.internal precise-updates/restricted i386 Packages [11.4 kB] Get:42 http://ftpmaster.internal precise-updates/universe i386 Packages [216 kB] Get:43 http://ftpmaster.internal precise-updates/multiverse i386 Packages [14.0 kB] Get:44 http://ftpmaster.internal precise-updates/main TranslationIndex [3564 B] Get:45 http://ftpmaster.internal precise-updates/multiverse TranslationIndex [2605 B] Get:46 http://ftpmaster.internal precise-updates/restricted TranslationIndex [2461 B] Get:47 http://ftpmaster.internal precise-updates/universe TranslationIndex [2850 B] Get:48 http://ftpmaster.internal precise-backports/main i386 Packages [2390 B] Get:49 http://ftpmaster.internal precise-backports/restricted i386 Packages [14 B] Get:50 http://ftpmaster.internal precise-backports/universe i386 Packages [36.1 kB] Get:51 http://ftpmaster.internal precise-backports/multiverse i386 Packages [5178 B] Get:52 http://ftpmaster.internal precise-backports/main TranslationIndex [72 B] Get:53 http://ftpmaster.internal precise-backports/multiverse TranslationIndex [72 B] Get:54 http://ftpmaster.internal precise-backports/restricted TranslationIndex [70 B] Get:55 http://ftpmaster.internal precise-backports/universe TranslationIndex [73 B] Get:56 http://ftpmaster.internal precise/main Translation-en [726 kB] Get:57 http://ftpmaster.internal precise/multiverse Translation-en [93.4 kB] Get:58 http://ftpmaster.internal precise/restricted Translation-en [2395 B] Get:59 http://ftpmaster.internal precise/universe Translation-en [3341 kB] Get:60 http://ftpmaster.internal precise-security/main Translation-en [149 kB] Get:61 http://ftpmaster.internal precise-security/multiverse Translation-en [1299 B] Get:62 http://ftpmaster.internal precise-security/restricted Translation-en [1253 B] Get:63 http://ftpmaster.internal precise-security/universe Translation-en [51.8 kB] Get:64 http://ftpmaster.internal precise-updates/main Translation-en [307 kB] Get:65 http://ftpmaster.internal precise-updates/multiverse Translation-en [8064 B] Get:66 http://ftpmaster.internal precise-updates/restricted Translation-en [2637 B] Get:67 http://ftpmaster.internal precise-updates/universe Translation-en [125 kB] Get:68 http://ftpmaster.internal precise-backports/main Translation-en [1512 B] Get:69 http://ftpmaster.internal precise-backports/multiverse Translation-en [4610 B] Get:70 http://ftpmaster.internal precise-backports/restricted Translation-en [14 B] Get:71 http://ftpmaster.internal precise-backports/universe Translation-en [26.5 kB] Fetched 13.0 MB in 10s (1195 kB/s) Reading package lists... W: GPG error: http://ppa.launchpad.net precise Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D45DF2E8FC91AE7E W: GPG error: http://ppa.launchpad.net precise Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 4FEC45DD06899068 W: GPG error: http://ppa.launchpad.net precise Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D45DF2E8FC91AE7E W: GPG error: http://ppa.launchpad.net precise Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 2836CB0A8AC93F7A W: GPG error: http://ppa.launchpad.net precise Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY EF4186FE247510BE Reading package lists... Building dependency tree... Reading state information... The following packages will be upgraded: apt apt-transport-https base-files bash binutils build-essential busybox-initramfs coreutils dpkg dpkg-dev gnupg gpgv initramfs-tools initramfs-tools-bin initscripts libapt-pkg4.12 libc-bin libc-dev-bin libc6 libc6-dev libcurl3-gnutls libdbus-1-3 libdpkg-perl libdrm-intel1 libdrm-nouveau1a libdrm-radeon1 libdrm2 libgcrypt11 libglib2.0-0 libgnutls26 libgssapi-krb5-2 libk5crypto3 libkrb5-3 libkrb5support0 libldap-2.4-2 libnih-dbus1 libnih1 libpciaccess0 libplymouth2 libsasl2-2 libsqlite3-0 libssl1.0.0 libtasn1-3 libudev0 linux-libc-dev login lsb-base make mountall multiarch-support openssl passwd perl perl-base perl-modules plymouth python-minimal python2.7-minimal sysv-rc sysvinit-utils tzdata ubuntu-keyring udev upstart 64 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 40.6 MB of archives. After this operation, 36.9 kB of additional disk space will be used. WARNING: The following packages cannot be authenticated! base-files bash dpkg coreutils login perl perl-base perl-modules sysv-rc plymouth libplymouth2 initramfs-tools-bin initramfs-tools mountall initscripts upstart libc-dev-bin libc6-dev libc-bin libc6 sysvinit-utils libdbus-1-3 libdrm2 libpciaccess0 libdrm-intel1 libdrm-nouveau1a libdrm-radeon1 libglib2.0-0 libudev0 busybox-initramfs udev libnih-dbus1 libnih1 lsb-base passwd linux-libc-dev tzdata libssl1.0.0 python2.7-minimal python-minimal libapt-pkg4.12 ubuntu-keyring gpgv gnupg apt libsqlite3-0 libgcrypt11 libtasn1-3 libgnutls26 libk5crypto3 libgssapi-krb5-2 libkrb5-3 libkrb5support0 libsasl2-2 libldap-2.4-2 libcurl3-gnutls multiarch-support apt-transport-https openssl binutils make dpkg-dev libdpkg-perl build-essential Authentication warning overridden. Get:1 http://ftpmaster.internal/ubuntu/ precise-updates/main base-files i386 6.5ubuntu6.6 [65.8 kB] Get:2 http://ftpmaster.internal/ubuntu/ precise-updates/main bash i386 4.2-2ubuntu2.1 [616 kB] Get:3 http://ftpmaster.internal/ubuntu/ precise-updates/main dpkg i386 1.16.1.2ubuntu7.1 [1815 kB] Get:4 http://ftpmaster.internal/ubuntu/ precise-updates/main coreutils i386 8.13-3ubuntu3.2 [2181 kB] Get:5 http://ftpmaster.internal/ubuntu/ precise-updates/main login i386 1:4.1.4.2+svn3283-3ubuntu5.1 [286 kB] Get:6 http://ftpmaster.internal/ubuntu/ precise-security/main perl i386 5.14.2-6ubuntu2.3 [3697 kB] Get:7 http://ftpmaster.internal/ubuntu/ precise-security/main perl-base i386 5.14.2-6ubuntu2.3 [1471 kB] Get:8 http://ftpmaster.internal/ubuntu/ precise-security/main perl-modules all 5.14.2-6ubuntu2.3 [3389 kB] Get:9 http://ftpmaster.internal/ubuntu/ precise-updates/main sysv-rc all 2.88dsf-13.10ubuntu11.1 [44.6 kB] Get:10 http://ftpmaster.internal/ubuntu/ precise-updates/main plymouth i386 0.8.2-2ubuntu31.1 [125 kB] Get:11 http://ftpmaster.internal/ubuntu/ precise-updates/main libplymouth2 i386 0.8.2-2ubuntu31.1 [91.9 kB] Get:12 http://ftpmaster.internal/ubuntu/ precise-updates/main initramfs-tools-bin i386 0.99ubuntu13.1 [9912 B] Get:13 http://ftpmaster.internal/ubuntu/ precise-updates/main initramfs-tools all 0.99ubuntu13.1 [49.0 kB] Get:14 http://ftpmaster.internal/ubuntu/ precise-updates/main mountall i386 2.36.4 [70.2 kB] Get:15 http://ftpmaster.internal/ubuntu/ precise-updates/main initscripts i386 2.88dsf-13.10ubuntu11.1 [28.1 kB] Get:16 http://ftpmaster.internal/ubuntu/ precise-updates/main upstart i386 1.5-0ubuntu7.2 [313 kB] Get:17 http://ftpmaster.internal/ubuntu/ precise-updates/main libc-dev-bin i386 2.15-0ubuntu10.4 [77.7 kB] Get:18 http://ftpmaster.internal/ubuntu/ precise-updates/main libc6-dev i386 2.15-0ubuntu10.4 [5098 kB] Get:19 http://ftpmaster.internal/ubuntu/ precise-updates/main libc-bin i386 2.15-0ubuntu10.4 [1131 kB] Get:20 http://ftpmaster.internal/ubuntu/ precise-updates/main libc6 i386 2.15-0ubuntu10.4 [3941 kB] Get:21 http://ftpmaster.internal/ubuntu/ precise-updates/main sysvinit-utils i386 2.88dsf-13.10ubuntu11.1 [58.4 kB] Get:22 http://ftpmaster.internal/ubuntu/ precise-security/main libdbus-1-3 i386 1.4.18-1ubuntu1.4 [148 kB] Get:23 http://ftpmaster.internal/ubuntu/ precise-updates/main libdrm2 i386 2.4.43-0ubuntu0.0.2 [27.6 kB] Get:24 http://ftpmaster.internal/ubuntu/ precise-updates/main libpciaccess0 i386 0.12.902-1ubuntu0.2 [22.5 kB] Get:25 http://ftpmaster.internal/ubuntu/ precise-updates/main libdrm-intel1 i386 2.4.43-0ubuntu0.0.2 [64.9 kB] Get:26 http://ftpmaster.internal/ubuntu/ precise-updates/main libdrm-nouveau1a i386 2.4.43-0ubuntu0.0.2 [14.2 kB] Get:27 http://ftpmaster.internal/ubuntu/ precise-updates/main libdrm-radeon1 i386 2.4.43-0ubuntu0.0.2 [24.7 kB] Get:28 http://ftpmaster.internal/ubuntu/ precise-updates/main libglib2.0-0 i386 2.32.3-0ubuntu1 [1187 kB] Get:29 http://ftpmaster.internal/ubuntu/ precise-updates/main libudev0 i386 175-0ubuntu9.4 [32.3 kB] Get:30 http://ftpmaster.internal/ubuntu/ precise-updates/main busybox-initramfs i386 1:1.18.5-1ubuntu4.1 [172 kB] Get:31 http://ftpmaster.internal/ubuntu/ precise-updates/main udev i386 175-0ubuntu9.4 [350 kB] Get:32 http://ftpmaster.internal/ubuntu/ precise-updates/main libnih-dbus1 i386 1.0.3-4ubuntu9.1 [15.4 kB] Get:33 http://ftpmaster.internal/ubuntu/ precise-updates/main libnih1 i386 1.0.3-4ubuntu9.1 [53.7 kB] Get:34 http://ftpmaster.internal/ubuntu/ precise-updates/main lsb-base all 4.0-0ubuntu20.3 [10.5 kB] Get:35 http://ftpmaster.internal/ubuntu/ precise-updates/main passwd i386 1:4.1.4.2+svn3283-3ubuntu5.1 [940 kB] Get:36 http://ftpmaster.internal/ubuntu/ precise-security/main linux-libc-dev i386 3.2.0-52.78 [855 kB] Get:37 http://ftpmaster.internal/ubuntu/ precise-security/main tzdata all 2012e-0ubuntu0.12.04.1 [474 kB] Get:38 http://ftpmaster.internal/ubuntu/ precise-security/main libssl1.0.0 i386 1.0.1-4ubuntu5.10 [1008 kB] Get:39 http://ftpmaster.internal/ubuntu/ precise-updates/main python2.7-minimal i386 2.7.3-0ubuntu3.2 [1689 kB] Get:40 http://ftpmaster.internal/ubuntu/ precise-updates/main python-minimal i386 2.7.3-0ubuntu2.2 [29.2 kB] Get:41 http://ftpmaster.internal/ubuntu/ precise-updates/main libapt-pkg4.12 i386 0.8.16~exp12ubuntu10.12 [944 kB] Get:42 http://ftpmaster.internal/ubuntu/ precise-updates/main ubuntu-keyring all 2011.11.21.1 [16.7 kB] Get:43 http://ftpmaster.internal/ubuntu/ precise-security/main gpgv i386 1.4.11-3ubuntu2.3 [179 kB] Get:44 http://ftpmaster.internal/ubuntu/ precise-security/main gnupg i386 1.4.11-3ubuntu2.3 [789 kB] Get:45 http://ftpmaster.internal/ubuntu/ precise-updates/main apt i386 0.8.16~exp12ubuntu10.12 [1096 kB] Get:46 http://ftpmaster.internal/ubuntu/ precise-updates/main libsqlite3-0 i386 3.7.9-2ubuntu1.1 [354 kB] Get:47 http://ftpmaster.internal/ubuntu/ precise-security/main libgcrypt11 i386 1.5.0-3ubuntu0.2 [281 kB] Get:48 http://ftpmaster.internal/ubuntu/ precise-security/main libtasn1-3 i386 2.10-1ubuntu1.1 [43.8 kB] Get:49 http://ftpmaster.internal/ubuntu/ precise-security/main libgnutls26 i386 2.12.14-5ubuntu3.4 [448 kB] Get:50 http://ftpmaster.internal/ubuntu/ precise-security/main libk5crypto3 i386 1.10+dfsg~beta1-2ubuntu0.3 [77.4 kB] Get:51 http://ftpmaster.internal/ubuntu/ precise-security/main libgssapi-krb5-2 i386 1.10+dfsg~beta1-2ubuntu0.3 [120 kB] Get:52 http://ftpmaster.internal/ubuntu/ precise-security/main libkrb5-3 i386 1.10+dfsg~beta1-2ubuntu0.3 [366 kB] Get:53 http://ftpmaster.internal/ubuntu/ precise-security/main libkrb5support0 i386 1.10+dfsg~beta1-2ubuntu0.3 [23.9 kB] Get:54 http://ftpmaster.internal/ubuntu/ precise-updates/main libsasl2-2 i386 2.1.25.dfsg1-3ubuntu0.1 [69.0 kB] Get:55 http://ftpmaster.internal/ubuntu/ precise-updates/main libldap-2.4-2 i386 2.4.28-1.1ubuntu4.3 [185 kB] Get:56 http://ftpmaster.internal/ubuntu/ precise-security/main libcurl3-gnutls i386 7.22.0-3ubuntu4.2 [232 kB] Get:57 http://ftpmaster.internal/ubuntu/ precise-updates/main multiarch-support i386 2.15-0ubuntu10.4 [4482 B] Get:58 http://ftpmaster.internal/ubuntu/ precise-updates/main apt-transport-https i386 0.8.16~exp12ubuntu10.12 [16.3 kB] Get:59 http://ftpmaster.internal/ubuntu/ precise-security/main openssl i386 1.0.1-4ubuntu5.10 [520 kB] Get:60 http://ftpmaster.internal/ubuntu/ precise-security/main binutils i386 2.22-6ubuntu1.1 [2387 kB] Get:61 http://ftpmaster.internal/ubuntu/ precise-updates/main make i386 3.81-8.1ubuntu1.1 [116 kB] Get:62 http://ftpmaster.internal/ubuntu/ precise-updates/main dpkg-dev all 1.16.1.2ubuntu7.1 [469 kB] Get:63 http://ftpmaster.internal/ubuntu/ precise-updates/main libdpkg-perl all 1.16.1.2ubuntu7.1 [180 kB] Get:64 http://ftpmaster.internal/ubuntu/ precise-updates/main build-essential i386 11.5ubuntu2.1 [5796 B] debconf: delaying package configuration, since apt-utils is not installed Fetched 40.6 MB in 3s (11.0 MB/s) (Reading database ... 12281 files and directories currently installed.) Preparing to replace base-files 6.5ubuntu6 (using .../base-files_6.5ubuntu6.6_i386.deb) ... Unpacking replacement base-files ... Setting up base-files (6.5ubuntu6.6) ... Installing new version of config file /etc/issue ... Installing new version of config file /etc/issue.net ... Installing new version of config file /etc/lsb-release ... (Reading database ... 12282 files and directories currently installed.) Preparing to replace bash 4.2-2ubuntu2 (using .../bash_4.2-2ubuntu2.1_i386.deb) ... Unpacking replacement bash ... Setting up bash (4.2-2ubuntu2.1) ... update-alternatives: using /usr/share/man/man7/bash-builtins.7.gz to provide /usr/share/man/man7/builtins.7.gz (builtins.7.gz) in auto mode. (Reading database ... 12282 files and directories currently installed.) Preparing to replace dpkg 1.16.1.2ubuntu7 (using .../dpkg_1.16.1.2ubuntu7.1_i386.deb) ... Unpacking replacement dpkg ... Setting up dpkg (1.16.1.2ubuntu7.1) ... (Reading database ... 12283 files and directories currently installed.) Preparing to replace coreutils 8.13-3ubuntu3 (using .../coreutils_8.13-3ubuntu3.2_i386.deb) ... Unpacking replacement coreutils ... Setting up coreutils (8.13-3ubuntu3.2) ... (Reading database ... 12283 files and directories currently installed.) Preparing to replace login 1:4.1.4.2+svn3283-3ubuntu5 (using .../login_1%3a4.1.4.2+svn3283-3ubuntu5.1_i386.deb) ... Unpacking replacement login ... Setting up login (1:4.1.4.2+svn3283-3ubuntu5.1) ... (Reading database ... 12283 files and directories currently installed.) Preparing to replace perl 5.14.2-6ubuntu2 (using .../perl_5.14.2-6ubuntu2.3_i386.deb) ... Unpacking replacement perl ... Preparing to replace perl-base 5.14.2-6ubuntu2 (using .../perl-base_5.14.2-6ubuntu2.3_i386.deb) ... Unpacking replacement perl-base ... Setting up perl-base (5.14.2-6ubuntu2.3) ... (Reading database ... 12283 files and directories currently installed.) Preparing to replace perl-modules 5.14.2-6ubuntu2 (using .../perl-modules_5.14.2-6ubuntu2.3_all.deb) ... Unpacking replacement perl-modules ... Preparing to replace sysv-rc 2.88dsf-13.10ubuntu11 (using .../sysv-rc_2.88dsf-13.10ubuntu11.1_all.deb) ... Unpacking replacement sysv-rc ... Preparing to replace plymouth 0.8.2-2ubuntu30 (using .../plymouth_0.8.2-2ubuntu31.1_i386.deb) ... Unpacking replacement plymouth ... Preparing to replace libplymouth2 0.8.2-2ubuntu30 (using .../libplymouth2_0.8.2-2ubuntu31.1_i386.deb) ... Unpacking replacement libplymouth2 ... Preparing to replace initramfs-tools-bin 0.99ubuntu13 (using .../initramfs-tools-bin_0.99ubuntu13.1_i386.deb) ... Unpacking replacement initramfs-tools-bin ... Preparing to replace initramfs-tools 0.99ubuntu13 (using .../initramfs-tools_0.99ubuntu13.1_all.deb) ... Unpacking replacement initramfs-tools ... Preparing to replace mountall 2.36 (using .../mountall_2.36.4_i386.deb) ... Unpacking replacement mountall ... Preparing to replace initscripts 2.88dsf-13.10ubuntu11 (using .../initscripts_2.88dsf-13.10ubuntu11.1_i386.deb) ... Unpacking replacement initscripts ... Preparing to replace upstart 1.5-0ubuntu5 (using .../upstart_1.5-0ubuntu7.2_i386.deb) ... Unpacking replacement upstart ... Preparing to replace libc-dev-bin 2.15-0ubuntu10 (using .../libc-dev-bin_2.15-0ubuntu10.4_i386.deb) ... Unpacking replacement libc-dev-bin ... Preparing to replace libc6-dev 2.15-0ubuntu10 (using .../libc6-dev_2.15-0ubuntu10.4_i386.deb) ... Unpacking replacement libc6-dev ... Preparing to replace libc-bin 2.15-0ubuntu10 (using .../libc-bin_2.15-0ubuntu10.4_i386.deb) ... Unpacking replacement libc-bin ... Setting up libc-bin (2.15-0ubuntu10.4) ... (Reading database ... 12283 files and directories currently installed.) Preparing to replace libc6 2.15-0ubuntu10 (using .../libc6_2.15-0ubuntu10.4_i386.deb) ... Unpacking replacement libc6 ... Setting up libc6 (2.15-0ubuntu10.4) ... Processing triggers for libc-bin ... ldconfig deferred processing now taking place (Reading database ... 12283 files and directories currently installed.) Preparing to replace sysvinit-utils 2.88dsf-13.10ubuntu11 (using .../sysvinit-utils_2.88dsf-13.10ubuntu11.1_i386.deb) ... Unpacking replacement sysvinit-utils ... Preparing to replace libdbus-1-3 1.4.18-1ubuntu1 (using .../libdbus-1-3_1.4.18-1ubuntu1.4_i386.deb) ... Unpacking replacement libdbus-1-3 ... Preparing to replace libdrm2 2.4.32-1ubuntu1 (using .../libdrm2_2.4.43-0ubuntu0.0.2_i386.deb) ... Unpacking replacement libdrm2 ... Preparing to replace libpciaccess0 0.12.902-1 (using .../libpciaccess0_0.12.902-1ubuntu0.2_i386.deb) ... Unpacking replacement libpciaccess0 ... Preparing to replace libdrm-intel1 2.4.32-1ubuntu1 (using .../libdrm-intel1_2.4.43-0ubuntu0.0.2_i386.deb) ... Unpacking replacement libdrm-intel1 ... Preparing to replace libdrm-nouveau1a 2.4.32-1ubuntu1 (using .../libdrm-nouveau1a_2.4.43-0ubuntu0.0.2_i386.deb) ... Unpacking replacement libdrm-nouveau1a ... Preparing to replace libdrm-radeon1 2.4.32-1ubuntu1 (using .../libdrm-radeon1_2.4.43-0ubuntu0.0.2_i386.deb) ... Unpacking replacement libdrm-radeon1 ... Preparing to replace libglib2.0-0 2.32.1-0ubuntu2 (using .../libglib2.0-0_2.32.3-0ubuntu1_i386.deb) ... Unpacking replacement libglib2.0-0 ... Preparing to replace libudev0 175-0ubuntu9 (using .../libudev0_175-0ubuntu9.4_i386.deb) ... Unpacking replacement libudev0 ... Preparing to replace busybox-initramfs 1:1.18.5-1ubuntu4 (using .../busybox-initramfs_1%3a1.18.5-1ubuntu4.1_i386.deb) ... Unpacking replacement busybox-initramfs ... Preparing to replace udev 175-0ubuntu9 (using .../udev_175-0ubuntu9.4_i386.deb) ... Adding 'diversion of /sbin/udevadm to /sbin/udevadm.upgrade by fake-udev' Unpacking replacement udev ... Preparing to replace libnih-dbus1 1.0.3-4ubuntu9 (using .../libnih-dbus1_1.0.3-4ubuntu9.1_i386.deb) ... Unpacking replacement libnih-dbus1 ... Preparing to replace libnih1 1.0.3-4ubuntu9 (using .../libnih1_1.0.3-4ubuntu9.1_i386.deb) ... Unpacking replacement libnih1 ... Preparing to replace lsb-base 4.0-0ubuntu20 (using .../lsb-base_4.0-0ubuntu20.3_all.deb) ... Unpacking replacement lsb-base ... Setting up lsb-base (4.0-0ubuntu20.3) ... (Reading database ... 12291 files and directories currently installed.) Preparing to replace passwd 1:4.1.4.2+svn3283-3ubuntu5 (using .../passwd_1%3a4.1.4.2+svn3283-3ubuntu5.1_i386.deb) ... Unpacking replacement passwd ... Setting up libdbus-1-3 (1.4.18-1ubuntu1.4) ... Setting up libnih1 (1.0.3-4ubuntu9.1) ... Setting up libnih-dbus1 (1.0.3-4ubuntu9.1) ... Setting up libudev0 (175-0ubuntu9.4) ... Setting up sysvinit-utils (2.88dsf-13.10ubuntu11.1) ... Setting up sysv-rc (2.88dsf-13.10ubuntu11.1) ... Setting up libglib2.0-0 (2.32.3-0ubuntu1) ... No schema files found: doing nothing. Setting up initramfs-tools-bin (0.99ubuntu13.1) ... Setting up busybox-initramfs (1:1.18.5-1ubuntu4.1) ... Setting up libdrm2 (2.4.43-0ubuntu0.0.2) ... Setting up libpciaccess0 (0.12.902-1ubuntu0.2) ... Setting up libdrm-intel1 (2.4.43-0ubuntu0.0.2) ... Setting up libdrm-nouveau1a (2.4.43-0ubuntu0.0.2) ... Setting up libdrm-radeon1 (2.4.43-0ubuntu0.0.2) ... Setting up libplymouth2 (0.8.2-2ubuntu31.1) ... Setting up upstart (1.5-0ubuntu7.2) ... Installing new version of config file /etc/logrotate.d/upstart ... Setting up passwd (1:4.1.4.2+svn3283-3ubuntu5.1) ... Setting up initramfs-tools (0.99ubuntu13.1) ... update-initramfs: deferring update (trigger activated) Setting up udev (175-0ubuntu9.4) ... invoke-rc.d: policy-rc.d denied execution of restart. Removing 'diversion of /sbin/udevadm to /sbin/udevadm.upgrade by fake-udev' update-initramfs: deferring update (trigger activated) Setting up plymouth (0.8.2-2ubuntu31.1) ... update-initramfs: deferring update (trigger activated) Setting up mountall (2.36.4) ... Setting up initscripts (2.88dsf-13.10ubuntu11.1) ... Processing triggers for libc-bin ... ldconfig deferred processing now taking place Processing triggers for initramfs-tools ... (Reading database ... 12292 files and directories currently installed.) Preparing to replace linux-libc-dev 3.2.0-23.36 (using .../linux-libc-dev_3.2.0-52.78_i386.deb) ... Unpacking replacement linux-libc-dev ... Preparing to replace tzdata 2012b-1 (using .../tzdata_2012e-0ubuntu0.12.04.1_all.deb) ... Unpacking replacement tzdata ... Setting up tzdata (2012e-0ubuntu0.12.04.1) ... Current default time zone: 'Etc/UTC' Local time is now: Wed Aug 28 06:36:08 UTC 2013. Universal Time is now: Wed Aug 28 06:36:08 UTC 2013. Run 'dpkg-reconfigure tzdata' if you wish to change it. (Reading database ... 12294 files and directories currently installed.) Preparing to replace libssl1.0.0 1.0.1-4ubuntu3 (using .../libssl1.0.0_1.0.1-4ubuntu5.10_i386.deb) ... Unpacking replacement libssl1.0.0 ... Setting up libssl1.0.0 (1.0.1-4ubuntu5.10) ... Processing triggers for libc-bin ... ldconfig deferred processing now taking place (Reading database ... 12294 files and directories currently installed.) Preparing to replace python2.7-minimal 2.7.3-0ubuntu3 (using .../python2.7-minimal_2.7.3-0ubuntu3.2_i386.deb) ... Unpacking replacement python2.7-minimal ... Setting up python2.7-minimal (2.7.3-0ubuntu3.2) ... (Reading database ... 12294 files and directories currently installed.) Preparing to replace python-minimal 2.7.3-0ubuntu2 (using .../python-minimal_2.7.3-0ubuntu2.2_i386.deb) ... Unpacking replacement python-minimal ... Setting up python-minimal (2.7.3-0ubuntu2.2) ... (Reading database ... 12294 files and directories currently installed.) Preparing to replace libapt-pkg4.12 0.8.16~exp12ubuntu10 (using .../libapt-pkg4.12_0.8.16~exp12ubuntu10.12_i386.deb) ... Unpacking replacement libapt-pkg4.12 ... Setting up libapt-pkg4.12 (0.8.16~exp12ubuntu10.12) ... Processing triggers for libc-bin ... ldconfig deferred processing now taking place (Reading database ... 12294 files and directories currently installed.) Preparing to replace ubuntu-keyring 2011.11.21 (using .../ubuntu-keyring_2011.11.21.1_all.deb) ... Unpacking replacement ubuntu-keyring ... Setting up ubuntu-keyring (2011.11.21.1) ... gpg: key 437D05B5: "Ubuntu Archive Automatic Signing Key " not changed gpg: key FBB75451: "Ubuntu CD Image Automatic Signing Key " not changed gpg: key C0B21F32: public key "Ubuntu Archive Automatic Signing Key (2012) " imported gpg: key EFE21092: public key "Ubuntu CD Image Automatic Signing Key (2012) " imported gpg: Total number processed: 4 gpg: imported: 2 (RSA: 2) gpg: unchanged: 2 gpg: no ultimately trusted keys found (Reading database ... 12294 files and directories currently installed.) Preparing to replace gpgv 1.4.11-3ubuntu2 (using .../gpgv_1.4.11-3ubuntu2.3_i386.deb) ... Unpacking replacement gpgv ... Setting up gpgv (1.4.11-3ubuntu2.3) ... (Reading database ... 12294 files and directories currently installed.) Preparing to replace gnupg 1.4.11-3ubuntu2 (using .../gnupg_1.4.11-3ubuntu2.3_i386.deb) ... Unpacking replacement gnupg ... Setting up gnupg (1.4.11-3ubuntu2.3) ... (Reading database ... 12294 files and directories currently installed.) Preparing to replace apt 0.8.16~exp12ubuntu10 (using .../apt_0.8.16~exp12ubuntu10.12_i386.deb) ... Unpacking replacement apt ... Setting up apt (0.8.16~exp12ubuntu10.12) ... Installing new version of config file /etc/apt/apt.conf.d/01autoremove ... gpg: key 437D05B5: "Ubuntu Archive Automatic Signing Key " not changed gpg: key FBB75451: "Ubuntu CD Image Automatic Signing Key " not changed gpg: key C0B21F32: "Ubuntu Archive Automatic Signing Key (2012) " not changed gpg: key EFE21092: "Ubuntu CD Image Automatic Signing Key (2012) " not changed gpg: Total number processed: 4 gpg: unchanged: 4 No packages found matching linux-image-[0-9]*. (Reading database ... 12295 files and directories currently installed.) Preparing to replace libsqlite3-0 3.7.9-2ubuntu1 (using .../libsqlite3-0_3.7.9-2ubuntu1.1_i386.deb) ... Unpacking replacement libsqlite3-0 ... Preparing to replace libgcrypt11 1.5.0-3 (using .../libgcrypt11_1.5.0-3ubuntu0.2_i386.deb) ... Unpacking replacement libgcrypt11 ... Preparing to replace libtasn1-3 2.10-1ubuntu1 (using .../libtasn1-3_2.10-1ubuntu1.1_i386.deb) ... Unpacking replacement libtasn1-3 ... Preparing to replace libgnutls26 2.12.14-5ubuntu3 (using .../libgnutls26_2.12.14-5ubuntu3.4_i386.deb) ... Unpacking replacement libgnutls26 ... Preparing to replace libk5crypto3 1.10+dfsg~beta1-2 (using .../libk5crypto3_1.10+dfsg~beta1-2ubuntu0.3_i386.deb) ... Unpacking replacement libk5crypto3 ... Preparing to replace libgssapi-krb5-2 1.10+dfsg~beta1-2 (using .../libgssapi-krb5-2_1.10+dfsg~beta1-2ubuntu0.3_i386.deb) ... Unpacking replacement libgssapi-krb5-2 ... Preparing to replace libkrb5-3 1.10+dfsg~beta1-2 (using .../libkrb5-3_1.10+dfsg~beta1-2ubuntu0.3_i386.deb) ... Unpacking replacement libkrb5-3 ... Preparing to replace libkrb5support0 1.10+dfsg~beta1-2 (using .../libkrb5support0_1.10+dfsg~beta1-2ubuntu0.3_i386.deb) ... Unpacking replacement libkrb5support0 ... Preparing to replace libsasl2-2 2.1.25.dfsg1-3 (using .../libsasl2-2_2.1.25.dfsg1-3ubuntu0.1_i386.deb) ... Unpacking replacement libsasl2-2 ... Preparing to replace libldap-2.4-2 2.4.28-1.1ubuntu4 (using .../libldap-2.4-2_2.4.28-1.1ubuntu4.3_i386.deb) ... Unpacking replacement libldap-2.4-2 ... Preparing to replace libcurl3-gnutls 7.22.0-3ubuntu4 (using .../libcurl3-gnutls_7.22.0-3ubuntu4.2_i386.deb) ... Unpacking replacement libcurl3-gnutls ... Preparing to replace multiarch-support 2.15-0ubuntu10 (using .../multiarch-support_2.15-0ubuntu10.4_i386.deb) ... Unpacking replacement multiarch-support ... Setting up multiarch-support (2.15-0ubuntu10.4) ... (Reading database ... 12295 files and directories currently installed.) Preparing to replace apt-transport-https 0.8.16~exp12ubuntu10 (using .../apt-transport-https_0.8.16~exp12ubuntu10.12_i386.deb) ... Unpacking replacement apt-transport-https ... Preparing to replace openssl 1.0.1-4ubuntu3 (using .../openssl_1.0.1-4ubuntu5.10_i386.deb) ... Unpacking replacement openssl ... Preparing to replace binutils 2.22-6ubuntu1 (using .../binutils_2.22-6ubuntu1.1_i386.deb) ... Unpacking replacement binutils ... Preparing to replace make 3.81-8.1ubuntu1 (using .../make_3.81-8.1ubuntu1.1_i386.deb) ... Unpacking replacement make ... Preparing to replace dpkg-dev 1.16.1.2ubuntu7 (using .../dpkg-dev_1.16.1.2ubuntu7.1_all.deb) ... Unpacking replacement dpkg-dev ... Preparing to replace libdpkg-perl 1.16.1.2ubuntu7 (using .../libdpkg-perl_1.16.1.2ubuntu7.1_all.deb) ... Unpacking replacement libdpkg-perl ... Preparing to replace build-essential 11.5ubuntu2 (using .../build-essential_11.5ubuntu2.1_i386.deb) ... Unpacking replacement build-essential ... Setting up libc-dev-bin (2.15-0ubuntu10.4) ... Setting up linux-libc-dev (3.2.0-52.78) ... Setting up libc6-dev (2.15-0ubuntu10.4) ... Setting up libsqlite3-0 (3.7.9-2ubuntu1.1) ... Setting up libgcrypt11 (1.5.0-3ubuntu0.2) ... Setting up libtasn1-3 (2.10-1ubuntu1.1) ... Setting up libgnutls26 (2.12.14-5ubuntu3.4) ... Setting up libkrb5support0 (1.10+dfsg~beta1-2ubuntu0.3) ... Setting up libk5crypto3 (1.10+dfsg~beta1-2ubuntu0.3) ... Setting up libkrb5-3 (1.10+dfsg~beta1-2ubuntu0.3) ... Setting up libgssapi-krb5-2 (1.10+dfsg~beta1-2ubuntu0.3) ... Setting up libsasl2-2 (2.1.25.dfsg1-3ubuntu0.1) ... Setting up libldap-2.4-2 (2.4.28-1.1ubuntu4.3) ... Setting up libcurl3-gnutls (7.22.0-3ubuntu4.2) ... Setting up apt-transport-https (0.8.16~exp12ubuntu10.12) ... Setting up openssl (1.0.1-4ubuntu5.10) ... Setting up binutils (2.22-6ubuntu1.1) ... Setting up make (3.81-8.1ubuntu1.1) ... Setting up perl-modules (5.14.2-6ubuntu2.3) ... Setting up perl (5.14.2-6ubuntu2.3) ... Setting up libdpkg-perl (1.16.1.2ubuntu7.1) ... Setting up dpkg-dev (1.16.1.2ubuntu7.1) ... Setting up build-essential (11.5ubuntu2.1) ... Processing triggers for libc-bin ... ldconfig deferred processing now taking place RUN: /usr/share/launchpad-buildd/slavebin/sbuild-package ['sbuild-package', 'cbf513a8dc08fed6254c539ab37d2c9247c5b8fc', 'i386', 'precise', '--nolog', '--batch', '--archive=ubuntu', '--dist=precise', '-A', '--purpose=PPA', '--architecture=i386', '--comp=main', 'hardening-wrapper_2.3ubuntu1~precise4.dsc'] Initiating build cbf513a8dc08fed6254c539ab37d2c9247c5b8fc with 2 jobs across 2 processor cores. Automatic build of hardening-wrapper_2.3ubuntu1~precise4 on seaborgium by sbuild/i386 1.170.5 Build started at 20130828-0637 ****************************************************************************** hardening-wrapper_2.3ubuntu1~precise4.dsc exists in cwd ** Using build dependencies supplied by package: Build-Depends: debhelper (>= 9), perl-base (>= 5.10) Checking for already installed source dependencies... debhelper: missing perl-base: already installed (5.14.2-6ubuntu2.3 >= 5.10 is satisfied) Checking for source dependency conflicts... /usr/bin/sudo /usr/bin/apt-get --purge $CHROOT_OPTIONS -q -y install debhelper Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: bsdmainutils file gettext gettext-base groff-base html2text intltool-debian libcroco3 libgettextpo0 libmagic1 libpipeline1 libunistring0 libxml2 man-db po-debconf Suggested packages: wamerican wordlist whois vacation dh-make gettext-doc groff less www-browser libmail-box-perl Recommended packages: curl wget lynx-cur xml-core libmail-sendmail-perl The following NEW packages will be installed: bsdmainutils debhelper file gettext gettext-base groff-base html2text intltool-debian libcroco3 libgettextpo0 libmagic1 libpipeline1 libunistring0 libxml2 man-db po-debconf 0 upgraded, 16 newly installed, 0 to remove and 0 not upgraded. Need to get 5768 kB of archives. After this operation, 17.5 MB of additional disk space will be used. WARNING: The following packages cannot be authenticated! libpipeline1 libxml2 libcroco3 libunistring0 libgettextpo0 libmagic1 file bsdmainutils gettext-base groff-base man-db html2text gettext intltool-debian po-debconf debhelper Authentication warning overridden. Get:1 http://ftpmaster.internal/ubuntu/ precise/main libpipeline1 i386 1.2.1-1 [26.1 kB] Get:2 http://ftpmaster.internal/ubuntu/ precise-security/main libxml2 i386 2.7.8.dfsg-5.1ubuntu4.6 [662 kB] Get:3 http://ppa.launchpad.net/gezakovacs/sandbox/ubuntu/ precise/main debhelper all 9.20120909~bpo60+1~precise1 [709 kB] Get:4 http://ftpmaster.internal/ubuntu/ precise-updates/main libcroco3 i386 0.6.5-1ubuntu0.1 [100 kB] Get:5 http://ftpmaster.internal/ubuntu/ precise/main libunistring0 i386 0.9.3-5 [432 kB] Get:6 http://ftpmaster.internal/ubuntu/ precise/main libgettextpo0 i386 0.18.1.1-5ubuntu3 [118 kB] Get:7 http://ftpmaster.internal/ubuntu/ precise/main libmagic1 i386 5.09-2 [219 kB] Get:8 http://ftpmaster.internal/ubuntu/ precise/main file i386 5.09-2 [19.4 kB] Get:9 http://ftpmaster.internal/ubuntu/ precise/main bsdmainutils i386 8.2.3ubuntu1 [194 kB] Get:10 http://ftpmaster.internal/ubuntu/ precise/main gettext-base i386 0.18.1.1-5ubuntu3 [58.2 kB] Get:11 http://ftpmaster.internal/ubuntu/ precise/main groff-base i386 1.21-7 [1024 kB] Get:12 http://ftpmaster.internal/ubuntu/ precise-updates/main man-db i386 2.6.1-2ubuntu1 [742 kB] Get:13 http://ftpmaster.internal/ubuntu/ precise/main html2text i386 1.3.2a-15 [101 kB] Get:14 http://ftpmaster.internal/ubuntu/ precise/main gettext i386 0.18.1.1-5ubuntu3 [1122 kB] Get:15 http://ftpmaster.internal/ubuntu/ precise/main intltool-debian all 0.35.0+20060710.1 [31.6 kB] Get:16 http://ftpmaster.internal/ubuntu/ precise/main po-debconf all 1.0.16+nmu2ubuntu1 [210 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 5768 kB in 0s (12.3 MB/s) Selecting previously unselected package libpipeline1. (Reading database ... 12295 files and directories currently installed.) Unpacking libpipeline1 (from .../libpipeline1_1.2.1-1_i386.deb) ... Selecting previously unselected package libxml2. Unpacking libxml2 (from .../libxml2_2.7.8.dfsg-5.1ubuntu4.6_i386.deb) ... Selecting previously unselected package libcroco3. Unpacking libcroco3 (from .../libcroco3_0.6.5-1ubuntu0.1_i386.deb) ... Selecting previously unselected package libunistring0. Unpacking libunistring0 (from .../libunistring0_0.9.3-5_i386.deb) ... Selecting previously unselected package libgettextpo0. Unpacking libgettextpo0 (from .../libgettextpo0_0.18.1.1-5ubuntu3_i386.deb) ... Selecting previously unselected package libmagic1. Unpacking libmagic1 (from .../libmagic1_5.09-2_i386.deb) ... Selecting previously unselected package file. Unpacking file (from .../archives/file_5.09-2_i386.deb) ... Selecting previously unselected package bsdmainutils. Unpacking bsdmainutils (from .../bsdmainutils_8.2.3ubuntu1_i386.deb) ... Selecting previously unselected package gettext-base. Unpacking gettext-base (from .../gettext-base_0.18.1.1-5ubuntu3_i386.deb) ... Selecting previously unselected package groff-base. Unpacking groff-base (from .../groff-base_1.21-7_i386.deb) ... Selecting previously unselected package man-db. Unpacking man-db (from .../man-db_2.6.1-2ubuntu1_i386.deb) ... Selecting previously unselected package html2text. Unpacking html2text (from .../html2text_1.3.2a-15_i386.deb) ... Selecting previously unselected package gettext. Unpacking gettext (from .../gettext_0.18.1.1-5ubuntu3_i386.deb) ... Selecting previously unselected package intltool-debian. Unpacking intltool-debian (from .../intltool-debian_0.35.0+20060710.1_all.deb) ... Selecting previously unselected package po-debconf. Unpacking po-debconf (from .../po-debconf_1.0.16+nmu2ubuntu1_all.deb) ... Selecting previously unselected package debhelper. Unpacking debhelper (from .../debhelper_9.20120909~bpo60+1~precise1_all.deb) ... Setting up libpipeline1 (1.2.1-1) ... Setting up libxml2 (2.7.8.dfsg-5.1ubuntu4.6) ... Setting up libcroco3 (0.6.5-1ubuntu0.1) ... Setting up libunistring0 (0.9.3-5) ... Setting up libgettextpo0 (0.18.1.1-5ubuntu3) ... Setting up libmagic1 (5.09-2) ... Setting up file (5.09-2) ... Setting up bsdmainutils (8.2.3ubuntu1) ... update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode. update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode. Setting up gettext-base (0.18.1.1-5ubuntu3) ... Setting up groff-base (1.21-7) ... Setting up man-db (2.6.1-2ubuntu1) ... Building database of manual pages ... Setting up html2text (1.3.2a-15) ... Setting up gettext (0.18.1.1-5ubuntu3) ... Setting up intltool-debian (0.35.0+20060710.1) ... Setting up po-debconf (1.0.16+nmu2ubuntu1) ... Setting up debhelper (9.20120909~bpo60+1~precise1) ... Processing triggers for libc-bin ... ldconfig deferred processing now taking place Checking correctness of source dependencies... Toolchain package versions: libc6-dev_2.15-0ubuntu10.4 make_3.81-8.1ubuntu1.1 dpkg-dev_1.16.1.2ubuntu7.1 gcc-4.6_4.6.3-1ubuntu5 g++-4.6_4.6.3-1ubuntu5 binutils_2.22-6ubuntu1.1 libstdc++6-4.6-dev_4.6.3-1ubuntu5 libstdc++6_4.6.3-1ubuntu5 ------------------------------------------------------------------------------ dpkg-source: warning: -sn is not a valid option for Dpkg::Source::Package::V3::native gpgv: Signature made Wed Aug 28 06:25:29 2013 UTC using DSA key ID D5C17882 gpgv: Can't check signature: public key not found dpkg-source: warning: failed to verify signature on ./hardening-wrapper_2.3ubuntu1~precise4.dsc dpkg-source: info: extracting hardening-wrapper in hardening-wrapper-2.3ubuntu1~precise4 dpkg-source: info: unpacking hardening-wrapper_2.3ubuntu1~precise4.tar.gz dpkg-buildpackage: source package hardening-wrapper dpkg-buildpackage: source version 2.3ubuntu1~precise4 dpkg-source --before-build hardening-wrapper-2.3ubuntu1~precise4 dpkg-buildpackage: host architecture i386 /usr/bin/fakeroot debian/rules clean dh clean dh_testdir dh_auto_clean make[1]: Entering directory `/build/buildd/hardening-wrapper-2.3ubuntu1~precise4' rm -rf build-tree make[1]: Leaving directory `/build/buildd/hardening-wrapper-2.3ubuntu1~precise4' dh_clean debian/rules build dh build dh_testdir dh_auto_configure dh_auto_build make[1]: Entering directory `/build/buildd/hardening-wrapper-2.3ubuntu1~precise4' if [ -z "i386" ]; then echo No DEB_HOST_ARCH; exit 1; fi if [ -z "linux" ]; then echo No DEB_HOST_ARCH_OS; exit 1; fi mkdir -p build-tree # Construct wrappers. install hardened-cc hardened-ld build-tree/ # Set defaults, based on OS and ARCH. perl -pi -e 's/ #OS#/ '"linux"'/; s/ #ARCH#/ '"i386"'/;' build-tree/hardened-cc build-tree/hardened-ld perl -pi -e "s/default{'DEB_BUILD_HARDENING_PIE'}=1;/default{'DEB_BUILD_HARDENING_PIE'}=1;/;" build-tree/hardened-cc build-tree/hardened-ld perl -pi -e "s/default{'DEB_BUILD_HARDENING_STACKPROTECTOR'}=1;/default{'DEB_BUILD_HARDENING_STACKPROTECTOR'}=1;/;" build-tree/hardened-cc build-tree/hardened-ld # Duplicate cc wrapper to c++. install build-tree/hardened-cc build-tree/hardened-c++ perl -pi -e 's/hardened-cc/hardened-c++/g; s|/usr/bin/cc|/usr/bin/c++|g;' build-tree/hardened-c++ # Construct tools. install hardening.make hardening-check build-tree/ # Do not use "shell" here because it eats newlines. We want those. perl -pi -e "s/^my %libc;/my %libc = (\n$(perl hardening-check --find-libc-functions /bin/ls)\n);/;" build-tree/hardening-check # Construct man pages. install hardened-cc.1 hardened-ld.1 build-tree/ pod2man hardening-check > build-tree/hardening-check.1 # Duplicate cc man page to c++. install build-tree/hardened-cc.1 build-tree/hardened-c++.1 perl -pi -e 's/hardened-cc/hardened-c++/g; s/gcc/g++/g;' build-tree/hardened-c++.1 touch build-tree/stamp-build make[1]: Leaving directory `/build/buildd/hardening-wrapper-2.3ubuntu1~precise4' dh_auto_test make[1]: Entering directory `/build/buildd/hardening-wrapper-2.3ubuntu1~precise4' make -C tests check make[2]: Entering directory `/build/buildd/hardening-wrapper-2.3ubuntu1~precise4/tests' # Check the stack protector and PIE options directly, just to have # a historical record in the build logs. cc -Wall -fstack-protector hello.c -o ../build-tree/cc-test || true ../build-tree/cc-test || true ../build-tree/cc-test: ok (0x8048464) cc -Wall -fPIE -pie hello.c -o ../build-tree/cc-test || true ../build-tree/cc-test || true ../build-tree/cc-test: ok (0x555555bc) ../build-tree/cc-test || true ../build-tree/cc-test: ok (0x555555bc) make -f Makefile.wrapper check make[3]: Entering directory `/build/buildd/hardening-wrapper-2.3ubuntu1~precise4/tests' # Test basic perl syntax for script in ../build-tree/hardened-cc ../build-tree/hardened-ld ../build-tree/hardened-c++; do perl -c $script; done ../build-tree/hardened-cc syntax OK ../build-tree/hardened-ld syntax OK ../build-tree/hardened-c++ syntax OK touch syntax.stamp # Compiler and linker options disabled. DEB_BUILD_HARDENING=0 ../build-tree/hardened-cc -B ../build-tree/ -o ../build-tree/wrapper-test-stock hello.c /usr/bin/gcc-4.6 -B ../build-tree/ -o ../build-tree/wrapper-test-stock hello.c readelf -ldrsW ../build-tree/wrapper-test-stock Elf file type is EXEC (Executable file) Entry point 0x80483b0 There are 9 program headers, starting at offset 52 Program Headers: Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align PHDR 0x000034 0x08048034 0x08048034 0x00120 0x00120 R E 0x4 INTERP 0x000154 0x08048154 0x08048154 0x00013 0x00013 R 0x1 [Requesting program interpreter: /lib/ld-linux.so.2] LOAD 0x000000 0x08048000 0x08048000 0x00700 0x00700 R E 0x1000 LOAD 0x000f14 0x08049f14 0x08049f14 0x00108 0x00110 RW 0x1000 DYNAMIC 0x000f28 0x08049f28 0x08049f28 0x000c8 0x000c8 RW 0x4 NOTE 0x000168 0x08048168 0x08048168 0x00044 0x00044 R 0x4 GNU_EH_FRAME 0x0005e0 0x080485e0 0x080485e0 0x0003c 0x0003c R 0x4 GNU_STACK 0x000000 0x00000000 0x00000000 0x00000 0x00000 RW 0x4 GNU_RELRO 0x000f14 0x08049f14 0x08049f14 0x000ec 0x000ec R 0x1 Section to Segment mapping: Segment Sections... 00 01 .interp 02 .interp .note.ABI-tag .note.gnu.build-id .gnu.hash .dynsym .dynstr .gnu.version .gnu.version_r .rel.dyn .rel.plt .init .plt .text .fini .rodata .eh_frame_hdr .eh_frame 03 .ctors .dtors .jcr .dynamic .got .got.plt .data .bss 04 .dynamic 05 .note.ABI-tag .note.gnu.build-id 06 .eh_frame_hdr 07 08 .ctors .dtors .jcr .dynamic .got Dynamic section at offset 0xf28 contains 20 entries: Tag Type Name/Value 0x00000001 (NEEDED) Shared library: [libc.so.6] 0x0000000c (INIT) 0x8048314 0x0000000d (FINI) 0x80485ac 0x6ffffef5 (GNU_HASH) 0x80481ac 0x00000005 (STRTAB) 0x804823c 0x00000006 (SYMTAB) 0x80481cc 0x0000000a (STRSZ) 105 (bytes) 0x0000000b (SYMENT) 16 (bytes) 0x00000015 (DEBUG) 0x0 0x00000003 (PLTGOT) 0x8049ff4 0x00000002 (PLTRELSZ) 40 (bytes) 0x00000014 (PLTREL) REL 0x00000017 (JMPREL) 0x80482ec 0x00000011 (REL) 0x80482e4 0x00000012 (RELSZ) 8 (bytes) 0x00000013 (RELENT) 8 (bytes) 0x6ffffffe (VERNEED) 0x80482b4 0x6fffffff (VERNEEDNUM) 1 0x6ffffff0 (VERSYM) 0x80482a6 0x00000000 (NULL) 0x0 Relocation section '.rel.dyn' at offset 0x2e4 contains 1 entries: Offset Info Type Sym. Value Symbol's Name 08049ff0 00000306 R_386_GLOB_DAT 00000000 __gmon_start__ Relocation section '.rel.plt' at offset 0x2ec contains 5 entries: Offset Info Type Sym. Value Symbol's Name 0804a000 00000107 R_386_JUMP_SLOT 00000000 printf 0804a004 00000207 R_386_JUMP_SLOT 00000000 __stack_chk_fail 0804a008 00000307 R_386_JUMP_SLOT 00000000 __gmon_start__ 0804a00c 00000407 R_386_JUMP_SLOT 00000000 __libc_start_main 0804a010 00000507 R_386_JUMP_SLOT 00000000 snprintf Symbol table '.dynsym' contains 7 entries: Num: Value Size Type Bind Vis Ndx Name 0: 00000000 0 NOTYPE LOCAL DEFAULT UND 1: 00000000 0 FUNC GLOBAL DEFAULT UND printf@GLIBC_2.0 (2) 2: 00000000 0 FUNC GLOBAL DEFAULT UND __stack_chk_fail@GLIBC_2.4 (3) 3: 00000000 0 NOTYPE WEAK DEFAULT UND __gmon_start__ 4: 00000000 0 FUNC GLOBAL DEFAULT UND __libc_start_main@GLIBC_2.0 (2) 5: 00000000 0 FUNC GLOBAL DEFAULT UND snprintf@GLIBC_2.0 (2) 6: 080485cc 4 OBJECT GLOBAL DEFAULT 15 _IO_stdin_used Symbol table '.symtab' contains 68 entries: Num: Value Size Type Bind Vis Ndx Name 0: 00000000 0 NOTYPE LOCAL DEFAULT UND 1: 08048154 0 SECTION LOCAL DEFAULT 1 2: 08048168 0 SECTION LOCAL DEFAULT 2 3: 08048188 0 SECTION LOCAL DEFAULT 3 4: 080481ac 0 SECTION LOCAL DEFAULT 4 5: 080481cc 0 SECTION LOCAL DEFAULT 5 6: 0804823c 0 SECTION LOCAL DEFAULT 6 7: 080482a6 0 SECTION LOCAL DEFAULT 7 8: 080482b4 0 SECTION LOCAL DEFAULT 8 9: 080482e4 0 SECTION LOCAL DEFAULT 9 10: 080482ec 0 SECTION LOCAL DEFAULT 10 11: 08048314 0 SECTION LOCAL DEFAULT 11 12: 08048350 0 SECTION LOCAL DEFAULT 12 13: 080483b0 0 SECTION LOCAL DEFAULT 13 14: 080485ac 0 SECTION LOCAL DEFAULT 14 15: 080485c8 0 SECTION LOCAL DEFAULT 15 16: 080485e0 0 SECTION LOCAL DEFAULT 16 17: 0804861c 0 SECTION LOCAL DEFAULT 17 18: 08049f14 0 SECTION LOCAL DEFAULT 18 19: 08049f1c 0 SECTION LOCAL DEFAULT 19 20: 08049f24 0 SECTION LOCAL DEFAULT 20 21: 08049f28 0 SECTION LOCAL DEFAULT 21 22: 08049ff0 0 SECTION LOCAL DEFAULT 22 23: 08049ff4 0 SECTION LOCAL DEFAULT 23 24: 0804a014 0 SECTION LOCAL DEFAULT 24 25: 0804a01c 0 SECTION LOCAL DEFAULT 25 26: 00000000 0 SECTION LOCAL DEFAULT 26 27: 00000000 0 FILE LOCAL DEFAULT ABS crtstuff.c 28: 08049f14 0 OBJECT LOCAL DEFAULT 18 __CTOR_LIST__ 29: 08049f1c 0 OBJECT LOCAL DEFAULT 19 __DTOR_LIST__ 30: 08049f24 0 OBJECT LOCAL DEFAULT 20 __JCR_LIST__ 31: 080483e0 0 FUNC LOCAL DEFAULT 13 __do_global_dtors_aux 32: 0804a01c 1 OBJECT LOCAL DEFAULT 25 completed.6159 33: 0804a020 4 OBJECT LOCAL DEFAULT 25 dtor_idx.6161 34: 08048440 0 FUNC LOCAL DEFAULT 13 frame_dummy 35: 00000000 0 FILE LOCAL DEFAULT ABS crtstuff.c 36: 08049f18 0 OBJECT LOCAL DEFAULT 18 __CTOR_END__ 37: 080486fc 0 OBJECT LOCAL DEFAULT 17 __FRAME_END__ 38: 08049f24 0 OBJECT LOCAL DEFAULT 20 __JCR_END__ 39: 08048580 0 FUNC LOCAL DEFAULT 13 __do_global_ctors_aux 40: 00000000 0 FILE LOCAL DEFAULT ABS hello.c 41: 08049f14 0 NOTYPE LOCAL DEFAULT 18 __init_array_end 42: 08049f28 0 OBJECT LOCAL DEFAULT 21 _DYNAMIC 43: 08049f14 0 NOTYPE LOCAL DEFAULT 18 __init_array_start 44: 08049ff4 0 OBJECT LOCAL DEFAULT 23 _GLOBAL_OFFSET_TABLE_ 45: 08048570 2 FUNC GLOBAL DEFAULT 13 __libc_csu_fini 46: 08048572 0 FUNC GLOBAL HIDDEN 13 __i686.get_pc_thunk.bx 47: 0804a014 0 NOTYPE WEAK DEFAULT 24 data_start 48: 00000000 0 FUNC GLOBAL DEFAULT UND printf@@GLIBC_2.0 49: 0804a01c 0 NOTYPE GLOBAL DEFAULT ABS _edata 50: 080485ac 0 FUNC GLOBAL DEFAULT 14 _fini 51: 00000000 0 FUNC GLOBAL DEFAULT UND __stack_chk_fail@@GLIBC_2.4 52: 08049f20 0 OBJECT GLOBAL HIDDEN 19 __DTOR_END__ 53: 0804a014 0 NOTYPE GLOBAL DEFAULT 24 __data_start 54: 00000000 0 NOTYPE WEAK DEFAULT UND __gmon_start__ 55: 0804a018 0 OBJECT GLOBAL HIDDEN 24 __dso_handle 56: 08048464 120 FUNC GLOBAL DEFAULT 13 announcement 57: 080485cc 4 OBJECT GLOBAL DEFAULT 15 _IO_stdin_used 58: 00000000 0 FUNC GLOBAL DEFAULT UND __libc_start_main@@GLIBC_2.0 59: 08048500 97 FUNC GLOBAL DEFAULT 13 __libc_csu_init 60: 00000000 0 FUNC GLOBAL DEFAULT UND snprintf@@GLIBC_2.0 61: 0804a024 0 NOTYPE GLOBAL DEFAULT ABS _end 62: 080483b0 0 FUNC GLOBAL DEFAULT 13 _start 63: 080485c8 4 OBJECT GLOBAL DEFAULT 15 _fp_hw 64: 0804a01c 0 NOTYPE GLOBAL DEFAULT ABS __bss_start 65: 080484dc 32 FUNC GLOBAL DEFAULT 13 main 66: 00000000 0 NOTYPE WEAK DEFAULT UND _Jv_RegisterClasses 67: 08048314 0 FUNC GLOBAL DEFAULT 11 _init ../build-tree/wrapper-test-stock ../build-tree/wrapper-test-stock: ok (0x8048464) # Compiler options enabled. (linker is not wrapper) ../build-tree/hardened-cc -B ../build-tree/ -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -O2 -Wl,-Bsymbolic-functions -Wl,-z,relro -o ../build-tree/wrapper-test-compiled hello.c /usr/bin/gcc-4.6 -fstack-protector --param=ssp-buffer-size=4 -fPIE -pie -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -B ../build-tree/ -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -O2 -Wl,-Bsymbolic-functions -Wl,-z,relro -o ../build-tree/wrapper-test-compiled hello.c readelf -ldrsW ../build-tree/wrapper-test-compiled Elf file type is DYN (Shared object file) Entry point 0x520 There are 9 program headers, starting at offset 52 Program Headers: Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align PHDR 0x000034 0x00000034 0x00000034 0x00120 0x00120 R E 0x4 INTERP 0x000154 0x00000154 0x00000154 0x00013 0x00013 R 0x1 [Requesting program interpreter: /lib/ld-linux.so.2] LOAD 0x000000 0x00000000 0x00000000 0x008f4 0x008f4 R E 0x1000 LOAD 0x000f08 0x00001f08 0x00001f08 0x00118 0x00120 RW 0x1000 DYNAMIC 0x000f1c 0x00001f1c 0x00001f1c 0x000c8 0x000c8 RW 0x4 NOTE 0x000168 0x00000168 0x00000168 0x00044 0x00044 R 0x4 GNU_EH_FRAME 0x0007bc 0x000007bc 0x000007bc 0x0003c 0x0003c R 0x4 GNU_STACK 0x000000 0x00000000 0x00000000 0x00000 0x00000 RW 0x4 GNU_RELRO 0x000f08 0x00001f08 0x00001f08 0x000f8 0x000f8 R 0x1 Section to Segment mapping: Segment Sections... 00 01 .interp 02 .interp .note.ABI-tag .note.gnu.build-id .gnu.hash .dynsym .dynstr .gnu.version .gnu.version_r .rel.dyn .rel.plt .init .plt .text .fini .rodata .eh_frame_hdr .eh_frame 03 .ctors .dtors .jcr .dynamic .got .got.plt .data .bss 04 .dynamic 05 .note.ABI-tag .note.gnu.build-id 06 .eh_frame_hdr 07 08 .ctors .dtors .jcr .dynamic .got Dynamic section at offset 0xf1c contains 21 entries: Tag Type Name/Value 0x00000001 (NEEDED) Shared library: [libc.so.6] 0x0000000c (INIT) 0x45c 0x0000000d (FINI) 0x788 0x6ffffef5 (GNU_HASH) 0x1ac 0x00000005 (STRTAB) 0x2c8 0x00000006 (SYMTAB) 0x1e8 0x0000000a (STRSZ) 208 (bytes) 0x0000000b (SYMENT) 16 (bytes) 0x00000015 (DEBUG) 0x0 0x00000003 (PLTGOT) 0x1ff4 0x00000002 (PLTRELSZ) 48 (bytes) 0x00000014 (PLTREL) REL 0x00000017 (JMPREL) 0x42c 0x00000011 (REL) 0x404 0x00000012 (RELSZ) 40 (bytes) 0x00000013 (RELENT) 8 (bytes) 0x6ffffffe (VERNEED) 0x3b4 0x6fffffff (VERNEEDNUM) 1 0x6ffffff0 (VERSYM) 0x398 0x6ffffffa (RELCOUNT) 2 0x00000000 (NULL) 0x0 Relocation section '.rel.dyn' at offset 0x404 contains 5 entries: Offset Info Type Sym. Value Symbol's Name 00001fec 00000008 R_386_RELATIVE 0000201c 00000008 R_386_RELATIVE 00001fe4 00000206 R_386_GLOB_DAT 00000000 __cxa_finalize 00001fe8 00000306 R_386_GLOB_DAT 00000000 __gmon_start__ 00001ff0 00000706 R_386_GLOB_DAT 00000000 _Jv_RegisterClasses Relocation section '.rel.plt' at offset 0x42c contains 6 entries: Offset Info Type Sym. Value Symbol's Name 00002000 00000107 R_386_JUMP_SLOT 00000000 __stack_chk_fail 00002004 00000207 R_386_JUMP_SLOT 00000000 __cxa_finalize 00002008 00000307 R_386_JUMP_SLOT 00000000 __gmon_start__ 0000200c 00000407 R_386_JUMP_SLOT 00000000 __libc_start_main 00002010 00000507 R_386_JUMP_SLOT 00000000 snprintf 00002014 00000607 R_386_JUMP_SLOT 00000000 __printf_chk Symbol table '.dynsym' contains 14 entries: Num: Value Size Type Bind Vis Ndx Name 0: 00000000 0 NOTYPE LOCAL DEFAULT UND 1: 00000000 0 FUNC GLOBAL DEFAULT UND __stack_chk_fail@GLIBC_2.4 (2) 2: 00000000 0 FUNC WEAK DEFAULT UND __cxa_finalize@GLIBC_2.1.3 (3) 3: 00000000 0 NOTYPE WEAK DEFAULT UND __gmon_start__ 4: 00000000 0 FUNC GLOBAL DEFAULT UND __libc_start_main@GLIBC_2.0 (4) 5: 00000000 0 FUNC GLOBAL DEFAULT UND snprintf@GLIBC_2.0 (4) 6: 00000000 0 FUNC GLOBAL DEFAULT UND __printf_chk@GLIBC_2.3.4 (5) 7: 00000000 0 NOTYPE WEAK DEFAULT UND _Jv_RegisterClasses 8: 00002020 0 NOTYPE GLOBAL DEFAULT ABS _edata 9: 00002028 0 NOTYPE GLOBAL DEFAULT ABS _end 10: 000007a8 4 OBJECT GLOBAL DEFAULT 15 _IO_stdin_used 11: 000007a4 4 OBJECT GLOBAL DEFAULT 15 _fp_hw 12: 00002020 0 NOTYPE GLOBAL DEFAULT ABS __bss_start 13: 00000500 32 FUNC GLOBAL DEFAULT 13 main Symbol table '.symtab' contains 77 entries: Num: Value Size Type Bind Vis Ndx Name 0: 00000000 0 NOTYPE LOCAL DEFAULT UND 1: 00000154 0 SECTION LOCAL DEFAULT 1 2: 00000168 0 SECTION LOCAL DEFAULT 2 3: 00000188 0 SECTION LOCAL DEFAULT 3 4: 000001ac 0 SECTION LOCAL DEFAULT 4 5: 000001e8 0 SECTION LOCAL DEFAULT 5 6: 000002c8 0 SECTION LOCAL DEFAULT 6 7: 00000398 0 SECTION LOCAL DEFAULT 7 8: 000003b4 0 SECTION LOCAL DEFAULT 8 9: 00000404 0 SECTION LOCAL DEFAULT 9 10: 0000042c 0 SECTION LOCAL DEFAULT 10 11: 0000045c 0 SECTION LOCAL DEFAULT 11 12: 00000490 0 SECTION LOCAL DEFAULT 12 13: 00000500 0 SECTION LOCAL DEFAULT 13 14: 00000788 0 SECTION LOCAL DEFAULT 14 15: 000007a4 0 SECTION LOCAL DEFAULT 15 16: 000007bc 0 SECTION LOCAL DEFAULT 16 17: 000007f8 0 SECTION LOCAL DEFAULT 17 18: 00001f08 0 SECTION LOCAL DEFAULT 18 19: 00001f10 0 SECTION LOCAL DEFAULT 19 20: 00001f18 0 SECTION LOCAL DEFAULT 20 21: 00001f1c 0 SECTION LOCAL DEFAULT 21 22: 00001fe4 0 SECTION LOCAL DEFAULT 22 23: 00001ff4 0 SECTION LOCAL DEFAULT 23 24: 00002018 0 SECTION LOCAL DEFAULT 24 25: 00002020 0 SECTION LOCAL DEFAULT 25 26: 00000000 0 SECTION LOCAL DEFAULT 26 27: 00000000 0 SECTION LOCAL DEFAULT 27 28: 00000000 0 SECTION LOCAL DEFAULT 28 29: 00000000 0 SECTION LOCAL DEFAULT 29 30: 00000000 0 SECTION LOCAL DEFAULT 30 31: 00000000 0 SECTION LOCAL DEFAULT 31 32: 00000000 0 SECTION LOCAL DEFAULT 32 33: 00000000 0 SECTION LOCAL DEFAULT 33 34: 00000000 0 FILE LOCAL DEFAULT ABS crtstuff.c 35: 00001f08 0 OBJECT LOCAL DEFAULT 18 __CTOR_LIST__ 36: 00001f10 0 OBJECT LOCAL DEFAULT 19 __DTOR_LIST__ 37: 00001f18 0 OBJECT LOCAL DEFAULT 20 __JCR_LIST__ 38: 00000560 0 FUNC LOCAL DEFAULT 13 __do_global_dtors_aux 39: 00002020 1 OBJECT LOCAL DEFAULT 25 completed.6159 40: 00002024 4 OBJECT LOCAL DEFAULT 25 dtor_idx.6161 41: 000005e0 0 FUNC LOCAL DEFAULT 13 frame_dummy 42: 00000000 0 FILE LOCAL DEFAULT ABS crtstuff.c 43: 00001f0c 0 OBJECT LOCAL DEFAULT 18 __CTOR_END__ 44: 000008f0 0 OBJECT LOCAL DEFAULT 17 __FRAME_END__ 45: 00001f18 0 OBJECT LOCAL DEFAULT 20 __JCR_END__ 46: 00000750 0 FUNC LOCAL DEFAULT 13 __do_global_ctors_aux 47: 00000000 0 FILE LOCAL DEFAULT ABS hello.c 48: 00001f14 0 OBJECT LOCAL DEFAULT 19 __DTOR_END__ 49: 00001f08 0 NOTYPE LOCAL DEFAULT 18 __init_array_end 50: 0000201c 0 OBJECT LOCAL DEFAULT 24 __dso_handle 51: 00001f1c 0 OBJECT LOCAL DEFAULT ABS _DYNAMIC 52: 00001f08 0 NOTYPE LOCAL DEFAULT 18 __init_array_start 53: 00001ff4 0 OBJECT LOCAL DEFAULT ABS _GLOBAL_OFFSET_TABLE_ 54: 00000720 2 FUNC GLOBAL DEFAULT 13 __libc_csu_fini 55: 00000617 0 FUNC GLOBAL HIDDEN 13 __i686.get_pc_thunk.bx 56: 00002018 0 NOTYPE WEAK DEFAULT 24 data_start 57: 00002020 0 NOTYPE GLOBAL DEFAULT ABS _edata 58: 00000788 0 FUNC GLOBAL DEFAULT 14 _fini 59: 00000000 0 FUNC GLOBAL DEFAULT UND __stack_chk_fail@@GLIBC_2.4 60: 00000000 0 FUNC WEAK DEFAULT UND __cxa_finalize@@GLIBC_2.1.3 61: 00002018 0 NOTYPE GLOBAL DEFAULT 24 __data_start 62: 00000000 0 NOTYPE WEAK DEFAULT UND __gmon_start__ 63: 00000620 141 FUNC GLOBAL DEFAULT 13 announcement 64: 000007a8 4 OBJECT GLOBAL DEFAULT 15 _IO_stdin_used 65: 00000000 0 FUNC GLOBAL DEFAULT UND __libc_start_main@@GLIBC_2.0 66: 000006b0 97 FUNC GLOBAL DEFAULT 13 __libc_csu_init 67: 00000000 0 FUNC GLOBAL DEFAULT UND snprintf@@GLIBC_2.0 68: 00002028 0 NOTYPE GLOBAL DEFAULT ABS _end 69: 00000520 0 FUNC GLOBAL DEFAULT 13 _start 70: 000007a4 4 OBJECT GLOBAL DEFAULT 15 _fp_hw 71: 00002020 0 NOTYPE GLOBAL DEFAULT ABS __bss_start 72: 00000500 32 FUNC GLOBAL DEFAULT 13 main 73: 00000000 0 FUNC GLOBAL DEFAULT UND __printf_chk@@GLIBC_2.3.4 74: 00000000 0 NOTYPE WEAK DEFAULT UND _Jv_RegisterClasses 75: 00000730 20 FUNC GLOBAL HIDDEN 13 __stack_chk_fail_local 76: 0000045c 0 FUNC GLOBAL DEFAULT 11 _init # Run twice to show off PIE, if available in kernel ../build-tree/wrapper-test-compiled ../build-tree/wrapper-test-compiled: ok (0x55555620) ../build-tree/wrapper-test-compiled ../build-tree/wrapper-test-compiled: ok (0x55555620) # Enable symlink for ld to trick gcc into doing wrapped linking (cd ../build-tree && ln -s hardened-ld ld) (cd ../build-tree && ln -s hardened-ld ld.gold) # Compiler and linker options enabled. ../build-tree/hardened-cc -B ../build-tree/ -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -O2 -Wl,-Bsymbolic-functions -Wl,-z,relro -o ../build-tree/wrapper-test-linked hello.c /usr/bin/gcc-4.6 -fstack-protector --param=ssp-buffer-size=4 -fPIE -pie -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -B ../build-tree/ -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -O2 -Wl,-Bsymbolic-functions -Wl,-z,relro -o ../build-tree/wrapper-test-linked hello.c /usr/bin/ld.bfd -z now --sysroot=/ --build-id --no-add-needed --as-needed --eh-frame-hdr -m elf_i386 --hash-style=gnu -dynamic-linker /lib/ld-linux.so.2 -pie -z relro -o ../build-tree/wrapper-test-linked /usr/lib/gcc/i686-linux-gnu/4.6/../../../i386-linux-gnu/Scrt1.o /usr/lib/gcc/i686-linux-gnu/4.6/../../../i386-linux-gnu/crti.o /usr/lib/gcc/i686-linux-gnu/4.6/crtbeginS.o -L../build-tree -L/usr/lib/gcc/i686-linux-gnu/4.6 -L/usr/lib/gcc/i686-linux-gnu/4.6/../../../i386-linux-gnu -L/usr/lib/gcc/i686-linux-gnu/4.6/../../../../lib -L/lib/i386-linux-gnu -L/lib/../lib -L/usr/lib/i386-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/i686-linux-gnu/4.6/../../.. -Bsymbolic-functions -z relro /tmp/cc9JNKKR.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/i686-linux-gnu/4.6/crtendS.o /usr/lib/gcc/i686-linux-gnu/4.6/../../../i386-linux-gnu/crtn.o readelf -ldrsW ../build-tree/wrapper-test-linked Elf file type is DYN (Shared object file) Entry point 0x520 There are 9 program headers, starting at offset 52 Program Headers: Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align PHDR 0x000034 0x00000034 0x00000034 0x00120 0x00120 R E 0x4 INTERP 0x000154 0x00000154 0x00000154 0x00013 0x00013 R 0x1 [Requesting program interpreter: /lib/ld-linux.so.2] LOAD 0x000000 0x00000000 0x00000000 0x008f4 0x008f4 R E 0x1000 LOAD 0x000ee0 0x00001ee0 0x00001ee0 0x00128 0x00130 RW 0x1000 DYNAMIC 0x000ef4 0x00001ef4 0x00001ef4 0x000d8 0x000d8 RW 0x4 NOTE 0x000168 0x00000168 0x00000168 0x00044 0x00044 R 0x4 GNU_EH_FRAME 0x0007bc 0x000007bc 0x000007bc 0x0003c 0x0003c R 0x4 GNU_STACK 0x000000 0x00000000 0x00000000 0x00000 0x00000 RW 0x4 GNU_RELRO 0x000ee0 0x00001ee0 0x00001ee0 0x00120 0x00120 R 0x1 Section to Segment mapping: Segment Sections... 00 01 .interp 02 .interp .note.ABI-tag .note.gnu.build-id .gnu.hash .dynsym .dynstr .gnu.version .gnu.version_r .rel.dyn .rel.plt .init .plt .text .fini .rodata .eh_frame_hdr .eh_frame 03 .ctors .dtors .jcr .dynamic .got .data .bss 04 .dynamic 05 .note.ABI-tag .note.gnu.build-id 06 .eh_frame_hdr 07 08 .ctors .dtors .jcr .dynamic .got Dynamic section at offset 0xef4 contains 23 entries: Tag Type Name/Value 0x00000001 (NEEDED) Shared library: [libc.so.6] 0x0000000c (INIT) 0x45c 0x0000000d (FINI) 0x788 0x6ffffef5 (GNU_HASH) 0x1ac 0x00000005 (STRTAB) 0x2c8 0x00000006 (SYMTAB) 0x1e8 0x0000000a (STRSZ) 208 (bytes) 0x0000000b (SYMENT) 16 (bytes) 0x00000015 (DEBUG) 0x0 0x00000003 (PLTGOT) 0x1fcc 0x00000002 (PLTRELSZ) 48 (bytes) 0x00000014 (PLTREL) REL 0x00000017 (JMPREL) 0x42c 0x00000011 (REL) 0x404 0x00000012 (RELSZ) 40 (bytes) 0x00000013 (RELENT) 8 (bytes) 0x00000018 (BIND_NOW) 0x6ffffffb (FLAGS_1) Flags: NOW 0x6ffffffe (VERNEED) 0x3b4 0x6fffffff (VERNEEDNUM) 1 0x6ffffff0 (VERSYM) 0x398 0x6ffffffa (RELCOUNT) 2 0x00000000 (NULL) 0x0 Relocation section '.rel.dyn' at offset 0x404 contains 5 entries: Offset Info Type Sym. Value Symbol's Name 00001ff8 00000008 R_386_RELATIVE 00002004 00000008 R_386_RELATIVE 00001ff0 00000206 R_386_GLOB_DAT 00000000 __cxa_finalize 00001ff4 00000306 R_386_GLOB_DAT 00000000 __gmon_start__ 00001ffc 00000706 R_386_GLOB_DAT 00000000 _Jv_RegisterClasses Relocation section '.rel.plt' at offset 0x42c contains 6 entries: Offset Info Type Sym. Value Symbol's Name 00001fd8 00000107 R_386_JUMP_SLOT 00000000 __stack_chk_fail 00001fdc 00000207 R_386_JUMP_SLOT 00000000 __cxa_finalize 00001fe0 00000307 R_386_JUMP_SLOT 00000000 __gmon_start__ 00001fe4 00000407 R_386_JUMP_SLOT 00000000 __libc_start_main 00001fe8 00000507 R_386_JUMP_SLOT 00000000 snprintf 00001fec 00000607 R_386_JUMP_SLOT 00000000 __printf_chk Symbol table '.dynsym' contains 14 entries: Num: Value Size Type Bind Vis Ndx Name 0: 00000000 0 NOTYPE LOCAL DEFAULT UND 1: 00000000 0 FUNC GLOBAL DEFAULT UND __stack_chk_fail@GLIBC_2.4 (2) 2: 00000000 0 FUNC WEAK DEFAULT UND __cxa_finalize@GLIBC_2.1.3 (3) 3: 00000000 0 NOTYPE WEAK DEFAULT UND __gmon_start__ 4: 00000000 0 FUNC GLOBAL DEFAULT UND __libc_start_main@GLIBC_2.0 (4) 5: 00000000 0 FUNC GLOBAL DEFAULT UND snprintf@GLIBC_2.0 (4) 6: 00000000 0 FUNC GLOBAL DEFAULT UND __printf_chk@GLIBC_2.3.4 (5) 7: 00000000 0 NOTYPE WEAK DEFAULT UND _Jv_RegisterClasses 8: 00002008 0 NOTYPE GLOBAL DEFAULT ABS _edata 9: 00002010 0 NOTYPE GLOBAL DEFAULT ABS _end 10: 000007a8 4 OBJECT GLOBAL DEFAULT 15 _IO_stdin_used 11: 000007a4 4 OBJECT GLOBAL DEFAULT 15 _fp_hw 12: 00002008 0 NOTYPE GLOBAL DEFAULT ABS __bss_start 13: 00000500 32 FUNC GLOBAL DEFAULT 13 main Symbol table '.symtab' contains 76 entries: Num: Value Size Type Bind Vis Ndx Name 0: 00000000 0 NOTYPE LOCAL DEFAULT UND 1: 00000154 0 SECTION LOCAL DEFAULT 1 2: 00000168 0 SECTION LOCAL DEFAULT 2 3: 00000188 0 SECTION LOCAL DEFAULT 3 4: 000001ac 0 SECTION LOCAL DEFAULT 4 5: 000001e8 0 SECTION LOCAL DEFAULT 5 6: 000002c8 0 SECTION LOCAL DEFAULT 6 7: 00000398 0 SECTION LOCAL DEFAULT 7 8: 000003b4 0 SECTION LOCAL DEFAULT 8 9: 00000404 0 SECTION LOCAL DEFAULT 9 10: 0000042c 0 SECTION LOCAL DEFAULT 10 11: 0000045c 0 SECTION LOCAL DEFAULT 11 12: 00000490 0 SECTION LOCAL DEFAULT 12 13: 00000500 0 SECTION LOCAL DEFAULT 13 14: 00000788 0 SECTION LOCAL DEFAULT 14 15: 000007a4 0 SECTION LOCAL DEFAULT 15 16: 000007bc 0 SECTION LOCAL DEFAULT 16 17: 000007f8 0 SECTION LOCAL DEFAULT 17 18: 00001ee0 0 SECTION LOCAL DEFAULT 18 19: 00001ee8 0 SECTION LOCAL DEFAULT 19 20: 00001ef0 0 SECTION LOCAL DEFAULT 20 21: 00001ef4 0 SECTION LOCAL DEFAULT 21 22: 00001fcc 0 SECTION LOCAL DEFAULT 22 23: 00002000 0 SECTION LOCAL DEFAULT 23 24: 00002008 0 SECTION LOCAL DEFAULT 24 25: 00000000 0 SECTION LOCAL DEFAULT 25 26: 00000000 0 SECTION LOCAL DEFAULT 26 27: 00000000 0 SECTION LOCAL DEFAULT 27 28: 00000000 0 SECTION LOCAL DEFAULT 28 29: 00000000 0 SECTION LOCAL DEFAULT 29 30: 00000000 0 SECTION LOCAL DEFAULT 30 31: 00000000 0 SECTION LOCAL DEFAULT 31 32: 00000000 0 SECTION LOCAL DEFAULT 32 33: 00000000 0 FILE LOCAL DEFAULT ABS crtstuff.c 34: 00001ee0 0 OBJECT LOCAL DEFAULT 18 __CTOR_LIST__ 35: 00001ee8 0 OBJECT LOCAL DEFAULT 19 __DTOR_LIST__ 36: 00001ef0 0 OBJECT LOCAL DEFAULT 20 __JCR_LIST__ 37: 00000560 0 FUNC LOCAL DEFAULT 13 __do_global_dtors_aux 38: 00002008 1 OBJECT LOCAL DEFAULT 24 completed.6159 39: 0000200c 4 OBJECT LOCAL DEFAULT 24 dtor_idx.6161 40: 000005e0 0 FUNC LOCAL DEFAULT 13 frame_dummy 41: 00000000 0 FILE LOCAL DEFAULT ABS crtstuff.c 42: 00001ee4 0 OBJECT LOCAL DEFAULT 18 __CTOR_END__ 43: 000008f0 0 OBJECT LOCAL DEFAULT 17 __FRAME_END__ 44: 00001ef0 0 OBJECT LOCAL DEFAULT 20 __JCR_END__ 45: 00000750 0 FUNC LOCAL DEFAULT 13 __do_global_ctors_aux 46: 00000000 0 FILE LOCAL DEFAULT ABS hello.c 47: 00001eec 0 OBJECT LOCAL DEFAULT 19 __DTOR_END__ 48: 00001ee0 0 NOTYPE LOCAL DEFAULT 18 __init_array_end 49: 00002004 0 OBJECT LOCAL DEFAULT 23 __dso_handle 50: 00001ef4 0 OBJECT LOCAL DEFAULT ABS _DYNAMIC 51: 00001ee0 0 NOTYPE LOCAL DEFAULT 18 __init_array_start 52: 00001fcc 0 OBJECT LOCAL DEFAULT ABS _GLOBAL_OFFSET_TABLE_ 53: 00000720 2 FUNC GLOBAL DEFAULT 13 __libc_csu_fini 54: 00000617 0 FUNC GLOBAL HIDDEN 13 __i686.get_pc_thunk.bx 55: 00002000 0 NOTYPE WEAK DEFAULT 23 data_start 56: 00002008 0 NOTYPE GLOBAL DEFAULT ABS _edata 57: 00000788 0 FUNC GLOBAL DEFAULT 14 _fini 58: 00000000 0 FUNC GLOBAL DEFAULT UND __stack_chk_fail@@GLIBC_2.4 59: 00000000 0 FUNC WEAK DEFAULT UND __cxa_finalize@@GLIBC_2.1.3 60: 00002000 0 NOTYPE GLOBAL DEFAULT 23 __data_start 61: 00000000 0 NOTYPE WEAK DEFAULT UND __gmon_start__ 62: 00000620 141 FUNC GLOBAL DEFAULT 13 announcement 63: 000007a8 4 OBJECT GLOBAL DEFAULT 15 _IO_stdin_used 64: 00000000 0 FUNC GLOBAL DEFAULT UND __libc_start_main@@GLIBC_2.0 65: 000006b0 97 FUNC GLOBAL DEFAULT 13 __libc_csu_init 66: 00000000 0 FUNC GLOBAL DEFAULT UND snprintf@@GLIBC_2.0 67: 00002010 0 NOTYPE GLOBAL DEFAULT ABS _end 68: 00000520 0 FUNC GLOBAL DEFAULT 13 _start 69: 000007a4 4 OBJECT GLOBAL DEFAULT 15 _fp_hw 70: 00002008 0 NOTYPE GLOBAL DEFAULT ABS __bss_start 71: 00000500 32 FUNC GLOBAL DEFAULT 13 main 72: 00000000 0 FUNC GLOBAL DEFAULT UND __printf_chk@@GLIBC_2.3.4 73: 00000000 0 NOTYPE WEAK DEFAULT UND _Jv_RegisterClasses 74: 00000730 20 FUNC GLOBAL HIDDEN 13 __stack_chk_fail_local 75: 0000045c 0 FUNC GLOBAL DEFAULT 11 _init # Run twice to show off PIE, if available in kernel ../build-tree/wrapper-test-linked ../build-tree/wrapper-test-linked: ok (0x55555620) ../build-tree/wrapper-test-linked ../build-tree/wrapper-test-linked: ok (0x55555620) # Check state of hardening features via check script perl ../build-tree/hardening-check ../build-tree/wrapper-test-linked ../build-tree/wrapper-test-linked: Position Independent Executable: yes Stack protected: yes Fortify Source functions: yes (some protected functions found) Read-only relocations: yes Immediate binding: yes # Manually check state of hardening features # Test PIE readelf -lW ../build-tree/wrapper-test-linked | grep '^Elf file type is DYN' Elf file type is DYN (Shared object file) # Test Stack Protector nm ../build-tree/wrapper-test-linked | egrep '__stack_chk_fail($|@@GLIBC)' U __stack_chk_fail@@GLIBC_2.4 # Test Fortify nm ../build-tree/wrapper-test-linked | egrep '__(sn)?printf_chk($|@@GLIBC)' U __printf_chk@@GLIBC_2.3.4 # Test Format (no-op currently) # Test for RELRO readelf -lW ../build-tree/wrapper-test-linked | grep GNU_RELRO GNU_RELRO 0x000ee0 0x00001ee0 0x00001ee0 0x00120 0x00120 R 0x1 # Test for BIND_NOW readelf -dW ../build-tree/wrapper-test-linked | grep BIND_NOW 0x00000018 (BIND_NOW) # Build directly with -fPIC already defined ../build-tree/hardened-cc -B ../build-tree/ -fPIC -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -O2 -Wl,-Bsymbolic-functions -Wl,-z,relro -o ../build-tree/wrapper-test-fPIC-direct hello.c /usr/bin/gcc-4.6 -fstack-protector --param=ssp-buffer-size=4 -pie -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -B ../build-tree/ -fPIC -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -O2 -Wl,-Bsymbolic-functions -Wl,-z,relro -o ../build-tree/wrapper-test-fPIC-direct hello.c /usr/bin/ld.bfd -z now --sysroot=/ --build-id --no-add-needed --as-needed --eh-frame-hdr -m elf_i386 --hash-style=gnu -dynamic-linker /lib/ld-linux.so.2 -pie -z relro -o ../build-tree/wrapper-test-fPIC-direct /usr/lib/gcc/i686-linux-gnu/4.6/../../../i386-linux-gnu/Scrt1.o /usr/lib/gcc/i686-linux-gnu/4.6/../../../i386-linux-gnu/crti.o /usr/lib/gcc/i686-linux-gnu/4.6/crtbeginS.o -L../build-tree -L/usr/lib/gcc/i686-linux-gnu/4.6 -L/usr/lib/gcc/i686-linux-gnu/4.6/../../../i386-linux-gnu -L/usr/lib/gcc/i686-linux-gnu/4.6/../../../../lib -L/lib/i386-linux-gnu -L/lib/../lib -L/usr/lib/i386-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/i686-linux-gnu/4.6/../../.. -Bsymbolic-functions -z relro /tmp/cceOeeQ4.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/i686-linux-gnu/4.6/crtendS.o /usr/lib/gcc/i686-linux-gnu/4.6/../../../i386-linux-gnu/crtn.o ../build-tree/wrapper-test-fPIC-direct ../build-tree/wrapper-test-fPIC-direct: ok (0x55555660) # Build .o with -fPIC already defined ../build-tree/hardened-cc -B ../build-tree/ -fPIC -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -O2 -Wl,-Bsymbolic-functions -Wl,-z,relro -o ../build-tree/wrapper-test-fPIC.o -c hello.c /usr/bin/gcc-4.6 -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -B ../build-tree/ -fPIC -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -O2 -Wl,-Bsymbolic-functions -Wl,-z,relro -o ../build-tree/wrapper-test-fPIC.o -c hello.c # Link .o with -fPIC already defined ../build-tree/hardened-cc -B ../build-tree/ -fPIC -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -O2 -Wl,-Bsymbolic-functions -Wl,-z,relro -o ../build-tree/wrapper-test-fPIC ../build-tree/wrapper-test-fPIC.o /usr/bin/gcc-4.6 -fstack-protector --param=ssp-buffer-size=4 -pie -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -B ../build-tree/ -fPIC -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -O2 -Wl,-Bsymbolic-functions -Wl,-z,relro -o ../build-tree/wrapper-test-fPIC ../build-tree/wrapper-test-fPIC.o /usr/bin/ld.bfd -z now --sysroot=/ --build-id --no-add-needed --as-needed --eh-frame-hdr -m elf_i386 --hash-style=gnu -dynamic-linker /lib/ld-linux.so.2 -pie -z relro -o ../build-tree/wrapper-test-fPIC /usr/lib/gcc/i686-linux-gnu/4.6/../../../i386-linux-gnu/Scrt1.o /usr/lib/gcc/i686-linux-gnu/4.6/../../../i386-linux-gnu/crti.o /usr/lib/gcc/i686-linux-gnu/4.6/crtbeginS.o -L../build-tree -L/usr/lib/gcc/i686-linux-gnu/4.6 -L/usr/lib/gcc/i686-linux-gnu/4.6/../../../i386-linux-gnu -L/usr/lib/gcc/i686-linux-gnu/4.6/../../../../lib -L/lib/i386-linux-gnu -L/lib/../lib -L/usr/lib/i386-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/i686-linux-gnu/4.6/../../.. -Bsymbolic-functions -z relro ../build-tree/wrapper-test-fPIC.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/i686-linux-gnu/4.6/crtendS.o /usr/lib/gcc/i686-linux-gnu/4.6/../../../i386-linux-gnu/crtn.o ../build-tree/wrapper-test-fPIC ../build-tree/wrapper-test-fPIC: ok (0x55555660) # Make sure build fails due to -Werror=format-security ! ../build-tree/hardened-cc -B ../build-tree/ -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -O2 -Wl,-Bsymbolic-functions -Wl,-z,relro -o ../build-tree/wrapper-test-format-security format.c /usr/bin/gcc-4.6 -fstack-protector --param=ssp-buffer-size=4 -fPIE -pie -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -B ../build-tree/ -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -O2 -Wl,-Bsymbolic-functions -Wl,-z,relro -o ../build-tree/wrapper-test-format-security format.c format.c: In function 'main': format.c:11:5: error: format not a string literal and no format arguments [-Werror=format-security] cc1: some warnings being treated as errors # Make sure build succeeds with -Wno-format-security ../build-tree/hardened-cc -B ../build-tree/ -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -O2 -Wno-format-security -Wl,-Bsymbolic-functions -Wl,-z,relro -o ../build-tree/wrapper-test-format-security format.c /usr/bin/gcc-4.6 -fstack-protector --param=ssp-buffer-size=4 -fPIE -pie -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -B ../build-tree/ -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -O2 -Wno-format-security -Wl,-Bsymbolic-functions -Wl,-z,relro -o ../build-tree/wrapper-test-format-security format.c /usr/bin/ld.bfd -z now --sysroot=/ --build-id --no-add-needed --as-needed --eh-frame-hdr -m elf_i386 --hash-style=gnu -dynamic-linker /lib/ld-linux.so.2 -pie -z relro -o ../build-tree/wrapper-test-format-security /usr/lib/gcc/i686-linux-gnu/4.6/../../../i386-linux-gnu/Scrt1.o /usr/lib/gcc/i686-linux-gnu/4.6/../../../i386-linux-gnu/crti.o /usr/lib/gcc/i686-linux-gnu/4.6/crtbeginS.o -L../build-tree -L/usr/lib/gcc/i686-linux-gnu/4.6 -L/usr/lib/gcc/i686-linux-gnu/4.6/../../../i386-linux-gnu -L/usr/lib/gcc/i686-linux-gnu/4.6/../../../../lib -L/lib/i386-linux-gnu -L/lib/../lib -L/usr/lib/i386-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/i686-linux-gnu/4.6/../../.. -Bsymbolic-functions -z relro /tmp/ccmxwBLB.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/i686-linux-gnu/4.6/crtendS.o /usr/lib/gcc/i686-linux-gnu/4.6/../../../i386-linux-gnu/crtn.o # Make sure build stack-protects a small ssp buffer ../build-tree/hardened-cc -B ../build-tree/ -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -O2 -Wl,-Bsymbolic-functions -Wl,-z,relro -o ../build-tree/wrapper-test-ssp-buffer-size-protect ssp-buffer-size-protect.c /usr/bin/gcc-4.6 -fstack-protector --param=ssp-buffer-size=4 -fPIE -pie -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -B ../build-tree/ -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -O2 -Wl,-Bsymbolic-functions -Wl,-z,relro -o ../build-tree/wrapper-test-ssp-buffer-size-protect ssp-buffer-size-protect.c /usr/bin/ld.bfd -z now --sysroot=/ --build-id --no-add-needed --as-needed --eh-frame-hdr -m elf_i386 --hash-style=gnu -dynamic-linker /lib/ld-linux.so.2 -pie -z relro -o ../build-tree/wrapper-test-ssp-buffer-size-protect /usr/lib/gcc/i686-linux-gnu/4.6/../../../i386-linux-gnu/Scrt1.o /usr/lib/gcc/i686-linux-gnu/4.6/../../../i386-linux-gnu/crti.o /usr/lib/gcc/i686-linux-gnu/4.6/crtbeginS.o -L../build-tree -L/usr/lib/gcc/i686-linux-gnu/4.6 -L/usr/lib/gcc/i686-linux-gnu/4.6/../../../i386-linux-gnu -L/usr/lib/gcc/i686-linux-gnu/4.6/../../../../lib -L/lib/i386-linux-gnu -L/lib/../lib -L/usr/lib/i386-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/i686-linux-gnu/4.6/../../.. -Bsymbolic-functions -z relro /tmp/cceZt6rK.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/i686-linux-gnu/4.6/crtendS.o /usr/lib/gcc/i686-linux-gnu/4.6/../../../i386-linux-gnu/crtn.o # Test Stack Protector nm ../build-tree/wrapper-test-ssp-buffer-size-protect | egrep '__stack_chk_fail($|@@GLIBC)' U __stack_chk_fail@@GLIBC_2.4 # Make sure build does not stack-protects a tiny ssp buffer ../build-tree/hardened-cc -B ../build-tree/ -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -O2 -Wl,-Bsymbolic-functions -Wl,-z,relro -o ../build-tree/wrapper-test-ssp-buffer-size-skip ssp-buffer-size-skip.c /usr/bin/gcc-4.6 -fstack-protector --param=ssp-buffer-size=4 -fPIE -pie -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -B ../build-tree/ -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -O2 -Wl,-Bsymbolic-functions -Wl,-z,relro -o ../build-tree/wrapper-test-ssp-buffer-size-skip ssp-buffer-size-skip.c /usr/bin/ld.bfd -z now --sysroot=/ --build-id --no-add-needed --as-needed --eh-frame-hdr -m elf_i386 --hash-style=gnu -dynamic-linker /lib/ld-linux.so.2 -pie -z relro -o ../build-tree/wrapper-test-ssp-buffer-size-skip /usr/lib/gcc/i686-linux-gnu/4.6/../../../i386-linux-gnu/Scrt1.o /usr/lib/gcc/i686-linux-gnu/4.6/../../../i386-linux-gnu/crti.o /usr/lib/gcc/i686-linux-gnu/4.6/crtbeginS.o -L../build-tree -L/usr/lib/gcc/i686-linux-gnu/4.6 -L/usr/lib/gcc/i686-linux-gnu/4.6/../../../i386-linux-gnu -L/usr/lib/gcc/i686-linux-gnu/4.6/../../../../lib -L/lib/i386-linux-gnu -L/lib/../lib -L/usr/lib/i386-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/i686-linux-gnu/4.6/../../.. -Bsymbolic-functions -z relro /tmp/cc0WotAW.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/i686-linux-gnu/4.6/crtendS.o /usr/lib/gcc/i686-linux-gnu/4.6/../../../i386-linux-gnu/crtn.o # Test Stack Protector is correctly skipped ! nm ../build-tree/wrapper-test-ssp-buffer-size-skip | egrep '__stack_chk_fail($|@@GLIBC)' ../build-tree/hardened-cc -B ../build-tree/ -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -O2 -Wl,-Bsymbolic-functions -Wl,-z,relro -c -o ../build-tree/wrapper-test-all.o hello.c /usr/bin/gcc-4.6 -fstack-protector --param=ssp-buffer-size=4 -fPIE -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -B ../build-tree/ -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -O2 -Wl,-Bsymbolic-functions -Wl,-z,relro -c -o ../build-tree/wrapper-test-all.o hello.c ar r ../build-tree/wrapper-test-all.a ../build-tree/wrapper-test-all.o ar: creating ../build-tree/wrapper-test-all.a readelf -ldrsW ../build-tree/wrapper-test-all.a File: ../build-tree/wrapper-test-all.a(wrapper-test-all.o) There are no program headers in this file. Relocation section '.rel.text' at offset 0x1360 contains 8 entries: Offset Info Type Sym. Value Symbol's Name 00000003 00001602 R_386_PC32 00000000 __i686.get_pc_thunk.bx 00000009 0000170a R_386_GOTPC 00000000 _GLOBAL_OFFSET_TABLE_ 0000003e 00001109 R_386_GOTOFF 00000000 .LC0 00000047 00001804 R_386_PLT32 00000000 snprintf 0000004d 00001509 R_386_GOTOFF 00000000 announcement 00000057 00001209 R_386_GOTOFF 00000003 .LC1 0000006b 00001904 R_386_PLT32 00000000 __printf_chk 00000089 00001a02 R_386_PC32 00000000 __stack_chk_fail_local Relocation section '.rel.text.startup' at offset 0x13a0 contains 1 entries: Offset Info Type Sym. Value Symbol's Name 00000012 00001502 R_386_PC32 00000000 announcement Relocation section '.rel.debug_info' at offset 0x13a8 contains 75 entries: Offset Info Type Sym. Value Symbol's Name 00000006 00000901 R_386_32 00000000 .debug_abbrev 0000000c 00000e01 R_386_32 00000000 .debug_str 00000011 00000e01 R_386_32 00000000 .debug_str 00000015 00000e01 R_386_32 00000000 .debug_str 00000021 00000c01 R_386_32 00000000 .debug_ranges 00000025 00000d01 R_386_32 00000000 .debug_line 0000002a 00000e01 R_386_32 00000000 .debug_str 00000037 00000e01 R_386_32 00000000 .debug_str 0000003e 00000e01 R_386_32 00000000 .debug_str 00000045 00000e01 R_386_32 00000000 .debug_str 0000004c 00000e01 R_386_32 00000000 .debug_str 00000053 00000e01 R_386_32 00000000 .debug_str 0000005a 00000e01 R_386_32 00000000 .debug_str 00000068 00000e01 R_386_32 00000000 .debug_str 0000006f 00000e01 R_386_32 00000000 .debug_str 00000074 00000e01 R_386_32 00000000 .debug_str 0000007f 00000e01 R_386_32 00000000 .debug_str 0000008c 00000e01 R_386_32 00000000 .debug_str 00000091 00000e01 R_386_32 00000000 .debug_str 000000a6 00000e01 R_386_32 00000000 .debug_str 000000ab 00000e01 R_386_32 00000000 .debug_str 000000b8 00000e01 R_386_32 00000000 .debug_str 000000c7 00000e01 R_386_32 00000000 .debug_str 000000d6 00000e01 R_386_32 00000000 .debug_str 000000e5 00000e01 R_386_32 00000000 .debug_str 000000f4 00000e01 R_386_32 00000000 .debug_str 00000103 00000e01 R_386_32 00000000 .debug_str 00000112 00000e01 R_386_32 00000000 .debug_str 00000121 00000e01 R_386_32 00000000 .debug_str 00000130 00000e01 R_386_32 00000000 .debug_str 0000013f 00000e01 R_386_32 00000000 .debug_str 0000014e 00000e01 R_386_32 00000000 .debug_str 0000015d 00000e01 R_386_32 00000000 .debug_str 0000016c 00000e01 R_386_32 00000000 .debug_str 0000017b 00000e01 R_386_32 00000000 .debug_str 0000018a 00000e01 R_386_32 00000000 .debug_str 00000199 00000e01 R_386_32 00000000 .debug_str 000001a8 00000e01 R_386_32 00000000 .debug_str 000001b7 00000e01 R_386_32 00000000 .debug_str 000001c6 00000e01 R_386_32 00000000 .debug_str 000001d5 00000e01 R_386_32 00000000 .debug_str 000001e4 00000e01 R_386_32 00000000 .debug_str 000001f3 00000e01 R_386_32 00000000 .debug_str 00000202 00000e01 R_386_32 00000000 .debug_str 00000211 00000e01 R_386_32 00000000 .debug_str 00000220 00000e01 R_386_32 00000000 .debug_str 0000022f 00000e01 R_386_32 00000000 .debug_str 0000023e 00000e01 R_386_32 00000000 .debug_str 0000024d 00000e01 R_386_32 00000000 .debug_str 0000025c 00000e01 R_386_32 00000000 .debug_str 0000026c 00000e01 R_386_32 00000000 .debug_str 00000273 00000e01 R_386_32 00000000 .debug_str 0000027f 00000e01 R_386_32 00000000 .debug_str 0000028d 00000e01 R_386_32 00000000 .debug_str 0000029b 00000e01 R_386_32 00000000 .debug_str 000002e8 00000e01 R_386_32 00000000 .debug_str 00000310 00000e01 R_386_32 00000000 .debug_str 0000031e 00000e01 R_386_32 00000000 .debug_str 00000330 00000e01 R_386_32 00000000 .debug_str 0000033e 00000e01 R_386_32 00000000 .debug_str 00000349 00000201 R_386_32 00000000 .text 0000034d 00000201 R_386_32 00000000 .text 00000351 00000a01 R_386_32 00000000 .debug_loc 0000035a 00000e01 R_386_32 00000000 .debug_str 0000037b 00000201 R_386_32 00000000 .text 0000037f 00000201 R_386_32 00000000 .text 0000038c 00000501 R_386_32 00000000 .rodata.str1.1 000003a6 00000e01 R_386_32 00000000 .debug_str 000003b1 00000601 R_386_32 00000000 .text.startup 000003b5 00000601 R_386_32 00000000 .text.startup 000003b9 00000a01 R_386_32 00000000 .debug_loc 000003c2 00000e01 R_386_32 00000000 .debug_str 000003d0 00000e01 R_386_32 00000000 .debug_str 000003e5 00000e01 R_386_32 00000000 .debug_str 000003f2 00000e01 R_386_32 00000000 .debug_str Relocation section '.rel.debug_loc' at offset 0x1600 contains 24 entries: Offset Info Type Sym. Value Symbol's Name 00000000 00000201 R_386_32 00000000 .text 00000004 00000201 R_386_32 00000000 .text 0000000c 00000201 R_386_32 00000000 .text 00000010 00000201 R_386_32 00000000 .text 00000018 00000201 R_386_32 00000000 .text 0000001c 00000201 R_386_32 00000000 .text 00000024 00000201 R_386_32 00000000 .text 00000028 00000201 R_386_32 00000000 .text 00000031 00000201 R_386_32 00000000 .text 00000035 00000201 R_386_32 00000000 .text 0000003d 00000201 R_386_32 00000000 .text 00000041 00000201 R_386_32 00000000 .text 00000049 00000201 R_386_32 00000000 .text 0000004d 00000201 R_386_32 00000000 .text 00000055 00000201 R_386_32 00000000 .text 00000059 00000201 R_386_32 00000000 .text 0000006a 00000601 R_386_32 00000000 .text.startup 0000006e 00000601 R_386_32 00000000 .text.startup 00000076 00000601 R_386_32 00000000 .text.startup 0000007a 00000601 R_386_32 00000000 .text.startup 00000082 00000601 R_386_32 00000000 .text.startup 00000086 00000601 R_386_32 00000000 .text.startup 0000008e 00000601 R_386_32 00000000 .text.startup 00000092 00000601 R_386_32 00000000 .text.startup Relocation section '.rel.debug_aranges' at offset 0x16c0 contains 4 entries: Offset Info Type Sym. Value Symbol's Name 00000006 00000801 R_386_32 00000000 .debug_info 00000010 00000201 R_386_32 00000000 .text 00000018 00000601 R_386_32 00000000 .text.startup 00000020 00000701 R_386_32 00000000 .text.__i686.get_pc_thunk.bx Relocation section '.rel.debug_ranges' at offset 0x16e0 contains 6 entries: Offset Info Type Sym. Value Symbol's Name 00000000 00000201 R_386_32 00000000 .text 00000004 00000201 R_386_32 00000000 .text 00000008 00000601 R_386_32 00000000 .text.startup 0000000c 00000601 R_386_32 00000000 .text.startup 00000010 00000701 R_386_32 00000000 .text.__i686.get_pc_thunk.bx 00000014 00000701 R_386_32 00000000 .text.__i686.get_pc_thunk.bx Relocation section '.rel.debug_line' at offset 0x1710 contains 2 entries: Offset Info Type Sym. Value Symbol's Name 000000ba 00000201 R_386_32 00000000 .text 000000fa 00000601 R_386_32 00000000 .text.startup Relocation section '.rel.eh_frame' at offset 0x1720 contains 3 entries: Offset Info Type Sym. Value Symbol's Name 00000020 00000202 R_386_PC32 00000000 .text 00000050 00000602 R_386_PC32 00000000 .text.startup 00000070 00000702 R_386_PC32 00000000 .text.__i686.get_pc_thunk.bx Symbol table '.symtab' contains 28 entries: Num: Value Size Type Bind Vis Ndx Name 0: 00000000 0 NOTYPE LOCAL DEFAULT UND 1: 00000000 0 FILE LOCAL DEFAULT ABS hello.c 2: 00000000 0 SECTION LOCAL DEFAULT 2 3: 00000000 0 SECTION LOCAL DEFAULT 4 4: 00000000 0 SECTION LOCAL DEFAULT 5 5: 00000000 0 SECTION LOCAL DEFAULT 6 6: 00000000 0 SECTION LOCAL DEFAULT 7 7: 00000000 0 SECTION LOCAL DEFAULT 9 8: 00000000 0 SECTION LOCAL DEFAULT 10 9: 00000000 0 SECTION LOCAL DEFAULT 12 10: 00000000 0 SECTION LOCAL DEFAULT 13 11: 00000000 0 SECTION LOCAL DEFAULT 15 12: 00000000 0 SECTION LOCAL DEFAULT 17 13: 00000000 0 SECTION LOCAL DEFAULT 19 14: 00000000 0 SECTION LOCAL DEFAULT 21 15: 00000000 0 SECTION LOCAL DEFAULT 23 16: 00000000 0 SECTION LOCAL DEFAULT 24 17: 00000000 0 NOTYPE LOCAL DEFAULT 6 .LC0 18: 00000003 0 NOTYPE LOCAL DEFAULT 6 .LC1 19: 00000000 0 SECTION LOCAL DEFAULT 22 20: 00000000 0 SECTION LOCAL DEFAULT 1 21: 00000000 141 FUNC GLOBAL DEFAULT 2 announcement 22: 00000000 0 FUNC GLOBAL HIDDEN 9 __i686.get_pc_thunk.bx 23: 00000000 0 NOTYPE GLOBAL DEFAULT UND _GLOBAL_OFFSET_TABLE_ 24: 00000000 0 NOTYPE GLOBAL DEFAULT UND snprintf 25: 00000000 0 NOTYPE GLOBAL DEFAULT UND __printf_chk 26: 00000000 0 NOTYPE GLOBAL HIDDEN UND __stack_chk_fail_local 27: 00000000 32 FUNC GLOBAL DEFAULT 7 main perl ../build-tree/hardening-check ../build-tree/wrapper-test-all.a ../build-tree/wrapper-test-all.a: Position Independent Executable: no, object archive (ignored) Stack protected: yes Fortify Source functions: yes (some protected functions found) Read-only relocations: no, non-ELF (ignored) Immediate binding: no, non-ELF (ignored) DEB_BUILD_HARDENING=0 ../build-tree/hardened-cc -B ../build-tree/ -c -o ../build-tree/wrapper-test-none.o hello.c /usr/bin/gcc-4.6 -B ../build-tree/ -c -o ../build-tree/wrapper-test-none.o hello.c ar r ../build-tree/wrapper-test-none.a ../build-tree/wrapper-test-none.o ar: creating ../build-tree/wrapper-test-none.a readelf -ldrsW ../build-tree/wrapper-test-none.a File: ../build-tree/wrapper-test-none.a(wrapper-test-none.o) There are no program headers in this file. Relocation section '.rel.text' at offset 0x4e4 contains 7 entries: Offset Info Type Sym. Value Symbol's Name 0000001e 00000501 R_386_32 00000000 .rodata 00000042 00000a02 R_386_PC32 00000000 snprintf 00000047 00000501 R_386_32 00000000 .rodata 0000004f 00000901 R_386_32 00000000 announcement 00000061 00000b02 R_386_PC32 00000000 printf 00000072 00000c02 R_386_PC32 00000000 __stack_chk_fail 0000008a 00000902 R_386_PC32 00000000 announcement Relocation section '.rel.eh_frame' at offset 0x51c contains 2 entries: Offset Info Type Sym. Value Symbol's Name 00000020 00000202 R_386_PC32 00000000 .text 00000040 00000202 R_386_PC32 00000000 .text Symbol table '.symtab' contains 14 entries: Num: Value Size Type Bind Vis Ndx Name 0: 00000000 0 NOTYPE LOCAL DEFAULT UND 1: 00000000 0 FILE LOCAL DEFAULT ABS hello.c 2: 00000000 0 SECTION LOCAL DEFAULT 1 3: 00000000 0 SECTION LOCAL DEFAULT 3 4: 00000000 0 SECTION LOCAL DEFAULT 4 5: 00000000 0 SECTION LOCAL DEFAULT 5 6: 00000000 0 SECTION LOCAL DEFAULT 7 7: 00000000 0 SECTION LOCAL DEFAULT 8 8: 00000000 0 SECTION LOCAL DEFAULT 6 9: 00000000 120 FUNC GLOBAL DEFAULT 1 announcement 10: 00000000 0 NOTYPE GLOBAL DEFAULT UND snprintf 11: 00000000 0 NOTYPE GLOBAL DEFAULT UND printf 12: 00000000 0 NOTYPE GLOBAL DEFAULT UND __stack_chk_fail 13: 00000078 32 FUNC GLOBAL DEFAULT 1 main if perl ../build-tree/hardening-check ../build-tree/wrapper-test-none.a; then exit 1; fi ../build-tree/wrapper-test-none.a: Position Independent Executable: no, object archive (ignored) Stack protected: yes Fortify Source functions: no, only unprotected functions found! Read-only relocations: no, non-ELF (ignored) Immediate binding: no, non-ELF (ignored) make[3]: Leaving directory `/build/buildd/hardening-wrapper-2.3ubuntu1~precise4/tests' make -f Makefile.includes check make[3]: Entering directory `/build/buildd/hardening-wrapper-2.3ubuntu1~precise4/tests' # Compiler and linker options disabled. DEB_BUILD_HARDENING=0 cc -o ../build-tree/includes-test-stock hello.c readelf -ldrsW ../build-tree/includes-test-stock Elf file type is EXEC (Executable file) Entry point 0x80483b0 There are 9 program headers, starting at offset 52 Program Headers: Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align PHDR 0x000034 0x08048034 0x08048034 0x00120 0x00120 R E 0x4 INTERP 0x000154 0x08048154 0x08048154 0x00013 0x00013 R 0x1 [Requesting program interpreter: /lib/ld-linux.so.2] LOAD 0x000000 0x08048000 0x08048000 0x00700 0x00700 R E 0x1000 LOAD 0x000f14 0x08049f14 0x08049f14 0x00108 0x00110 RW 0x1000 DYNAMIC 0x000f28 0x08049f28 0x08049f28 0x000c8 0x000c8 RW 0x4 NOTE 0x000168 0x08048168 0x08048168 0x00044 0x00044 R 0x4 GNU_EH_FRAME 0x0005e0 0x080485e0 0x080485e0 0x0003c 0x0003c R 0x4 GNU_STACK 0x000000 0x00000000 0x00000000 0x00000 0x00000 RW 0x4 GNU_RELRO 0x000f14 0x08049f14 0x08049f14 0x000ec 0x000ec R 0x1 Section to Segment mapping: Segment Sections... 00 01 .interp 02 .interp .note.ABI-tag .note.gnu.build-id .gnu.hash .dynsym .dynstr .gnu.version .gnu.version_r .rel.dyn .rel.plt .init .plt .text .fini .rodata .eh_frame_hdr .eh_frame 03 .ctors .dtors .jcr .dynamic .got .got.plt .data .bss 04 .dynamic 05 .note.ABI-tag .note.gnu.build-id 06 .eh_frame_hdr 07 08 .ctors .dtors .jcr .dynamic .got Dynamic section at offset 0xf28 contains 20 entries: Tag Type Name/Value 0x00000001 (NEEDED) Shared library: [libc.so.6] 0x0000000c (INIT) 0x8048314 0x0000000d (FINI) 0x80485ac 0x6ffffef5 (GNU_HASH) 0x80481ac 0x00000005 (STRTAB) 0x804823c 0x00000006 (SYMTAB) 0x80481cc 0x0000000a (STRSZ) 105 (bytes) 0x0000000b (SYMENT) 16 (bytes) 0x00000015 (DEBUG) 0x0 0x00000003 (PLTGOT) 0x8049ff4 0x00000002 (PLTRELSZ) 40 (bytes) 0x00000014 (PLTREL) REL 0x00000017 (JMPREL) 0x80482ec 0x00000011 (REL) 0x80482e4 0x00000012 (RELSZ) 8 (bytes) 0x00000013 (RELENT) 8 (bytes) 0x6ffffffe (VERNEED) 0x80482b4 0x6fffffff (VERNEEDNUM) 1 0x6ffffff0 (VERSYM) 0x80482a6 0x00000000 (NULL) 0x0 Relocation section '.rel.dyn' at offset 0x2e4 contains 1 entries: Offset Info Type Sym. Value Symbol's Name 08049ff0 00000306 R_386_GLOB_DAT 00000000 __gmon_start__ Relocation section '.rel.plt' at offset 0x2ec contains 5 entries: Offset Info Type Sym. Value Symbol's Name 0804a000 00000107 R_386_JUMP_SLOT 00000000 printf 0804a004 00000207 R_386_JUMP_SLOT 00000000 __stack_chk_fail 0804a008 00000307 R_386_JUMP_SLOT 00000000 __gmon_start__ 0804a00c 00000407 R_386_JUMP_SLOT 00000000 __libc_start_main 0804a010 00000507 R_386_JUMP_SLOT 00000000 snprintf Symbol table '.dynsym' contains 7 entries: Num: Value Size Type Bind Vis Ndx Name 0: 00000000 0 NOTYPE LOCAL DEFAULT UND 1: 00000000 0 FUNC GLOBAL DEFAULT UND printf@GLIBC_2.0 (2) 2: 00000000 0 FUNC GLOBAL DEFAULT UND __stack_chk_fail@GLIBC_2.4 (3) 3: 00000000 0 NOTYPE WEAK DEFAULT UND __gmon_start__ 4: 00000000 0 FUNC GLOBAL DEFAULT UND __libc_start_main@GLIBC_2.0 (2) 5: 00000000 0 FUNC GLOBAL DEFAULT UND snprintf@GLIBC_2.0 (2) 6: 080485cc 4 OBJECT GLOBAL DEFAULT 15 _IO_stdin_used Symbol table '.symtab' contains 68 entries: Num: Value Size Type Bind Vis Ndx Name 0: 00000000 0 NOTYPE LOCAL DEFAULT UND 1: 08048154 0 SECTION LOCAL DEFAULT 1 2: 08048168 0 SECTION LOCAL DEFAULT 2 3: 08048188 0 SECTION LOCAL DEFAULT 3 4: 080481ac 0 SECTION LOCAL DEFAULT 4 5: 080481cc 0 SECTION LOCAL DEFAULT 5 6: 0804823c 0 SECTION LOCAL DEFAULT 6 7: 080482a6 0 SECTION LOCAL DEFAULT 7 8: 080482b4 0 SECTION LOCAL DEFAULT 8 9: 080482e4 0 SECTION LOCAL DEFAULT 9 10: 080482ec 0 SECTION LOCAL DEFAULT 10 11: 08048314 0 SECTION LOCAL DEFAULT 11 12: 08048350 0 SECTION LOCAL DEFAULT 12 13: 080483b0 0 SECTION LOCAL DEFAULT 13 14: 080485ac 0 SECTION LOCAL DEFAULT 14 15: 080485c8 0 SECTION LOCAL DEFAULT 15 16: 080485e0 0 SECTION LOCAL DEFAULT 16 17: 0804861c 0 SECTION LOCAL DEFAULT 17 18: 08049f14 0 SECTION LOCAL DEFAULT 18 19: 08049f1c 0 SECTION LOCAL DEFAULT 19 20: 08049f24 0 SECTION LOCAL DEFAULT 20 21: 08049f28 0 SECTION LOCAL DEFAULT 21 22: 08049ff0 0 SECTION LOCAL DEFAULT 22 23: 08049ff4 0 SECTION LOCAL DEFAULT 23 24: 0804a014 0 SECTION LOCAL DEFAULT 24 25: 0804a01c 0 SECTION LOCAL DEFAULT 25 26: 00000000 0 SECTION LOCAL DEFAULT 26 27: 00000000 0 FILE LOCAL DEFAULT ABS crtstuff.c 28: 08049f14 0 OBJECT LOCAL DEFAULT 18 __CTOR_LIST__ 29: 08049f1c 0 OBJECT LOCAL DEFAULT 19 __DTOR_LIST__ 30: 08049f24 0 OBJECT LOCAL DEFAULT 20 __JCR_LIST__ 31: 080483e0 0 FUNC LOCAL DEFAULT 13 __do_global_dtors_aux 32: 0804a01c 1 OBJECT LOCAL DEFAULT 25 completed.6159 33: 0804a020 4 OBJECT LOCAL DEFAULT 25 dtor_idx.6161 34: 08048440 0 FUNC LOCAL DEFAULT 13 frame_dummy 35: 00000000 0 FILE LOCAL DEFAULT ABS crtstuff.c 36: 08049f18 0 OBJECT LOCAL DEFAULT 18 __CTOR_END__ 37: 080486fc 0 OBJECT LOCAL DEFAULT 17 __FRAME_END__ 38: 08049f24 0 OBJECT LOCAL DEFAULT 20 __JCR_END__ 39: 08048580 0 FUNC LOCAL DEFAULT 13 __do_global_ctors_aux 40: 00000000 0 FILE LOCAL DEFAULT ABS hello.c 41: 08049f14 0 NOTYPE LOCAL DEFAULT 18 __init_array_end 42: 08049f28 0 OBJECT LOCAL DEFAULT 21 _DYNAMIC 43: 08049f14 0 NOTYPE LOCAL DEFAULT 18 __init_array_start 44: 08049ff4 0 OBJECT LOCAL DEFAULT 23 _GLOBAL_OFFSET_TABLE_ 45: 08048570 2 FUNC GLOBAL DEFAULT 13 __libc_csu_fini 46: 08048572 0 FUNC GLOBAL HIDDEN 13 __i686.get_pc_thunk.bx 47: 0804a014 0 NOTYPE WEAK DEFAULT 24 data_start 48: 00000000 0 FUNC GLOBAL DEFAULT UND printf@@GLIBC_2.0 49: 0804a01c 0 NOTYPE GLOBAL DEFAULT ABS _edata 50: 080485ac 0 FUNC GLOBAL DEFAULT 14 _fini 51: 00000000 0 FUNC GLOBAL DEFAULT UND __stack_chk_fail@@GLIBC_2.4 52: 08049f20 0 OBJECT GLOBAL HIDDEN 19 __DTOR_END__ 53: 0804a014 0 NOTYPE GLOBAL DEFAULT 24 __data_start 54: 00000000 0 NOTYPE WEAK DEFAULT UND __gmon_start__ 55: 0804a018 0 OBJECT GLOBAL HIDDEN 24 __dso_handle 56: 08048464 120 FUNC GLOBAL DEFAULT 13 announcement 57: 080485cc 4 OBJECT GLOBAL DEFAULT 15 _IO_stdin_used 58: 00000000 0 FUNC GLOBAL DEFAULT UND __libc_start_main@@GLIBC_2.0 59: 08048500 97 FUNC GLOBAL DEFAULT 13 __libc_csu_init 60: 00000000 0 FUNC GLOBAL DEFAULT UND snprintf@@GLIBC_2.0 61: 0804a024 0 NOTYPE GLOBAL DEFAULT ABS _end 62: 080483b0 0 FUNC GLOBAL DEFAULT 13 _start 63: 080485c8 4 OBJECT GLOBAL DEFAULT 15 _fp_hw 64: 0804a01c 0 NOTYPE GLOBAL DEFAULT ABS __bss_start 65: 080484dc 32 FUNC GLOBAL DEFAULT 13 main 66: 00000000 0 NOTYPE WEAK DEFAULT UND _Jv_RegisterClasses 67: 08048314 0 FUNC GLOBAL DEFAULT 11 _init ../build-tree/includes-test-stock ../build-tree/includes-test-stock: ok (0x8048464) # Compiler options enabled. (linker is not wrapper) cc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -fPIE -fstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -O2 -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIE -pie -Wl,-z,relro -Wl,-z,now -o ../build-tree/includes-test-compiled hello.c readelf -ldrsW ../build-tree/includes-test-compiled Elf file type is DYN (Shared object file) Entry point 0x520 There are 9 program headers, starting at offset 52 Program Headers: Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align PHDR 0x000034 0x00000034 0x00000034 0x00120 0x00120 R E 0x4 INTERP 0x000154 0x00000154 0x00000154 0x00013 0x00013 R 0x1 [Requesting program interpreter: /lib/ld-linux.so.2] LOAD 0x000000 0x00000000 0x00000000 0x008f4 0x008f4 R E 0x1000 LOAD 0x000ee0 0x00001ee0 0x00001ee0 0x00128 0x00130 RW 0x1000 DYNAMIC 0x000ef4 0x00001ef4 0x00001ef4 0x000d8 0x000d8 RW 0x4 NOTE 0x000168 0x00000168 0x00000168 0x00044 0x00044 R 0x4 GNU_EH_FRAME 0x0007bc 0x000007bc 0x000007bc 0x0003c 0x0003c R 0x4 GNU_STACK 0x000000 0x00000000 0x00000000 0x00000 0x00000 RW 0x4 GNU_RELRO 0x000ee0 0x00001ee0 0x00001ee0 0x00120 0x00120 R 0x1 Section to Segment mapping: Segment Sections... 00 01 .interp 02 .interp .note.ABI-tag .note.gnu.build-id .gnu.hash .dynsym .dynstr .gnu.version .gnu.version_r .rel.dyn .rel.plt .init .plt .text .fini .rodata .eh_frame_hdr .eh_frame 03 .ctors .dtors .jcr .dynamic .got .data .bss 04 .dynamic 05 .note.ABI-tag .note.gnu.build-id 06 .eh_frame_hdr 07 08 .ctors .dtors .jcr .dynamic .got Dynamic section at offset 0xef4 contains 23 entries: Tag Type Name/Value 0x00000001 (NEEDED) Shared library: [libc.so.6] 0x0000000c (INIT) 0x45c 0x0000000d (FINI) 0x788 0x6ffffef5 (GNU_HASH) 0x1ac 0x00000005 (STRTAB) 0x2c8 0x00000006 (SYMTAB) 0x1e8 0x0000000a (STRSZ) 208 (bytes) 0x0000000b (SYMENT) 16 (bytes) 0x00000015 (DEBUG) 0x0 0x00000003 (PLTGOT) 0x1fcc 0x00000002 (PLTRELSZ) 48 (bytes) 0x00000014 (PLTREL) REL 0x00000017 (JMPREL) 0x42c 0x00000011 (REL) 0x404 0x00000012 (RELSZ) 40 (bytes) 0x00000013 (RELENT) 8 (bytes) 0x00000018 (BIND_NOW) 0x6ffffffb (FLAGS_1) Flags: NOW 0x6ffffffe (VERNEED) 0x3b4 0x6fffffff (VERNEEDNUM) 1 0x6ffffff0 (VERSYM) 0x398 0x6ffffffa (RELCOUNT) 2 0x00000000 (NULL) 0x0 Relocation section '.rel.dyn' at offset 0x404 contains 5 entries: Offset Info Type Sym. Value Symbol's Name 00001ff8 00000008 R_386_RELATIVE 00002004 00000008 R_386_RELATIVE 00001ff0 00000206 R_386_GLOB_DAT 00000000 __cxa_finalize 00001ff4 00000306 R_386_GLOB_DAT 00000000 __gmon_start__ 00001ffc 00000706 R_386_GLOB_DAT 00000000 _Jv_RegisterClasses Relocation section '.rel.plt' at offset 0x42c contains 6 entries: Offset Info Type Sym. Value Symbol's Name 00001fd8 00000107 R_386_JUMP_SLOT 00000000 __stack_chk_fail 00001fdc 00000207 R_386_JUMP_SLOT 00000000 __cxa_finalize 00001fe0 00000307 R_386_JUMP_SLOT 00000000 __gmon_start__ 00001fe4 00000407 R_386_JUMP_SLOT 00000000 __libc_start_main 00001fe8 00000507 R_386_JUMP_SLOT 00000000 snprintf 00001fec 00000607 R_386_JUMP_SLOT 00000000 __printf_chk Symbol table '.dynsym' contains 14 entries: Num: Value Size Type Bind Vis Ndx Name 0: 00000000 0 NOTYPE LOCAL DEFAULT UND 1: 00000000 0 FUNC GLOBAL DEFAULT UND __stack_chk_fail@GLIBC_2.4 (2) 2: 00000000 0 FUNC WEAK DEFAULT UND __cxa_finalize@GLIBC_2.1.3 (3) 3: 00000000 0 NOTYPE WEAK DEFAULT UND __gmon_start__ 4: 00000000 0 FUNC GLOBAL DEFAULT UND __libc_start_main@GLIBC_2.0 (4) 5: 00000000 0 FUNC GLOBAL DEFAULT UND snprintf@GLIBC_2.0 (4) 6: 00000000 0 FUNC GLOBAL DEFAULT UND __printf_chk@GLIBC_2.3.4 (5) 7: 00000000 0 NOTYPE WEAK DEFAULT UND _Jv_RegisterClasses 8: 00002008 0 NOTYPE GLOBAL DEFAULT ABS _edata 9: 00002010 0 NOTYPE GLOBAL DEFAULT ABS _end 10: 000007a8 4 OBJECT GLOBAL DEFAULT 15 _IO_stdin_used 11: 000007a4 4 OBJECT GLOBAL DEFAULT 15 _fp_hw 12: 00002008 0 NOTYPE GLOBAL DEFAULT ABS __bss_start 13: 00000500 32 FUNC GLOBAL DEFAULT 13 main Symbol table '.symtab' contains 76 entries: Num: Value Size Type Bind Vis Ndx Name 0: 00000000 0 NOTYPE LOCAL DEFAULT UND 1: 00000154 0 SECTION LOCAL DEFAULT 1 2: 00000168 0 SECTION LOCAL DEFAULT 2 3: 00000188 0 SECTION LOCAL DEFAULT 3 4: 000001ac 0 SECTION LOCAL DEFAULT 4 5: 000001e8 0 SECTION LOCAL DEFAULT 5 6: 000002c8 0 SECTION LOCAL DEFAULT 6 7: 00000398 0 SECTION LOCAL DEFAULT 7 8: 000003b4 0 SECTION LOCAL DEFAULT 8 9: 00000404 0 SECTION LOCAL DEFAULT 9 10: 0000042c 0 SECTION LOCAL DEFAULT 10 11: 0000045c 0 SECTION LOCAL DEFAULT 11 12: 00000490 0 SECTION LOCAL DEFAULT 12 13: 00000500 0 SECTION LOCAL DEFAULT 13 14: 00000788 0 SECTION LOCAL DEFAULT 14 15: 000007a4 0 SECTION LOCAL DEFAULT 15 16: 000007bc 0 SECTION LOCAL DEFAULT 16 17: 000007f8 0 SECTION LOCAL DEFAULT 17 18: 00001ee0 0 SECTION LOCAL DEFAULT 18 19: 00001ee8 0 SECTION LOCAL DEFAULT 19 20: 00001ef0 0 SECTION LOCAL DEFAULT 20 21: 00001ef4 0 SECTION LOCAL DEFAULT 21 22: 00001fcc 0 SECTION LOCAL DEFAULT 22 23: 00002000 0 SECTION LOCAL DEFAULT 23 24: 00002008 0 SECTION LOCAL DEFAULT 24 25: 00000000 0 SECTION LOCAL DEFAULT 25 26: 00000000 0 SECTION LOCAL DEFAULT 26 27: 00000000 0 SECTION LOCAL DEFAULT 27 28: 00000000 0 SECTION LOCAL DEFAULT 28 29: 00000000 0 SECTION LOCAL DEFAULT 29 30: 00000000 0 SECTION LOCAL DEFAULT 30 31: 00000000 0 SECTION LOCAL DEFAULT 31 32: 00000000 0 SECTION LOCAL DEFAULT 32 33: 00000000 0 FILE LOCAL DEFAULT ABS crtstuff.c 34: 00001ee0 0 OBJECT LOCAL DEFAULT 18 __CTOR_LIST__ 35: 00001ee8 0 OBJECT LOCAL DEFAULT 19 __DTOR_LIST__ 36: 00001ef0 0 OBJECT LOCAL DEFAULT 20 __JCR_LIST__ 37: 00000560 0 FUNC LOCAL DEFAULT 13 __do_global_dtors_aux 38: 00002008 1 OBJECT LOCAL DEFAULT 24 completed.6159 39: 0000200c 4 OBJECT LOCAL DEFAULT 24 dtor_idx.6161 40: 000005e0 0 FUNC LOCAL DEFAULT 13 frame_dummy 41: 00000000 0 FILE LOCAL DEFAULT ABS crtstuff.c 42: 00001ee4 0 OBJECT LOCAL DEFAULT 18 __CTOR_END__ 43: 000008f0 0 OBJECT LOCAL DEFAULT 17 __FRAME_END__ 44: 00001ef0 0 OBJECT LOCAL DEFAULT 20 __JCR_END__ 45: 00000750 0 FUNC LOCAL DEFAULT 13 __do_global_ctors_aux 46: 00000000 0 FILE LOCAL DEFAULT ABS hello.c 47: 00001eec 0 OBJECT LOCAL DEFAULT 19 __DTOR_END__ 48: 00001ee0 0 NOTYPE LOCAL DEFAULT 18 __init_array_end 49: 00002004 0 OBJECT LOCAL DEFAULT 23 __dso_handle 50: 00001ef4 0 OBJECT LOCAL DEFAULT ABS _DYNAMIC 51: 00001ee0 0 NOTYPE LOCAL DEFAULT 18 __init_array_start 52: 00001fcc 0 OBJECT LOCAL DEFAULT ABS _GLOBAL_OFFSET_TABLE_ 53: 00000720 2 FUNC GLOBAL DEFAULT 13 __libc_csu_fini 54: 00000617 0 FUNC GLOBAL HIDDEN 13 __i686.get_pc_thunk.bx 55: 00002000 0 NOTYPE WEAK DEFAULT 23 data_start 56: 00002008 0 NOTYPE GLOBAL DEFAULT ABS _edata 57: 00000788 0 FUNC GLOBAL DEFAULT 14 _fini 58: 00000000 0 FUNC GLOBAL DEFAULT UND __stack_chk_fail@@GLIBC_2.4 59: 00000000 0 FUNC WEAK DEFAULT UND __cxa_finalize@@GLIBC_2.1.3 60: 00002000 0 NOTYPE GLOBAL DEFAULT 23 __data_start 61: 00000000 0 NOTYPE WEAK DEFAULT UND __gmon_start__ 62: 00000620 141 FUNC GLOBAL DEFAULT 13 announcement 63: 000007a8 4 OBJECT GLOBAL DEFAULT 15 _IO_stdin_used 64: 00000000 0 FUNC GLOBAL DEFAULT UND __libc_start_main@@GLIBC_2.0 65: 000006b0 97 FUNC GLOBAL DEFAULT 13 __libc_csu_init 66: 00000000 0 FUNC GLOBAL DEFAULT UND snprintf@@GLIBC_2.0 67: 00002010 0 NOTYPE GLOBAL DEFAULT ABS _end 68: 00000520 0 FUNC GLOBAL DEFAULT 13 _start 69: 000007a4 4 OBJECT GLOBAL DEFAULT 15 _fp_hw 70: 00002008 0 NOTYPE GLOBAL DEFAULT ABS __bss_start 71: 00000500 32 FUNC GLOBAL DEFAULT 13 main 72: 00000000 0 FUNC GLOBAL DEFAULT UND __printf_chk@@GLIBC_2.3.4 73: 00000000 0 NOTYPE WEAK DEFAULT UND _Jv_RegisterClasses 74: 00000730 20 FUNC GLOBAL HIDDEN 13 __stack_chk_fail_local 75: 0000045c 0 FUNC GLOBAL DEFAULT 11 _init # Run twice to show off PIE, if available in kernel ../build-tree/includes-test-compiled ../build-tree/includes-test-compiled: ok (0x55555620) ../build-tree/includes-test-compiled ../build-tree/includes-test-compiled: ok (0x55555620) # Compiler and linker options enabled. cc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -fPIE -fstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -O2 -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIE -pie -Wl,-z,relro -Wl,-z,now -o ../build-tree/includes-test-linked hello.c readelf -ldrsW ../build-tree/includes-test-linked Elf file type is DYN (Shared object file) Entry point 0x520 There are 9 program headers, starting at offset 52 Program Headers: Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align PHDR 0x000034 0x00000034 0x00000034 0x00120 0x00120 R E 0x4 INTERP 0x000154 0x00000154 0x00000154 0x00013 0x00013 R 0x1 [Requesting program interpreter: /lib/ld-linux.so.2] LOAD 0x000000 0x00000000 0x00000000 0x008f4 0x008f4 R E 0x1000 LOAD 0x000ee0 0x00001ee0 0x00001ee0 0x00128 0x00130 RW 0x1000 DYNAMIC 0x000ef4 0x00001ef4 0x00001ef4 0x000d8 0x000d8 RW 0x4 NOTE 0x000168 0x00000168 0x00000168 0x00044 0x00044 R 0x4 GNU_EH_FRAME 0x0007bc 0x000007bc 0x000007bc 0x0003c 0x0003c R 0x4 GNU_STACK 0x000000 0x00000000 0x00000000 0x00000 0x00000 RW 0x4 GNU_RELRO 0x000ee0 0x00001ee0 0x00001ee0 0x00120 0x00120 R 0x1 Section to Segment mapping: Segment Sections... 00 01 .interp 02 .interp .note.ABI-tag .note.gnu.build-id .gnu.hash .dynsym .dynstr .gnu.version .gnu.version_r .rel.dyn .rel.plt .init .plt .text .fini .rodata .eh_frame_hdr .eh_frame 03 .ctors .dtors .jcr .dynamic .got .data .bss 04 .dynamic 05 .note.ABI-tag .note.gnu.build-id 06 .eh_frame_hdr 07 08 .ctors .dtors .jcr .dynamic .got Dynamic section at offset 0xef4 contains 23 entries: Tag Type Name/Value 0x00000001 (NEEDED) Shared library: [libc.so.6] 0x0000000c (INIT) 0x45c 0x0000000d (FINI) 0x788 0x6ffffef5 (GNU_HASH) 0x1ac 0x00000005 (STRTAB) 0x2c8 0x00000006 (SYMTAB) 0x1e8 0x0000000a (STRSZ) 208 (bytes) 0x0000000b (SYMENT) 16 (bytes) 0x00000015 (DEBUG) 0x0 0x00000003 (PLTGOT) 0x1fcc 0x00000002 (PLTRELSZ) 48 (bytes) 0x00000014 (PLTREL) REL 0x00000017 (JMPREL) 0x42c 0x00000011 (REL) 0x404 0x00000012 (RELSZ) 40 (bytes) 0x00000013 (RELENT) 8 (bytes) 0x00000018 (BIND_NOW) 0x6ffffffb (FLAGS_1) Flags: NOW 0x6ffffffe (VERNEED) 0x3b4 0x6fffffff (VERNEEDNUM) 1 0x6ffffff0 (VERSYM) 0x398 0x6ffffffa (RELCOUNT) 2 0x00000000 (NULL) 0x0 Relocation section '.rel.dyn' at offset 0x404 contains 5 entries: Offset Info Type Sym. Value Symbol's Name 00001ff8 00000008 R_386_RELATIVE 00002004 00000008 R_386_RELATIVE 00001ff0 00000206 R_386_GLOB_DAT 00000000 __cxa_finalize 00001ff4 00000306 R_386_GLOB_DAT 00000000 __gmon_start__ 00001ffc 00000706 R_386_GLOB_DAT 00000000 _Jv_RegisterClasses Relocation section '.rel.plt' at offset 0x42c contains 6 entries: Offset Info Type Sym. Value Symbol's Name 00001fd8 00000107 R_386_JUMP_SLOT 00000000 __stack_chk_fail 00001fdc 00000207 R_386_JUMP_SLOT 00000000 __cxa_finalize 00001fe0 00000307 R_386_JUMP_SLOT 00000000 __gmon_start__ 00001fe4 00000407 R_386_JUMP_SLOT 00000000 __libc_start_main 00001fe8 00000507 R_386_JUMP_SLOT 00000000 snprintf 00001fec 00000607 R_386_JUMP_SLOT 00000000 __printf_chk Symbol table '.dynsym' contains 14 entries: Num: Value Size Type Bind Vis Ndx Name 0: 00000000 0 NOTYPE LOCAL DEFAULT UND 1: 00000000 0 FUNC GLOBAL DEFAULT UND __stack_chk_fail@GLIBC_2.4 (2) 2: 00000000 0 FUNC WEAK DEFAULT UND __cxa_finalize@GLIBC_2.1.3 (3) 3: 00000000 0 NOTYPE WEAK DEFAULT UND __gmon_start__ 4: 00000000 0 FUNC GLOBAL DEFAULT UND __libc_start_main@GLIBC_2.0 (4) 5: 00000000 0 FUNC GLOBAL DEFAULT UND snprintf@GLIBC_2.0 (4) 6: 00000000 0 FUNC GLOBAL DEFAULT UND __printf_chk@GLIBC_2.3.4 (5) 7: 00000000 0 NOTYPE WEAK DEFAULT UND _Jv_RegisterClasses 8: 00002008 0 NOTYPE GLOBAL DEFAULT ABS _edata 9: 00002010 0 NOTYPE GLOBAL DEFAULT ABS _end 10: 000007a8 4 OBJECT GLOBAL DEFAULT 15 _IO_stdin_used 11: 000007a4 4 OBJECT GLOBAL DEFAULT 15 _fp_hw 12: 00002008 0 NOTYPE GLOBAL DEFAULT ABS __bss_start 13: 00000500 32 FUNC GLOBAL DEFAULT 13 main Symbol table '.symtab' contains 76 entries: Num: Value Size Type Bind Vis Ndx Name 0: 00000000 0 NOTYPE LOCAL DEFAULT UND 1: 00000154 0 SECTION LOCAL DEFAULT 1 2: 00000168 0 SECTION LOCAL DEFAULT 2 3: 00000188 0 SECTION LOCAL DEFAULT 3 4: 000001ac 0 SECTION LOCAL DEFAULT 4 5: 000001e8 0 SECTION LOCAL DEFAULT 5 6: 000002c8 0 SECTION LOCAL DEFAULT 6 7: 00000398 0 SECTION LOCAL DEFAULT 7 8: 000003b4 0 SECTION LOCAL DEFAULT 8 9: 00000404 0 SECTION LOCAL DEFAULT 9 10: 0000042c 0 SECTION LOCAL DEFAULT 10 11: 0000045c 0 SECTION LOCAL DEFAULT 11 12: 00000490 0 SECTION LOCAL DEFAULT 12 13: 00000500 0 SECTION LOCAL DEFAULT 13 14: 00000788 0 SECTION LOCAL DEFAULT 14 15: 000007a4 0 SECTION LOCAL DEFAULT 15 16: 000007bc 0 SECTION LOCAL DEFAULT 16 17: 000007f8 0 SECTION LOCAL DEFAULT 17 18: 00001ee0 0 SECTION LOCAL DEFAULT 18 19: 00001ee8 0 SECTION LOCAL DEFAULT 19 20: 00001ef0 0 SECTION LOCAL DEFAULT 20 21: 00001ef4 0 SECTION LOCAL DEFAULT 21 22: 00001fcc 0 SECTION LOCAL DEFAULT 22 23: 00002000 0 SECTION LOCAL DEFAULT 23 24: 00002008 0 SECTION LOCAL DEFAULT 24 25: 00000000 0 SECTION LOCAL DEFAULT 25 26: 00000000 0 SECTION LOCAL DEFAULT 26 27: 00000000 0 SECTION LOCAL DEFAULT 27 28: 00000000 0 SECTION LOCAL DEFAULT 28 29: 00000000 0 SECTION LOCAL DEFAULT 29 30: 00000000 0 SECTION LOCAL DEFAULT 30 31: 00000000 0 SECTION LOCAL DEFAULT 31 32: 00000000 0 SECTION LOCAL DEFAULT 32 33: 00000000 0 FILE LOCAL DEFAULT ABS crtstuff.c 34: 00001ee0 0 OBJECT LOCAL DEFAULT 18 __CTOR_LIST__ 35: 00001ee8 0 OBJECT LOCAL DEFAULT 19 __DTOR_LIST__ 36: 00001ef0 0 OBJECT LOCAL DEFAULT 20 __JCR_LIST__ 37: 00000560 0 FUNC LOCAL DEFAULT 13 __do_global_dtors_aux 38: 00002008 1 OBJECT LOCAL DEFAULT 24 completed.6159 39: 0000200c 4 OBJECT LOCAL DEFAULT 24 dtor_idx.6161 40: 000005e0 0 FUNC LOCAL DEFAULT 13 frame_dummy 41: 00000000 0 FILE LOCAL DEFAULT ABS crtstuff.c 42: 00001ee4 0 OBJECT LOCAL DEFAULT 18 __CTOR_END__ 43: 000008f0 0 OBJECT LOCAL DEFAULT 17 __FRAME_END__ 44: 00001ef0 0 OBJECT LOCAL DEFAULT 20 __JCR_END__ 45: 00000750 0 FUNC LOCAL DEFAULT 13 __do_global_ctors_aux 46: 00000000 0 FILE LOCAL DEFAULT ABS hello.c 47: 00001eec 0 OBJECT LOCAL DEFAULT 19 __DTOR_END__ 48: 00001ee0 0 NOTYPE LOCAL DEFAULT 18 __init_array_end 49: 00002004 0 OBJECT LOCAL DEFAULT 23 __dso_handle 50: 00001ef4 0 OBJECT LOCAL DEFAULT ABS _DYNAMIC 51: 00001ee0 0 NOTYPE LOCAL DEFAULT 18 __init_array_start 52: 00001fcc 0 OBJECT LOCAL DEFAULT ABS _GLOBAL_OFFSET_TABLE_ 53: 00000720 2 FUNC GLOBAL DEFAULT 13 __libc_csu_fini 54: 00000617 0 FUNC GLOBAL HIDDEN 13 __i686.get_pc_thunk.bx 55: 00002000 0 NOTYPE WEAK DEFAULT 23 data_start 56: 00002008 0 NOTYPE GLOBAL DEFAULT ABS _edata 57: 00000788 0 FUNC GLOBAL DEFAULT 14 _fini 58: 00000000 0 FUNC GLOBAL DEFAULT UND __stack_chk_fail@@GLIBC_2.4 59: 00000000 0 FUNC WEAK DEFAULT UND __cxa_finalize@@GLIBC_2.1.3 60: 00002000 0 NOTYPE GLOBAL DEFAULT 23 __data_start 61: 00000000 0 NOTYPE WEAK DEFAULT UND __gmon_start__ 62: 00000620 141 FUNC GLOBAL DEFAULT 13 announcement 63: 000007a8 4 OBJECT GLOBAL DEFAULT 15 _IO_stdin_used 64: 00000000 0 FUNC GLOBAL DEFAULT UND __libc_start_main@@GLIBC_2.0 65: 000006b0 97 FUNC GLOBAL DEFAULT 13 __libc_csu_init 66: 00000000 0 FUNC GLOBAL DEFAULT UND snprintf@@GLIBC_2.0 67: 00002010 0 NOTYPE GLOBAL DEFAULT ABS _end 68: 00000520 0 FUNC GLOBAL DEFAULT 13 _start 69: 000007a4 4 OBJECT GLOBAL DEFAULT 15 _fp_hw 70: 00002008 0 NOTYPE GLOBAL DEFAULT ABS __bss_start 71: 00000500 32 FUNC GLOBAL DEFAULT 13 main 72: 00000000 0 FUNC GLOBAL DEFAULT UND __printf_chk@@GLIBC_2.3.4 73: 00000000 0 NOTYPE WEAK DEFAULT UND _Jv_RegisterClasses 74: 00000730 20 FUNC GLOBAL HIDDEN 13 __stack_chk_fail_local 75: 0000045c 0 FUNC GLOBAL DEFAULT 11 _init # Run twice to show off PIE, if available in kernel ../build-tree/includes-test-linked ../build-tree/includes-test-linked: ok (0x55555620) ../build-tree/includes-test-linked ../build-tree/includes-test-linked: ok (0x55555620) # Check state of hardening features via check script perl ../build-tree/hardening-check ../build-tree/includes-test-linked ../build-tree/includes-test-linked: Position Independent Executable: yes Stack protected: yes Fortify Source functions: yes (some protected functions found) Read-only relocations: yes Immediate binding: yes # Manually check state of hardening features # Test PIE readelf -lW ../build-tree/includes-test-linked | grep '^Elf file type is DYN' Elf file type is DYN (Shared object file) # Test Stack Protector nm ../build-tree/includes-test-linked | egrep '__stack_chk_fail($|@@GLIBC)' U __stack_chk_fail@@GLIBC_2.4 # Test Fortify nm ../build-tree/includes-test-linked | egrep '__(sn)?printf_chk($|@@GLIBC)' U __printf_chk@@GLIBC_2.3.4 # Test Format (no-op currently) # Test for RELRO readelf -lW ../build-tree/includes-test-linked | grep GNU_RELRO GNU_RELRO 0x000ee0 0x00001ee0 0x00001ee0 0x00120 0x00120 R 0x1 # Test for BIND_NOW readelf -dW ../build-tree/includes-test-linked | grep BIND_NOW 0x00000018 (BIND_NOW) # Build directly with -fPIC already defined cc -fPIC -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -fPIE -fstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -O2 -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIE -pie -Wl,-z,relro -Wl,-z,now -o ../build-tree/includes-test-fPIC-direct hello.c ../build-tree/includes-test-fPIC-direct ../build-tree/includes-test-fPIC-direct: ok (0x55555620) # Build .o with -fPIC already defined cc -fPIC -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -fPIE -fstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -O2 -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIE -pie -Wl,-z,relro -Wl,-z,now -o ../build-tree/includes-test-fPIC.o -c hello.c # Link .o with -fPIC already defined cc -fPIC -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -fPIE -fstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -O2 -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIE -pie -Wl,-z,relro -Wl,-z,now -o ../build-tree/includes-test-fPIC ../build-tree/includes-test-fPIC.o ../build-tree/includes-test-fPIC ../build-tree/includes-test-fPIC: ok (0x55555620) # Make sure build fails due to -Werror=format-security ! cc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -fPIE -fstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -O2 -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIE -pie -Wl,-z,relro -Wl,-z,now -o ../build-tree/includes-test-format-security format.c format.c: In function 'main': format.c:11:5: error: format not a string literal and no format arguments [-Werror=format-security] cc1: some warnings being treated as errors # Make sure build succeeds with -Wno-format-security cc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -fPIE -fstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -O2 -Wno-format-security -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIE -pie -Wl,-z,relro -Wl,-z,now -o ../build-tree/includes-test-format-security format.c # Make sure build stack-protects a small ssp buffer cc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -fPIE -fstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -O2 -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIE -pie -Wl,-z,relro -Wl,-z,now -o ../build-tree/includes-test-ssp-buffer-size-protect ssp-buffer-size-protect.c # Test Stack Protector nm ../build-tree/includes-test-ssp-buffer-size-protect | egrep '__stack_chk_fail($|@@GLIBC)' U __stack_chk_fail@@GLIBC_2.4 # Make sure build does not stack-protects a tiny ssp buffer cc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -fPIE -fstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -O2 -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIE -pie -Wl,-z,relro -Wl,-z,now -o ../build-tree/includes-test-ssp-buffer-size-skip ssp-buffer-size-skip.c # Test Stack Protector is correctly skipped ! nm ../build-tree/includes-test-ssp-buffer-size-skip | egrep '__stack_chk_fail($|@@GLIBC)' cc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -fPIE -fstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -O2 -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIE -pie -Wl,-z,relro -Wl,-z,now -c -o ../build-tree/includes-test-all.o hello.c ar r ../build-tree/includes-test-all.a ../build-tree/includes-test-all.o ar: creating ../build-tree/includes-test-all.a readelf -ldrsW ../build-tree/includes-test-all.a File: ../build-tree/includes-test-all.a(includes-test-all.o) There are no program headers in this file. Relocation section '.rel.text' at offset 0x1360 contains 8 entries: Offset Info Type Sym. Value Symbol's Name 00000003 00001602 R_386_PC32 00000000 __i686.get_pc_thunk.bx 00000009 0000170a R_386_GOTPC 00000000 _GLOBAL_OFFSET_TABLE_ 0000003e 00001109 R_386_GOTOFF 00000000 .LC0 00000047 00001804 R_386_PLT32 00000000 snprintf 0000004d 00001509 R_386_GOTOFF 00000000 announcement 00000057 00001209 R_386_GOTOFF 00000003 .LC1 0000006b 00001904 R_386_PLT32 00000000 __printf_chk 00000089 00001a02 R_386_PC32 00000000 __stack_chk_fail_local Relocation section '.rel.text.startup' at offset 0x13a0 contains 1 entries: Offset Info Type Sym. Value Symbol's Name 00000012 00001502 R_386_PC32 00000000 announcement Relocation section '.rel.debug_info' at offset 0x13a8 contains 75 entries: Offset Info Type Sym. Value Symbol's Name 00000006 00000901 R_386_32 00000000 .debug_abbrev 0000000c 00000e01 R_386_32 00000000 .debug_str 00000011 00000e01 R_386_32 00000000 .debug_str 00000015 00000e01 R_386_32 00000000 .debug_str 00000021 00000c01 R_386_32 00000000 .debug_ranges 00000025 00000d01 R_386_32 00000000 .debug_line 0000002a 00000e01 R_386_32 00000000 .debug_str 00000037 00000e01 R_386_32 00000000 .debug_str 0000003e 00000e01 R_386_32 00000000 .debug_str 00000045 00000e01 R_386_32 00000000 .debug_str 0000004c 00000e01 R_386_32 00000000 .debug_str 00000053 00000e01 R_386_32 00000000 .debug_str 0000005a 00000e01 R_386_32 00000000 .debug_str 00000068 00000e01 R_386_32 00000000 .debug_str 0000006f 00000e01 R_386_32 00000000 .debug_str 00000074 00000e01 R_386_32 00000000 .debug_str 0000007f 00000e01 R_386_32 00000000 .debug_str 0000008c 00000e01 R_386_32 00000000 .debug_str 00000091 00000e01 R_386_32 00000000 .debug_str 000000a6 00000e01 R_386_32 00000000 .debug_str 000000ab 00000e01 R_386_32 00000000 .debug_str 000000b8 00000e01 R_386_32 00000000 .debug_str 000000c7 00000e01 R_386_32 00000000 .debug_str 000000d6 00000e01 R_386_32 00000000 .debug_str 000000e5 00000e01 R_386_32 00000000 .debug_str 000000f4 00000e01 R_386_32 00000000 .debug_str 00000103 00000e01 R_386_32 00000000 .debug_str 00000112 00000e01 R_386_32 00000000 .debug_str 00000121 00000e01 R_386_32 00000000 .debug_str 00000130 00000e01 R_386_32 00000000 .debug_str 0000013f 00000e01 R_386_32 00000000 .debug_str 0000014e 00000e01 R_386_32 00000000 .debug_str 0000015d 00000e01 R_386_32 00000000 .debug_str 0000016c 00000e01 R_386_32 00000000 .debug_str 0000017b 00000e01 R_386_32 00000000 .debug_str 0000018a 00000e01 R_386_32 00000000 .debug_str 00000199 00000e01 R_386_32 00000000 .debug_str 000001a8 00000e01 R_386_32 00000000 .debug_str 000001b7 00000e01 R_386_32 00000000 .debug_str 000001c6 00000e01 R_386_32 00000000 .debug_str 000001d5 00000e01 R_386_32 00000000 .debug_str 000001e4 00000e01 R_386_32 00000000 .debug_str 000001f3 00000e01 R_386_32 00000000 .debug_str 00000202 00000e01 R_386_32 00000000 .debug_str 00000211 00000e01 R_386_32 00000000 .debug_str 00000220 00000e01 R_386_32 00000000 .debug_str 0000022f 00000e01 R_386_32 00000000 .debug_str 0000023e 00000e01 R_386_32 00000000 .debug_str 0000024d 00000e01 R_386_32 00000000 .debug_str 0000025c 00000e01 R_386_32 00000000 .debug_str 0000026c 00000e01 R_386_32 00000000 .debug_str 00000273 00000e01 R_386_32 00000000 .debug_str 0000027f 00000e01 R_386_32 00000000 .debug_str 0000028d 00000e01 R_386_32 00000000 .debug_str 0000029b 00000e01 R_386_32 00000000 .debug_str 000002e8 00000e01 R_386_32 00000000 .debug_str 00000310 00000e01 R_386_32 00000000 .debug_str 0000031e 00000e01 R_386_32 00000000 .debug_str 00000330 00000e01 R_386_32 00000000 .debug_str 0000033e 00000e01 R_386_32 00000000 .debug_str 00000349 00000201 R_386_32 00000000 .text 0000034d 00000201 R_386_32 00000000 .text 00000351 00000a01 R_386_32 00000000 .debug_loc 0000035a 00000e01 R_386_32 00000000 .debug_str 0000037b 00000201 R_386_32 00000000 .text 0000037f 00000201 R_386_32 00000000 .text 0000038c 00000501 R_386_32 00000000 .rodata.str1.1 000003a6 00000e01 R_386_32 00000000 .debug_str 000003b1 00000601 R_386_32 00000000 .text.startup 000003b5 00000601 R_386_32 00000000 .text.startup 000003b9 00000a01 R_386_32 00000000 .debug_loc 000003c2 00000e01 R_386_32 00000000 .debug_str 000003d0 00000e01 R_386_32 00000000 .debug_str 000003e5 00000e01 R_386_32 00000000 .debug_str 000003f2 00000e01 R_386_32 00000000 .debug_str Relocation section '.rel.debug_loc' at offset 0x1600 contains 24 entries: Offset Info Type Sym. Value Symbol's Name 00000000 00000201 R_386_32 00000000 .text 00000004 00000201 R_386_32 00000000 .text 0000000c 00000201 R_386_32 00000000 .text 00000010 00000201 R_386_32 00000000 .text 00000018 00000201 R_386_32 00000000 .text 0000001c 00000201 R_386_32 00000000 .text 00000024 00000201 R_386_32 00000000 .text 00000028 00000201 R_386_32 00000000 .text 00000031 00000201 R_386_32 00000000 .text 00000035 00000201 R_386_32 00000000 .text 0000003d 00000201 R_386_32 00000000 .text 00000041 00000201 R_386_32 00000000 .text 00000049 00000201 R_386_32 00000000 .text 0000004d 00000201 R_386_32 00000000 .text 00000055 00000201 R_386_32 00000000 .text 00000059 00000201 R_386_32 00000000 .text 0000006a 00000601 R_386_32 00000000 .text.startup 0000006e 00000601 R_386_32 00000000 .text.startup 00000076 00000601 R_386_32 00000000 .text.startup 0000007a 00000601 R_386_32 00000000 .text.startup 00000082 00000601 R_386_32 00000000 .text.startup 00000086 00000601 R_386_32 00000000 .text.startup 0000008e 00000601 R_386_32 00000000 .text.startup 00000092 00000601 R_386_32 00000000 .text.startup Relocation section '.rel.debug_aranges' at offset 0x16c0 contains 4 entries: Offset Info Type Sym. Value Symbol's Name 00000006 00000801 R_386_32 00000000 .debug_info 00000010 00000201 R_386_32 00000000 .text 00000018 00000601 R_386_32 00000000 .text.startup 00000020 00000701 R_386_32 00000000 .text.__i686.get_pc_thunk.bx Relocation section '.rel.debug_ranges' at offset 0x16e0 contains 6 entries: Offset Info Type Sym. Value Symbol's Name 00000000 00000201 R_386_32 00000000 .text 00000004 00000201 R_386_32 00000000 .text 00000008 00000601 R_386_32 00000000 .text.startup 0000000c 00000601 R_386_32 00000000 .text.startup 00000010 00000701 R_386_32 00000000 .text.__i686.get_pc_thunk.bx 00000014 00000701 R_386_32 00000000 .text.__i686.get_pc_thunk.bx Relocation section '.rel.debug_line' at offset 0x1710 contains 2 entries: Offset Info Type Sym. Value Symbol's Name 000000ba 00000201 R_386_32 00000000 .text 000000fa 00000601 R_386_32 00000000 .text.startup Relocation section '.rel.eh_frame' at offset 0x1720 contains 3 entries: Offset Info Type Sym. Value Symbol's Name 00000020 00000202 R_386_PC32 00000000 .text 00000050 00000602 R_386_PC32 00000000 .text.startup 00000070 00000702 R_386_PC32 00000000 .text.__i686.get_pc_thunk.bx Symbol table '.symtab' contains 28 entries: Num: Value Size Type Bind Vis Ndx Name 0: 00000000 0 NOTYPE LOCAL DEFAULT UND 1: 00000000 0 FILE LOCAL DEFAULT ABS hello.c 2: 00000000 0 SECTION LOCAL DEFAULT 2 3: 00000000 0 SECTION LOCAL DEFAULT 4 4: 00000000 0 SECTION LOCAL DEFAULT 5 5: 00000000 0 SECTION LOCAL DEFAULT 6 6: 00000000 0 SECTION LOCAL DEFAULT 7 7: 00000000 0 SECTION LOCAL DEFAULT 9 8: 00000000 0 SECTION LOCAL DEFAULT 10 9: 00000000 0 SECTION LOCAL DEFAULT 12 10: 00000000 0 SECTION LOCAL DEFAULT 13 11: 00000000 0 SECTION LOCAL DEFAULT 15 12: 00000000 0 SECTION LOCAL DEFAULT 17 13: 00000000 0 SECTION LOCAL DEFAULT 19 14: 00000000 0 SECTION LOCAL DEFAULT 21 15: 00000000 0 SECTION LOCAL DEFAULT 23 16: 00000000 0 SECTION LOCAL DEFAULT 24 17: 00000000 0 NOTYPE LOCAL DEFAULT 6 .LC0 18: 00000003 0 NOTYPE LOCAL DEFAULT 6 .LC1 19: 00000000 0 SECTION LOCAL DEFAULT 22 20: 00000000 0 SECTION LOCAL DEFAULT 1 21: 00000000 141 FUNC GLOBAL DEFAULT 2 announcement 22: 00000000 0 FUNC GLOBAL HIDDEN 9 __i686.get_pc_thunk.bx 23: 00000000 0 NOTYPE GLOBAL DEFAULT UND _GLOBAL_OFFSET_TABLE_ 24: 00000000 0 NOTYPE GLOBAL DEFAULT UND snprintf 25: 00000000 0 NOTYPE GLOBAL DEFAULT UND __printf_chk 26: 00000000 0 NOTYPE GLOBAL HIDDEN UND __stack_chk_fail_local 27: 00000000 32 FUNC GLOBAL DEFAULT 7 main perl ../build-tree/hardening-check ../build-tree/includes-test-all.a ../build-tree/includes-test-all.a: Position Independent Executable: no, object archive (ignored) Stack protected: yes Fortify Source functions: yes (some protected functions found) Read-only relocations: no, non-ELF (ignored) Immediate binding: no, non-ELF (ignored) DEB_BUILD_HARDENING=0 cc -c -o ../build-tree/includes-test-none.o hello.c ar r ../build-tree/includes-test-none.a ../build-tree/includes-test-none.o ar: creating ../build-tree/includes-test-none.a readelf -ldrsW ../build-tree/includes-test-none.a File: ../build-tree/includes-test-none.a(includes-test-none.o) There are no program headers in this file. Relocation section '.rel.text' at offset 0x4e4 contains 7 entries: Offset Info Type Sym. Value Symbol's Name 0000001e 00000501 R_386_32 00000000 .rodata 00000042 00000a02 R_386_PC32 00000000 snprintf 00000047 00000501 R_386_32 00000000 .rodata 0000004f 00000901 R_386_32 00000000 announcement 00000061 00000b02 R_386_PC32 00000000 printf 00000072 00000c02 R_386_PC32 00000000 __stack_chk_fail 0000008a 00000902 R_386_PC32 00000000 announcement Relocation section '.rel.eh_frame' at offset 0x51c contains 2 entries: Offset Info Type Sym. Value Symbol's Name 00000020 00000202 R_386_PC32 00000000 .text 00000040 00000202 R_386_PC32 00000000 .text Symbol table '.symtab' contains 14 entries: Num: Value Size Type Bind Vis Ndx Name 0: 00000000 0 NOTYPE LOCAL DEFAULT UND 1: 00000000 0 FILE LOCAL DEFAULT ABS hello.c 2: 00000000 0 SECTION LOCAL DEFAULT 1 3: 00000000 0 SECTION LOCAL DEFAULT 3 4: 00000000 0 SECTION LOCAL DEFAULT 4 5: 00000000 0 SECTION LOCAL DEFAULT 5 6: 00000000 0 SECTION LOCAL DEFAULT 7 7: 00000000 0 SECTION LOCAL DEFAULT 8 8: 00000000 0 SECTION LOCAL DEFAULT 6 9: 00000000 120 FUNC GLOBAL DEFAULT 1 announcement 10: 00000000 0 NOTYPE GLOBAL DEFAULT UND snprintf 11: 00000000 0 NOTYPE GLOBAL DEFAULT UND printf 12: 00000000 0 NOTYPE GLOBAL DEFAULT UND __stack_chk_fail 13: 00000078 32 FUNC GLOBAL DEFAULT 1 main if perl ../build-tree/hardening-check ../build-tree/includes-test-none.a; then exit 1; fi ../build-tree/includes-test-none.a: Position Independent Executable: no, object archive (ignored) Stack protected: yes Fortify Source functions: no, only unprotected functions found! Read-only relocations: no, non-ELF (ignored) Immediate binding: no, non-ELF (ignored) # Disable PIE cc \ -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -fstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -O2 \ -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,relro -Wl,-z,now \ -o ../build-tree/includes-disabled hello.c if perl ../build-tree/hardening-check ../build-tree/includes-disabled; then exit 1; fi ../build-tree/includes-disabled: Position Independent Executable: no, normal executable! Stack protected: yes Fortify Source functions: yes (some protected functions found) Read-only relocations: yes Immediate binding: yes # Disable stack protector cc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -fPIE -fstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -O2 -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIE -pie -Wl,-z,relro -Wl,-z,now -fno-stack-protector -o ../build-tree/includes-disabled hello.c if perl ../build-tree/hardening-check ../build-tree/includes-disabled; then exit 1; fi ../build-tree/includes-disabled: Position Independent Executable: yes Stack protected: no, not found! Fortify Source functions: yes (some protected functions found) Read-only relocations: yes Immediate binding: yes # Disable fortify cc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -fPIE -fstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -O2 -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIE -pie -Wl,-z,relro -Wl,-z,now -U_FORTIFY_SOURCE -o ../build-tree/includes-disabled hello.c if perl ../build-tree/hardening-check ../build-tree/includes-disabled; then exit 1; fi ../build-tree/includes-disabled: Position Independent Executable: yes Stack protected: yes Fortify Source functions: no, only unprotected functions found! Read-only relocations: yes Immediate binding: yes # Disable relro cc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -fPIE -fstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -O2 -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,-z,norelro -o ../build-tree/includes-disabled hello.c if perl ../build-tree/hardening-check ../build-tree/includes-disabled; then exit 1; fi ../build-tree/includes-disabled: Position Independent Executable: yes Stack protected: yes Fortify Source functions: yes (some protected functions found) Read-only relocations: no, not found! Immediate binding: yes # Disable bindnow cc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -fPIE -fstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -O2 -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,-z,lazy -o ../build-tree/includes-disabled hello.c if perl ../build-tree/hardening-check ../build-tree/includes-disabled; then exit 1; fi ../build-tree/includes-disabled: Position Independent Executable: yes Stack protected: yes Fortify Source functions: yes (some protected functions found) Read-only relocations: yes Immediate binding: no, not found! # Disable everything cc \ -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -fstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -O2 \ -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,relro -Wl,-z,now \ -fno-stack-protector \ -U_FORTIFY_SOURCE \ -Wno-format-security \ -Wl,-z,norelro \ -Wl,-z,lazy \ -o ../build-tree/includes-disabled hello.c if perl ../build-tree/hardening-check ../build-tree/includes-disabled; then exit 1; fi ../build-tree/includes-disabled: Position Independent Executable: no, normal executable! Stack protected: no, not found! Fortify Source functions: no, only unprotected functions found! Read-only relocations: no, not found! Immediate binding: no, not found! readelf -ldW ../build-tree/includes-disabled Elf file type is EXEC (Executable file) Entry point 0x8048350 There are 8 program headers, starting at offset 52 Program Headers: Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align PHDR 0x000034 0x08048034 0x08048034 0x00100 0x00100 R E 0x4 INTERP 0x000134 0x08048134 0x08048134 0x00013 0x00013 R 0x1 [Requesting program interpreter: /lib/ld-linux.so.2] LOAD 0x000000 0x08048000 0x08048000 0x00664 0x00664 R E 0x1000 LOAD 0x000664 0x08049664 0x08049664 0x00104 0x0010c RW 0x1000 DYNAMIC 0x000678 0x08049678 0x08049678 0x000c8 0x000c8 RW 0x4 NOTE 0x000148 0x08048148 0x08048148 0x00044 0x00044 R 0x4 GNU_EH_FRAME 0x000540 0x08048540 0x08048540 0x0003c 0x0003c R 0x4 GNU_STACK 0x000000 0x00000000 0x00000000 0x00000 0x00000 RW 0x4 Section to Segment mapping: Segment Sections... 00 01 .interp 02 .interp .note.ABI-tag .note.gnu.build-id .gnu.hash .dynsym .dynstr .gnu.version .gnu.version_r .rel.dyn .rel.plt .init .plt .text .fini .rodata .eh_frame_hdr .eh_frame 03 .ctors .dtors .jcr .dynamic .got .got.plt .data .bss 04 .dynamic 05 .note.ABI-tag .note.gnu.build-id 06 .eh_frame_hdr 07 Dynamic section at offset 0x678 contains 20 entries: Tag Type Name/Value 0x00000001 (NEEDED) Shared library: [libc.so.6] 0x0000000c (INIT) 0x80482b0 0x0000000d (FINI) 0x804850c 0x6ffffef5 (GNU_HASH) 0x804818c 0x00000005 (STRTAB) 0x804820c 0x00000006 (SYMTAB) 0x80481ac 0x0000000a (STRSZ) 78 (bytes) 0x0000000b (SYMENT) 16 (bytes) 0x00000015 (DEBUG) 0x0 0x00000003 (PLTGOT) 0x8049744 0x00000002 (PLTRELSZ) 32 (bytes) 0x00000014 (PLTREL) REL 0x00000017 (JMPREL) 0x8048290 0x00000011 (REL) 0x8048288 0x00000012 (RELSZ) 8 (bytes) 0x00000013 (RELENT) 8 (bytes) 0x6ffffffe (VERNEED) 0x8048268 0x6fffffff (VERNEEDNUM) 1 0x6ffffff0 (VERSYM) 0x804825a 0x00000000 (NULL) 0x0 make[3]: Leaving directory `/build/buildd/hardening-wrapper-2.3ubuntu1~precise4/tests' make[2]: Leaving directory `/build/buildd/hardening-wrapper-2.3ubuntu1~precise4/tests' make[1]: Leaving directory `/build/buildd/hardening-wrapper-2.3ubuntu1~precise4' /usr/bin/fakeroot debian/rules binary dh binary dh_testroot dh_prep dh_installdirs dh_auto_install dh_install dh_installdocs dh_installchangelogs dh_installexamples dh_installman dh_installcatalogs dh_installcron dh_installdebconf dh_installemacsen dh_installifupdown dh_installinfo dh_installinit dh_installmenu dh_installmime dh_installmodules dh_installlogcheck dh_installlogrotate dh_installpam dh_installppp dh_installudev dh_installwm dh_installxfonts dh_installgsettings dh_bugfiles dh_ucf dh_lintian dh_gconf dh_icons dh_perl dh_usrlocal dh_link dh_compress dh_fixperms dh_strip dh_strip debug symbol extraction: disabling for PPA build dh_strip debug symbol extraction: not doing anything since NO_PKG_MANGLE is given dh_makeshlibs dh_shlibdeps dh_installdeb dh_gencontrol dh_md5sums dh_builddeb INFO: pkgstriptranslations version 116 INFO: Disabling pkgstriptranslations for PPA build INFO: Disabling pkgmaintainermangler for PPA build INFO: Disabling pkgstripfiles for PPA build dpkg-deb: building package `hardening-wrapper' in `../hardening-wrapper_2.3ubuntu1~precise4_i386.deb'. INFO: pkgstriptranslations version 116 INFO: Disabling pkgstriptranslations for PPA build INFO: Disabling pkgmaintainermangler for PPA build INFO: Disabling pkgstripfiles for PPA build dpkg-deb: building package `hardening-includes' in `../hardening-includes_2.3ubuntu1~precise4_all.deb'. dpkg-genchanges -b -mUbuntu Build Daemon >../hardening-wrapper_2.3ubuntu1~precise4_i386.changes dpkg-genchanges: warning: the current version (2.3ubuntu1~precise4) is earlier than the previous one (2.3ubuntu1) dpkg-genchanges: binary-only upload - not including any source code dpkg-source --after-build hardening-wrapper-2.3ubuntu1~precise4 dpkg-buildpackage: binary only upload (no source included) ****************************************************************************** Build finished at 20130828-0637 chroot-autobuild/build/buildd/hardening-wrapper_2.3ubuntu1~precise4_i386.deb: new debian package, version 2.0. size 13768 bytes: control archive= 1375 bytes. 536 bytes, 14 lines control 834 bytes, 12 lines md5sums 592 bytes, 32 lines * postinst #!/bin/sh 375 bytes, 22 lines * postrm #!/bin/sh 386 bytes, 22 lines * preinst #!/bin/sh Package: hardening-wrapper Version: 2.3ubuntu1~precise4 Architecture: i386 Maintainer: Package Hardening Installed-Size: 70 Depends: gcc | g++, perl Section: devel Priority: optional Multi-Arch: foreign Homepage: http://wiki.debian.org/Hardening Description: Compiler wrapper to enable security hardening flags Replaces gcc, g++, and ld with wrapper scripts that set security hardening compilation flags, as an alternative to changing gcc specs. Enabled when DEB_BUILD_HARDENING=1 is set. chroot-autobuild/build/buildd/hardening-includes_2.3ubuntu1~precise4_all.deb: new debian package, version 2.0. size 17934 bytes: control archive= 775 bytes. 717 bytes, 18 lines control 367 bytes, 5 lines md5sums Package: hardening-includes Source: hardening-wrapper Version: 2.3ubuntu1~precise4 Architecture: all Maintainer: Package Hardening Installed-Size: 70 Depends: perl, make, binutils Section: devel Priority: optional Multi-Arch: foreign Homepage: http://wiki.debian.org/Hardening Description: Makefile for enabling compiler flags for security hardening Makefile to be included in Debian rules files. CFLAGS and LDFLAGS can be extended to include the respective HARDENING_* variables which contain architecture-validated security hardening compiler options. . Also includes the "hardening-check" script to help evaluate the hardening status of already compiled binaries. chroot-autobuild/build/buildd/hardening-wrapper_2.3ubuntu1~precise4_i386.deb: drwxr-xr-x root/root 0 2013-08-28 06:37 ./ drwxr-xr-x root/root 0 2013-08-28 06:37 ./usr/ drwxr-xr-x root/root 0 2013-08-28 06:37 ./usr/share/ drwxr-xr-x root/root 0 2013-08-28 06:37 ./usr/share/lintian/ drwxr-xr-x root/root 0 2013-08-28 06:37 ./usr/share/lintian/overrides/ -rw-r--r-- root/root 108 2012-03-31 21:39 ./usr/share/lintian/overrides/hardening-wrapper drwxr-xr-x root/root 0 2013-08-28 06:37 ./usr/share/man/ drwxr-xr-x root/root 0 2013-08-28 06:37 ./usr/share/man/man1/ -rw-r--r-- root/root 827 2013-08-28 06:37 ./usr/share/man/man1/hardened-c++.1.gz -rw-r--r-- root/root 825 2013-08-28 06:37 ./usr/share/man/man1/hardened-cc.1.gz -rw-r--r-- root/root 734 2013-08-28 06:37 ./usr/share/man/man1/hardened-ld.1.gz drwxr-xr-x root/root 0 2013-08-28 06:37 ./usr/share/doc/ drwxr-xr-x root/root 0 2013-08-28 06:37 ./usr/share/doc/hardening-wrapper/ -rw-r--r-- root/root 1181 2012-03-31 20:48 ./usr/share/doc/hardening-wrapper/copyright -rw-r--r-- root/root 64 2011-07-03 20:12 ./usr/share/doc/hardening-wrapper/AUTHORS -rw-r--r-- root/root 2951 2012-12-16 22:58 ./usr/share/doc/hardening-wrapper/README.Debian -rw-r--r-- root/root 18 2011-07-03 20:12 ./usr/share/doc/hardening-wrapper/TODO -rw-r--r-- root/root 4486 2013-08-28 06:25 ./usr/share/doc/hardening-wrapper/changelog.gz drwxr-xr-x root/root 0 2013-08-28 06:37 ./usr/bin/ -rwxr-xr-x root/root 5348 2013-08-28 06:37 ./usr/bin/hardened-c++ -rwxr-xr-x root/root 2502 2013-08-28 06:37 ./usr/bin/hardened-ld -rwxr-xr-x root/root 5345 2013-08-28 06:37 ./usr/bin/hardened-cc lrwxrwxrwx root/root 0 2013-08-28 06:37 ./usr/share/man/man1/hardening-wrapper.1.gz -> hardened-cc.1.gz lrwxrwxrwx root/root 0 2013-08-28 06:37 ./usr/bin/gcc-4.4 -> hardened-cc lrwxrwxrwx root/root 0 2013-08-28 06:37 ./usr/bin/g++-4.3 -> hardened-c++ lrwxrwxrwx root/root 0 2013-08-28 06:37 ./usr/bin/ld.gold -> hardened-ld lrwxrwxrwx root/root 0 2013-08-28 06:37 ./usr/bin/gcc-4.7 -> hardened-cc lrwxrwxrwx root/root 0 2013-08-28 06:37 ./usr/bin/gcc-4.2 -> hardened-cc lrwxrwxrwx root/root 0 2013-08-28 06:37 ./usr/bin/ld.bfd -> hardened-ld lrwxrwxrwx root/root 0 2013-08-28 06:37 ./usr/bin/g++-4.8 -> hardened-c++ lrwxrwxrwx root/root 0 2013-08-28 06:37 ./usr/bin/g++-4.4 -> hardened-c++ lrwxrwxrwx root/root 0 2013-08-28 06:37 ./usr/bin/g++-4.7 -> hardened-c++ lrwxrwxrwx root/root 0 2013-08-28 06:37 ./usr/bin/gcc-4.8 -> hardened-cc lrwxrwxrwx root/root 0 2013-08-28 06:37 ./usr/bin/gcc-4.3 -> hardened-cc lrwxrwxrwx root/root 0 2013-08-28 06:37 ./usr/bin/g++-4.6 -> hardened-c++ lrwxrwxrwx root/root 0 2013-08-28 06:37 ./usr/bin/g++-4.5 -> hardened-c++ lrwxrwxrwx root/root 0 2013-08-28 06:37 ./usr/bin/gcc-4.6 -> hardened-cc lrwxrwxrwx root/root 0 2013-08-28 06:37 ./usr/bin/gcc-4.5 -> hardened-cc lrwxrwxrwx root/root 0 2013-08-28 06:37 ./usr/bin/g++-4.2 -> hardened-c++ chroot-autobuild/build/buildd/hardening-includes_2.3ubuntu1~precise4_all.deb: drwxr-xr-x root/root 0 2013-08-28 06:37 ./ drwxr-xr-x root/root 0 2013-08-28 06:37 ./usr/ drwxr-xr-x root/root 0 2013-08-28 06:37 ./usr/share/ drwxr-xr-x root/root 0 2013-08-28 06:37 ./usr/share/hardening-includes/ -rwxr-xr-x root/root 6080 2013-08-28 06:37 ./usr/share/hardening-includes/hardening.make drwxr-xr-x root/root 0 2013-08-28 06:37 ./usr/share/man/ drwxr-xr-x root/root 0 2013-08-28 06:37 ./usr/share/man/man1/ -rw-r--r-- root/root 3761 2013-08-28 06:37 ./usr/share/man/man1/hardening-check.1.gz drwxr-xr-x root/root 0 2013-08-28 06:37 ./usr/share/doc/ drwxr-xr-x root/root 0 2013-08-28 06:37 ./usr/share/doc/hardening-includes/ -rw-r--r-- root/root 1181 2012-03-31 20:48 ./usr/share/doc/hardening-includes/copyright -rw-r--r-- root/root 4486 2013-08-28 06:25 ./usr/share/doc/hardening-includes/changelog.gz drwxr-xr-x root/root 0 2013-08-28 06:37 ./usr/bin/ -rwxr-xr-x root/root 14920 2013-08-28 06:37 ./usr/bin/hardening-check hardening-wrapper_2.3ubuntu1~precise4_i386.changes: Format: 1.8 Date: Tue, 27 Aug 2013 23:25:20 -0700 Source: hardening-wrapper Binary: hardening-wrapper hardening-includes Architecture: i386 all Version: 2.3ubuntu1~precise4 Distribution: precise Urgency: low Maintainer: Ubuntu Build Daemon Changed-By: Geza Kovacs Description: hardening-includes - Makefile for enabling compiler flags for security hardening hardening-wrapper - Compiler wrapper to enable security hardening flags Changes: hardening-wrapper (2.3ubuntu1~precise4) precise; urgency=low . * Upload to Launchpad Checksums-Sha1: af15e7e535f49e7fc4e6bac9ddb9659eb563c092 13768 hardening-wrapper_2.3ubuntu1~precise4_i386.deb 98b9b66a95fb4b66b3d3ba2fd7609cd3101cc017 17934 hardening-includes_2.3ubuntu1~precise4_all.deb Checksums-Sha256: e855b1ef8de251e0a234fa0d3fe634329cf115a2819609fb03997361d1c5c670 13768 hardening-wrapper_2.3ubuntu1~precise4_i386.deb d0a68b7c3b4bf4f49ae483f2c4a0f75fe3cf507fc00066438d15c10c5407db5b 17934 hardening-includes_2.3ubuntu1~precise4_all.deb Files: ecd16038d46a6e0b0c495d98afff388c 13768 devel optional hardening-wrapper_2.3ubuntu1~precise4_i386.deb f85f5638add74012e7d0c2ac424e3f90 17934 devel optional hardening-includes_2.3ubuntu1~precise4_all.deb ****************************************************************************** Built successfully ****************************************************************************** Finished at 20130828-0637 Build needed 00:00:17, 800k disk space RUN: /usr/share/launchpad-buildd/slavebin/scan-for-processes ['/usr/share/launchpad-buildd/slavebin/scan-for-processes', 'cbf513a8dc08fed6254c539ab37d2c9247c5b8fc'] Scanning for processes to kill in build /home/buildd/build-cbf513a8dc08fed6254c539ab37d2c9247c5b8fc/chroot-autobuild... RUN: /usr/share/launchpad-buildd/slavebin/umount-chroot ['umount-chroot', 'cbf513a8dc08fed6254c539ab37d2c9247c5b8fc'] Unmounting chroot for build cbf513a8dc08fed6254c539ab37d2c9247c5b8fc... RUN: /usr/share/launchpad-buildd/slavebin/remove-build ['remove-build', 'cbf513a8dc08fed6254c539ab37d2c9247c5b8fc'] Removing build cbf513a8dc08fed6254c539ab37d2c9247c5b8fc