emacs-devel
[Top][All Lists]
Advanced

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

Re: Build failure in gettimeofday


From: martin rudalics
Subject: Re: Build failure in gettimeofday
Date: Wed, 16 Sep 2020 10:21:56 +0200

> Please try the latest master, I tried
> to fix this.

Thank you.  A -O0 -g3 build succeeds now but a -O3 build currently
fails thusly:

In file included from ../../src/emacs.c:68:0:
../../src/bignum.h:25:17: fatal error: gmp.h: No such file or directory
 #include <gmp.h>
                 ^
compilation terminated.
make[1]: *** [emacs.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/c/emacs-git/trunk/opt/src'
make: *** [src] Error 2

My -O0 builds have, for historically reasons, also

-Wno-logical-op --Wno-missing-braces

and

--enable-checking=yes --enable-gcc-warnings=warn-only 
--enable-check-lisp-object-type=warn-only

but I doubt that these can be relevant.  Any clues?  A couple of
warnings from the -O0 build just in case they could hint at anything.

  CC       menu.o
../../src/xdisp.c: In function 'move_it_in_display_line_to':
../../src/xdisp.c:9557:10: warning: unknown conversion type character 't' in 
format [-Wformat=]
          IT_CHARPOS (*it));
          ^
../../src/xdisp.c:9557:10: warning: too many arguments for format 
[-Wformat-extra-args]
../../src/xdisp.c: In function 'move_it_to':
../../src/xdisp.c:9925:8: warning: unknown conversion type character 't' in 
format [-Wformat=]
        move_trace ("move_it: from %td\n", IT_CHARPOS (*it));
        ^
../../src/xdisp.c:9925:8: warning: too many arguments for format 
[-Wformat-extra-args]
../../src/xdisp.c:9928:8: warning: unknown conversion type character 't' in 
format [-Wformat=]
        move_trace ("move_it: to %td\n", IT_CHARPOS (*it));
        ^
../../src/xdisp.c:9928:8: warning: too many arguments for format 
[-Wformat-extra-args]
../../src/xdisp.c: In function 'move_it_vertically':
../../src/xdisp.c:10321:7: warning: unknown conversion type character 't' in 
format [-Wformat=]
       move_trace ("move_it_v: from %td, %d\n", IT_CHARPOS (*it), dy);
       ^
../../src/xdisp.c:10321:7: warning: too many arguments for format 
[-Wformat-extra-args]
../../src/xdisp.c:10324:7: warning: unknown conversion type character 't' in 
format [-Wformat=]
       move_trace ("move_it_v: to %td\n", IT_CHARPOS (*it));
       ^
../../src/xdisp.c:10324:7: warning: too many arguments for format 
[-Wformat-extra-args]

  CC       pdumper.o
../../src/pdumper.c: In function 'dump_queue_dequeue':
../../src/pdumper.c:1221:6: warning: unknown conversion type character 't' in 
format [-Wformat=]
      XHASH_TABLE (dump_queue->link_weights)->count);
      ^
../../src/pdumper.c:1221:6: warning: too many arguments for format 
[-Wformat-extra-args]
  CC       data.o
  CC       doc.o
../../src/data.c: In function 'bignum_arith_driver':
../../src/data.c:2821:9: warning: assignment from incompatible pointer type 
[enabled by default]
   accum = &mpz[0];
         ^
../../src/data.c:2843:13: warning: assignment from incompatible pointer type 
[enabled by default]
       accum = &mpz[0];
             ^
../../src/data.c: In function 'Flogcount':
../../src/data.c:3157:11: warning: assignment from incompatible pointer type 
[enabled by default]
    nonneg = &mpz[0];
           ^
  CC       editfns.o
  CC       callint.o
  CC       eval.o
  CC       floatfns.o
../../src/floatfns.c: In function 'rescale_for_division':
../../src/floatfns.c:374:10: warning: assignment from incompatible pointer type 
[enabled by default]
       pn = t;
          ^
../../src/floatfns.c:382:10: warning: assignment from incompatible pointer type 
[enabled by default]
       pn = t;
          ^

  CC       atimer.o
../../src/timefns.c: In function 'frac_to_double':
../../src/timefns.c:622:9: warning: assignment from incompatible pointer type 
[enabled by default]
       d = &mpz[1];
         ^
../../src/timefns.c:630:9: warning: assignment from incompatible pointer type 
[enabled by default]
       n = &mpz[0];
         ^
../../src/timefns.c: In function 'lisp_to_timespec':
../../src/timefns.c:923:21: warning: initialization from incompatible pointer 
type [enabled by default]
   mpz_t const *qt = q;
                     ^
../../src/timefns.c: In function 'time_arith':
../../src/timefns.c:1151:10: warning: assignment from incompatible pointer type 
[enabled by default]
    hzmin = hzmin1;
          ^
../../src/timefns.c: In function 'time_cmp':
../../src/timefns.c:1265:10: warning: assignment from incompatible pointer type 
[enabled by default]
       za = &mpz[0];
          ^
../../src/timefns.c:1266:10: warning: assignment from incompatible pointer type 
[enabled by default]
       zb = &mpz[1];
          ^

Thanks again, martin



reply via email to

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