bug-gnulib
[Top][All Lists]
Advanced

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

Re: failure in building gnulib tests wih pcc on debian


From: Eric Blake
Subject: Re: failure in building gnulib tests wih pcc on debian
Date: Mon, 14 Nov 2011 07:17:59 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20110930 Thunderbird/7.0.1

[adding bug-gnulib]

On 11/13/2011 06:50 AM, Stefano Lattarini wrote:
> I don't know if it's of any interest, but I'm experiencing the following
> failure while trying to test grep on an unstable Debian using pcc
> (Portable C Compiler, version 1.1.0~DEVEL+20110422-1, installed from
> experimental packages):
> 
>   CC     test-float.o
>  ./stdio.h, line 24: warning: gcc pragma unsupported

That sounds like pcc is lying.  It is claiming to be gcc, then not
supporting gcc extensions.

Is there any easy way to identify pcc at compile time, such as a
preprocessor macro it sets differently than gcc?

>  ../lib/wchar.h, line 34: warning: gcc pragma unsupported
>  ../lib/sys/types.h, line 24: warning: gcc pragma unsupported
>  ../lib/time.h, line 24: warning: gcc pragma unsupported
>  ../lib/time.h, line 24: warning: gcc pragma unsupported
>  ./stdio.h, line 1031: warning: unsupported attribute '__warning__'
>  ../lib/stdlib.h, line 21: warning: gcc pragma unsupported
>  ../lib/sys/types.h, line 24: warning: gcc pragma unsupported
>  test-float.c, line 374: unknown structure/union/enum
>  make[4]: *** [test-float.o] Error 1

Warnings like this, and the error in test-float.c, mean that all other
packages using the same gnulib modules will have the same problem.  We
should fix it upstream in gnulib.

-- 
Eric Blake   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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