develooper Front page | perl.perl5.porters | Postings from June 2016

Re: Synology DSM 6

Thread Previous
From:
H.Merijn Brand
Date:
June 13, 2016 06:13
Subject:
Re: Synology DSM 6
Message ID:
20160613081255.6c6c65fb@pc09.procura.nl
On Mon, 13 Jun 2016 07:57:54 +0200, "H.Merijn Brand"
<h.m.brand@xs4all.nl> wrote:

> Now when I build 5.24.0 from scratch:
> 
> 
> cc -c -DPERL_CORE -fwrapv -fno-strict-aliasing
> -pipe -fstack-protector-strong -I/opt/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -std=c89 -O2 -Wall -Werror=declaration-after-statement -Wextra -Wc++-compat -Wwrite-strings globals.c In file included from perl.h:28:0,
>                  from globals.c:32:
> config.h:3892:25: error: 'undef' undeclared here (not in a function)
>  #define LONGDBLINFBYTES undef  /**/
>                          ^
> perl.h:5738:32: note: in expansion of macro 'LONGDBLINFBYTES'
>  INFNAN_U8_NV_DECL PL_inf = { { LONGDBLINFBYTES } };
>                                 ^
> makefile:269: recipe for target 'globals.o' failed

Looks like we fu*kd up Configure:

config.h contains this:

/* LONGDBLNANBYTES:
 *      This symbol, if defined, is a comma-separated list of
 *      hexadecimal bytes (0xHH) for the long double precision not-a-number.
 */
#define DOUBLEINFBYTES  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf0, 0x7f /**/
#define DOUBLENANBYTES  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf8, 0x7f /**/
#define LONGDBLINFBYTES undef           /**/
#define LONGDBLNANBYTES undef           /**/

That doesn't look right

-- 
H.Merijn Brand  http://tux.nl   Perl Monger  http://amsterdam.pm.org/
using perl5.00307 .. 5.23   porting perl5 on HP-UX, AIX, and openSUSE
http://mirrors.develooper.com/hpux/        http://www.test-smoke.org/
http://qa.perl.org   http://www.goldmark.org/jeff/stupid-disclaimers/

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About