all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Andreas Enge <andreas@enge.fr>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: core-updates, next release, and all that
Date: Tue, 26 Jul 2016 00:46:42 +0200	[thread overview]
Message-ID: <87bn1lcp4d.fsf@gnu.org> (raw)
In-Reply-To: <20160724174409.GA10837@solar> (Andreas Enge's message of "Sun, 24 Jul 2016 19:44:09 +0200")

Andreas Enge <andreas@enge.fr> skribis:

> On Sun, Jul 24, 2016 at 12:59:22PM -0400, Leo Famulari wrote:
>> So strange. Could the source code have been corrupted while unpacking?
>> Can anyone replicate this locally, so they can use --keep-failed?
>
> Yes, but I still cannot make anything of it.
>
> The build phase boils down to
>    cd /tmp/guix-build-lpsolve-5.5.2.0.drv-0/lp_solve_5.5/lpsolve55
>    bash ccc
> where the latter command eventually runs
>    gcc -s -c -I.. -I../shared -I../bfp -I../bfp/bfp_LUSOL -I../bfp/bfp_LUSOL/LUSOL -I../colamd -O3 $def $NOISNAN -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine ../lp_MDO.c ../shared/commonlib.c ../shared/mmio.c ../shared/myblas.c ../ini.c ../fortify.c ../colamd/colamd.c ../lp_rlp.c ../lp_crash.c ../bfp/bfp_LUSOL/lp_LUSOL.c ../bfp/bfp_LUSOL/LUSOL/lusol.c ../lp_Hash.c ../lp_lib.c ../lp_wlp.c ../lp_matrix.c ../lp_mipbb.c ../lp_MPS.c ../lp_params.c ../lp_presolve.c ../lp_price.c ../lp_pricePSE.c ../lp_report.c ../lp_scale.c ../lp_simplex.c ../lp_SOS.c ../lp_utils.c ../yacc_read.c
>
> When I source the environment variables of the build, then gcc-4.9 is used,
> and the error message is printed. When I just install gcc-toolchain@5, it
> passes. But I do not think that the compiler version makes a difference.
>
> The offending lines are
> #ifndef FALSE
>   #define FALSE        0
>   #define TRUE         1
> #endif
> which looks perfectly good. When I remove them, then the compiler complains
> that FALSE is not defined.

Fixed in commit 5dbfbef7292a43029b17e89d682d9e24703d5cd2.

(The problem was a wrong ‘isnan’ feature test, leading to -DNOISNAN,
leading to “#define isnan(x) FALSE”, so the ‘isnan’ declaration in
<math.h> was turned into “extern int FALSE __attribute__
((__nothrow__ , __leaf__)) __attribute__ ((__const__));”…)

Ludo’.

  reply	other threads:[~2016-07-25 22:46 UTC|newest]

Thread overview: 65+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-22 20:59 core-updates, next release, and all that Ludovic Courtès
2016-07-22 21:46 ` Leo Famulari
2016-07-22 21:59 ` Leo Famulari
2016-07-23 10:39   ` Ludovic Courtès
2016-07-23 11:22     ` Andreas Enge
2016-07-24 16:04       ` Andreas Enge
2016-07-24 16:48         ` Andreas Enge
2016-07-25  7:51           ` Andreas Enge
2016-07-25 16:30             ` Leo Famulari
2016-07-25 18:40               ` Andreas Enge
2016-07-25 20:03                 ` Andreas Enge
2016-07-25  8:07           ` Ludovic Courtès
2016-07-24 16:59       ` Leo Famulari
2016-07-24 17:44         ` Andreas Enge
2016-07-25 22:46           ` Ludovic Courtès [this message]
2016-07-26 21:36             ` Andreas Enge
2016-07-27 10:44               ` Andreas Enge
2016-07-27 16:27                 ` Andreas Enge
2016-07-27 18:28                   ` Andreas Enge
2016-07-27 22:08                     ` Ludovic Courtès
2016-07-27 23:10                       ` Ludovic Courtès
2016-07-28  8:20                         ` Andreas Enge
2016-07-28  8:24                           ` Andreas Enge
2016-07-28  8:27                             ` Andreas Enge
2016-07-28  9:31                               ` Andreas Enge
2016-07-28 10:21                                 ` Ben Woodcroft
2016-07-28 10:34                                   ` Andreas Enge
2016-07-28 11:42                                     ` Ben Woodcroft
2016-08-31 19:33                                   ` Ricardo Wurmus
2016-09-01  4:41                                     ` Ben Woodcroft
2016-07-22 22:03 ` Leo Famulari
2016-07-22 22:06   ` Andreas Enge
2016-07-22 22:29     ` Leo Famulari
2016-07-22 22:46     ` ng0
2016-07-22 22:49       ` Leo Famulari
2016-07-22 23:00     ` Leo Famulari
2016-07-22 23:25       ` Andreas Enge
2016-07-23  0:16 ` ng0
2016-08-01 21:52 ` Release imminent Ludovic Courtès
2016-08-02  8:46   ` Andreas Enge
2016-08-03  7:51     ` isnan, isinf in ldc; Was: " Danny Milosavljevic
2016-08-03  9:12       ` Andreas Enge
2016-08-03 17:03         ` Leo Famulari
2016-08-03 17:14           ` Roel Janssen
2016-08-03 20:11             ` Pjotr Prins
2016-08-03 20:42               ` Andreas Enge
2016-08-03  9:20       ` [PATCH 0/3] Fix ldc Danny Milosavljevic
2016-08-03  9:20         ` [PATCH 1/3] gnu: ldc: make isnan and isinf work Danny Milosavljevic
2016-08-03  9:20         ` [PATCH 2/3] gnu: Add python-lit, python2-lit Danny Milosavljevic
2016-08-03  9:20         ` [PATCH 3/3] gnu: ldc: Update to 0.17.1 Danny Milosavljevic
2016-08-08 17:06         ` [PATCH 0/3] Fix ldc Danny Milosavljevic
2016-08-08 20:21           ` Roel Janssen
2016-08-29 15:39           ` Ludovic Courtès
2016-08-30  6:07       ` [PATCH v2 " Danny Milosavljevic
2016-08-30  6:07         ` [PATCH v2 1/3] gnu: ldc: make isnan and isinf work Danny Milosavljevic
2016-08-30  6:07         ` [PATCH v2 2/3] gnu: Add python-lit, python2-lit Danny Milosavljevic
2016-08-30  6:07         ` [PATCH v2 3/3] gnu: update ldc to 0.17.1 Danny Milosavljevic
2016-08-30 16:51       ` [PATCH v3 0/3] Fix ldc Danny Milosavljevic
2016-08-30 16:51         ` [PATCH v3 1/3] gnu: ldc: make isnan and isinf work Danny Milosavljevic
2016-08-30 16:51         ` [PATCH v3 2/3] gnu: Add python-lit, python2-lit Danny Milosavljevic
2016-08-31 18:09           ` Leo Famulari
2016-09-13 10:04             ` Danny Milosavljevic
2016-08-30 16:52         ` [PATCH v3 3/3] gnu: update ldc to 0.17.1 Danny Milosavljevic
2016-08-31 18:11           ` Leo Famulari
2016-09-06 10:41         ` [PATCH v3 0/3] Fix ldc Roel Janssen

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=87bn1lcp4d.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=andreas@enge.fr \
    --cc=guix-devel@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.