On Tue, Jan 22, 2013 at 11:08 AM, Dennis Clarke <dcla...@blastwave.org> wrote:
>
>> On Mon, Jan 21, 2013 at 12:53:24 -0500, Dennis Clarke wrote:
>>
>> > So the problem, at the moment, is the source me thinks.
>> >
>> Try again.
>
> aster $ diff  ./font/util/bdftruncate.c_backup ./font/util/bdftruncate.c
> 170c170
> <                       if (line_len > SSIZE_MAX) {
> ---
>>                       if (line_len > LONG_MAX ) {
>
> That progresses neatly and then blows up moments later with :
>
> make  all-recursive
> make[1]: Entering directory `/home/dclarke/xorg/font/util'
> Making all in man
> make[2]: Entering directory `/home/dclarke/xorg/font/util/man'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory `/home/dclarke/xorg/font/util/man'
> make[2]: Entering directory `/home/dclarke/xorg/font/util'
>   CC     bdftruncate.o
>   CCLD   bdftruncate
>   CC     ucs2any.o
> ucs2any.c: In function 'zstrdup':
> ucs2any.c:103: warning: implicit declaration of function 'strdup'
> ucs2any.c:103: warning: nested extern declaration of 'strdup'
> ucs2any.c:103: error: assignment makes pointer from integer without a cast
> ucs2any.c: In function 'usage':
> ucs2any.c:444: error: string length '913' is greater than the length '509' 
> ISO C90 compilers are required to support
> make[2]: *** [ucs2any.o] Error 1
> make[2]: Leaving directory `/home/dclarke/xorg/font/util'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/dclarke/xorg/font/util'
> make: *** [all] Error 2
> build.sh: "make " failed on font/util
> build.sh: error processing module/component:  "font/util"
> aster $
>
> Hrmmm .. I guess these CFLAGS are not going to work :
>
> aster $ echo $CFLAGS
> -m64 -g -malign-double -std=iso9899:199409 -pedantic-errors -mno-mmx -mno-sse 
> -fexceptions -fpic -fvisibility=default -mtune=opteron -march=opteron 
> -m128bit-long-double -mpc80 -Wl,-rpath=/usr/local/lib:/usr/local/gcc4/lib64 
> -Wl,-q
> aster $
>

So you are using insane C flags and you want us to debug them? try
dropping -pedantic-errors, and maybe -std=

Dave.
_______________________________________________
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.x.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com

Reply via email to