[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Georg Schwarz] Re: coreutils 6.6 fails to compile on IRIX 5.3
From: |
Jim Meyering |
Subject: |
[Georg Schwarz] Re: coreutils 6.6 fails to compile on IRIX 5.3 |
Date: |
Mon, 04 Dec 2006 09:03:41 +0100 |
Thanks for the details.
For the record, I'm sending this to bug-gnulib, so others know, too.
From: Georg Schwarz <address@hidden>
Subject: Re: coreutils 6.6 fails to compile on IRIX 5.3
Date: Sun, 3 Dec 2006 23:31:31 +0100
To: Jim Meyering <address@hidden>
Am 03.12.2006 um 20:02 schrieb Jim Meyering:
> Georg Schwarz <address@hidden> wrote:
>> coreutils 6.6 fails to compile on IRIX 5.3 like this:
>
> Thanks for the report.
> For starters, I suggest that you try to use a different compiler.
>
>> lorenz 10% env GREP=/usr/sbin/grep ./configure --prefix=/usr/local
>> checking build system type... mips-sgi-irix5.3
> ...
>
> Here's one problem that should be easy to fix:
>
>> checking for flexible array member... yes
> ...
>> cc -I. -g -c idcache.c
>> cfe: Warning 807: idcache.c, line 45: member cannot be of function or
>> incomplete type.
>> char name[ ];
>> -------^
>
> That seems to be due to a failure in the test for flex-array support.
> Would you please look in config.log to see how the compilation
> that checks "for flexible array member" failed?
OK, I have:
configure:20647: cc -c -g conftest.c >&5
cfe: Warning 807: conftest.c, line 185: member cannot be of function
or incomple
te type.
struct s { int n; double d[]; };
-----------------------------^
configure:20653: $? = 0
configure:20668: result: yes
looks like the SGI IDO cc reports back "no problems" despite of the
failure to compile the code.
When configuring with
env ac_cv_c_flexmember=no GREP=/usr/sbin/grep ./configure --prefix=/
usr/local
the same problem occurs during compiling.
Please let me know which further information I could provide to track
down the issue.
Thanks.
--
Georg Schwarz http://home.pages.de/~schwarz/
address@hidden +49 178 8545053
- [Georg Schwarz] Re: coreutils 6.6 fails to compile on IRIX 5.3,
Jim Meyering <=