all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andreas Enge <andreas@enge.fr>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: Guix-devel <guix-devel@gnu.org>
Subject: Re: Freezing core-updates
Date: Wed, 1 Jun 2016 11:41:47 +0200	[thread overview]
Message-ID: <20160601094147.GA16919@solar> (raw)
In-Reply-To: <87oa7lnc4q.fsf@gnu.org>

On Tue, May 31, 2016 at 11:36:21PM +0200, Ludovic Courtès wrote:
> Quick observation: one of the file has debugging symbols, the other not.
> Apart from that, section sizes are very similar:

That is understandable, the debugging symbols come from stage 2, the files
without from stage 3.


To check for an easy work-around, I tested to upgrade the standard gcc
from 5.3 to 6.1. But this fails as follows:

setenv.c: In function '__unsetenv':
setenv.c:279:6: error: suggest explicit braces to avoid ambiguous 'else' [-Werror=parentheses]
   if (ep != NULL)
      ^
cc1: all warnings being treated as errors
../o-iterator.mk:9: recipe for target '/tmp/guix-build-glibc-intermediate-2.23.drv-0/build/stdlib/setenv.o' failed
make[2]: *** [/tmp/guix-build-glibc-intermediate-2.23.drv-0/build/stdlib/setenv.o] Error 1
make[2]: Leaving directory '/tmp/guix-build-glibc-intermediate-2.23.drv-0/glibc-2.23/stdlib'
Makefile:214: recipe for target 'stdlib/subdir_lib' failed
make[1]: *** [stdlib/subdir_lib] Error 2
make[1]: Leaving directory '/tmp/guix-build-glibc-intermediate-2.23.drv-0/glibc-2.23'
Makefile:9: recipe for target 'all' failed
make: *** [all] Error 2
phase `build' failed after 350.8 seconds
builder for `/gnu/store/ja64ppaspnvx5q1a9nlfa0n3hp9kb2p1-glibc-intermediate-2.23.drv' failed with exit code 1
@ build-failed /gnu/store/ja64ppaspnvx5q1a9nlfa0n3hp9kb2p1-glibc-intermediate-2.23.drv - 1 builder for `/gnu/store/ja64ppaspnvx5q1a9nlfa0n3hp9kb2p1-glibc-intermediate-2.23.drv' failed with exit code 1
cannot build derivation `/gnu/store/cnd7vjf59wkvma15zicdv9gg8hl084q7-bash-static-4.3.42.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/p8fsvdqby0api3fhpjk8fg7szv8xqdbn-gcc-6.1.0.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/x34g9mhwn0ssqxfp3w0gy1dnwacm5dh1-gcc-6.1.0.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/7xvr4q068i3h49sad9wab3fbpfgivbn9-glibc-2.23.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/ln53k3lix5421ykvhh8k0pnjbg81f1yi-hello-2.10.drv': 1 dependencies couldn't be built
guix build: error: build failed: build of `/gnu/store/ln53k3lix5421ykvhh8k0pnjbg81f1yi-hello-2.10.drv' failed

Maybe "all warnings treated as errors" is a bit exaggerated here, but in any
case, upgrading gcc is not an easy fix.

> We should check the build log for the command lines used to build
> real.o.

I find this:
105038:libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../../gcc-5.3.0/mpc/src -I.. -I/tmp/guix-build-gcc-5.3.0.drv-0/build/./gmp -I/tmp/guix-build-gcc-5.3.0.drv-0/gcc-5.3.0/mpfr/src -g -MT real.lo -MD -MP -MF .deps/real.Tpo -c ../../../gcc-5.3.0/mpc/src/real.c -o real.o
115976:libtool: compile:  /tmp/guix-build-gcc-5.3.0.drv-0/build/./prev-gcc/xgcc -B/tmp/guix-build-gcc-5.3.0.drv-0/build/./prev-gcc/ -B/gnu/store/6xdd64b8343v9vd3nkhkkqg7mayyxvwp-gcc-5.3.0/arm-unknown-linux-gnueabihf/bin/ -B/gnu/store/6xdd64b8343v9vd3nkhkkqg7mayyxvwp-gcc-5.3.0/arm-unknown-linux-gnueabihf/bin/ -B/gnu/store/6xdd64b8343v9vd3nkhkkqg7mayyxvwp-gcc-5.3.0/arm-unknown-linux-gnueabihf/lib/ -isystem /gnu/store/6xdd64b8343v9vd3nkhkkqg7mayyxvwp-gcc-5.3.0/arm-unknown-linux-gnueabihf/include -isystem /gnu/store/6xdd64b8343v9vd3nkhkkqg7mayyxvwp-gcc-5.3.0/arm-unknown-linux-gnueabihf/sys-include -DHAVE_CONFIG_H -I. -I../../../gcc-5.3.0/mpc/src -I.. -I/tmp/guix-build-gcc-5.3.0.drv-0/build/./gmp -I/tmp/guix-build-gcc-5.3.0.drv-0/gcc-5.3.0/mpfr/src -O2 -g0 -gtoggle -MT real.lo -MD -MP -MF .deps
 /real.Tpo -c ../../../gcc-5.3.0/mpc/src/real.c -o real.o
126915:libtool: compile:  /tmp/guix-build-gcc-5.3.0.drv-0/build/./prev-gcc/xgcc -B/tmp/guix-build-gcc-5.3.0.drv-0/build/./prev-gcc/ -B/gnu/store/6xdd64b8343v9vd3nkhkkqg7mayyxvwp-gcc-5.3.0/arm-unknown-linux-gnueabihf/bin/ -B/gnu/store/6xdd64b8343v9vd3nkhkkqg7mayyxvwp-gcc-5.3.0/arm-unknown-linux-gnueabihf/bin/ -B/gnu/store/6xdd64b8343v9vd3nkhkkqg7mayyxvwp-gcc-5.3.0/arm-unknown-linux-gnueabihf/lib/ -isystem /gnu/store/6xdd64b8343v9vd3nkhkkqg7mayyxvwp-gcc-5.3.0/arm-unknown-linux-gnueabihf/include -isystem /gnu/store/6xdd64b8343v9vd3nkhkkqg7mayyxvwp-gcc-5.3.0/arm-unknown-linux-gnueabihf/sys-include -DHAVE_CONFIG_H -I. -I../../../gcc-5.3.0/mpc/src -I.. -I/tmp/guix-build-gcc-5.3.0.drv-0/build/./gmp -I/tmp/guix-build-gcc-5.3.0.drv-0/gcc-5.3.0/mpfr/src -O2 -g0 -MT real.lo -MD -MP -MF .deps/real.Tpo
  -c ../../../gcc-5.3.0/mpc/src/real.c -o real.o

Maybe real.o is not the easiest example, since it also involves gmp and mpfr.

Andreas

  reply	other threads:[~2016-06-01  9:41 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-17  8:59 Freezing core-updates Ludovic Courtès
2016-05-17 11:29 ` Leo Famulari
2016-05-17 21:21   ` Ludovic Courtès
     [not found] ` <D79FF867-A6E4-480B-8D0C-FD597A836F6E@famulari.name>
