bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: coreutils 7.1.49-ebb9 FTB risc/HP-UX


From: Jim Meyering
Subject: Re: coreutils 7.1.49-ebb9 FTB risc/HP-UX
Date: Thu, 19 Mar 2009 09:33:19 +0100

Matthew Woehlke wrote:
> Tail of the build log below; what else would you like?
>
> (I've *no* idea how to pass options from cc to cpp :-(. I had a
> similar problem with ncurses and was unable to figure it out; I ended
> up having to break up what cpp was seeing to get past it.)
>
> cc   -g   -o cp cp.o copy.o cp-hash.o libver.a ../lib/libcoreutils.a
> /home/install/gnu/hp700_hpux/lib/libintl.sl ../lib/libcoreutils.a
> -lsec
> source='dd.c' object='dd.o' libtool=no \
>         DEPDIR=.deps depmode=hp /bin/sh ../build-aux/depcomp \
>         cc  -I. -I../lib  -I../lib
> -I/home/install/gnu/hp700_hpux/include   -g -c dd.c
> cpp: "dd.c", line 281: error 4018: Macro param too large after
> substitution - use -H option.

It's saying that with its default settings, the post-cpp-expansion of
this code is too large:

    O_FULLBLOCK = ((MAX (O_APPEND,
                    MAX (O_BINARY,
                    MAX (O_CIO,
                    MAX (O_DIRECT,
                    MAX (O_DIRECTORY,
                    MAX (O_DSYNC,
                    MAX (O_NOATIME,
                    MAX (O_NOCTTY,
                    MAX (O_NOFOLLOW,
                    MAX (O_NOLINKS,
                    MAX (O_NONBLOCK,
                    MAX (O_SYNC,
                    MAX (O_TEXT, 0)))))))))))))) << 1)

If someone cares enough about HP's C compiler, they teach
autoconf to detect this limitation and automatically add an
appropriate -H option, presumably to raise its internal limit.

In the mean time, can you use gcc on that system?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]