2016-05-17 11:47   ` Leo Famulari
2016-05-17 12:03 ` Matthew Jordan
2016-05-17 12:11   ` Ben Woodcroft
2016-05-17 21:22   ` Ludovic Courtès
2016-05-26 16:59 ` Andreas Enge
2016-05-28 15:25   ` Ludovic Courtès
2016-05-31 19:33     ` Andreas Enge
2016-05-31 21:36       ` Ludovic Courtès
2016-06-01  9:41         ` Andreas Enge [this message]
2016-06-02  8:09           ` Ludovic Courtès
2016-06-04 15:33             ` Andreas Enge
2016-06-01 12:23       ` GCC bootstrap failure on ARM Ludovic Courtès
2016-06-01 18:45         ` Andreas Enge
2016-06-06  9:22         ` Ludovic Courtès
2016-06-07  9:58           ` Ludovic Courtès
2016-06-07 16:04             ` Leo Famulari
2016-06-08  0:55               ` Leo Famulari
2016-06-10  9:13             ` Andreas Enge
2016-06-10 12:16               ` Efraim Flashner
2016-06-10 12:22                 ` Efraim Flashner
2016-08-21  2:55           ` Mark H Weaver
2016-08-21 11:44             ` David Craven
2016-08-21 12:17               ` David Craven
2016-08-21 12:26                 ` Andreas Enge
2016-08-21 20:24               ` Mark H Weaver
2016-08-22  0:14                 ` David Craven
2016-08-29 15:23                 ` Ludovic Courtès
2016-09-10 13:16                   ` Ludovic Courtès
2016-09-10 13:22                     ` David Craven
2016-09-12 21:17                     ` Ludovic Courtès
     [not found]                       ` <CAL1_imniMsSJd+K=BTda+whFTKaErzwa+qSaUE0qeF=zA-Jv6A@mail.gmail.com>
     [not found]                         ` <CAL1_imnQFeTU52eWJt6kcwzuCFmP6Si-y0kdPm9SmZyprkm5NA@mail.gmail.com>
2016-09-13  6:11                           ` David Craven
2016-09-13  8:23                             ` Ludovic Courtès
2016-09-13  8:26                       ` Binutils build failure on MIPS Ludovic Courtès
2016-09-13  9:05                         ` Vincent Legoll
2016-09-13  9:14                           ` Vincent Legoll
2016-09-13 12:45                             ` Ludovic Courtès
2016-09-13 14:00                               ` Vincent Legoll
2016-09-13 14:05                                 ` David Craven
2016-09-13 14:19                                   ` Vincent Legoll
2016-09-13 14:27                                     ` David Craven
2016-09-13 14:36                                       ` Vincent Legoll
2016-09-13 22:02                                     ` Ludovic Courtès
2016-09-18 18:47                               ` Andreas Enge
2016-09-21 16:02                                 ` Ludovic Courtès
2016-09-28 20:48                           ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160601094147.GA16919@solar \
    --to=andreas@enge.fr \
    --cc=guix-devel@gnu.org \
    --cc=ludo@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.