Can't Build texlive by gcc 14.0.0

h hm haoming9245 at outlook.com
Thu Jan 4 13:03:02 CET 2024


gcc -DHAVE_CONFIG_H -I.  -I./cairo-src/src -I/home/hhm/texlive-20230311-source/libs/pixman/include -DCAIRO_NO_MUTEX   -fvisibility=hidden  -g -O2 -MT cairo-src/src/cairo-line.o -MD -MP -MF $depbase.Tpo -c -o cairo-src/src/cairo-line.o cairo-src/src/cairo-line.c &&\
mv -f $depbase.Tpo $depbase.Po
In file included from cairo-src/src/cairo-fixed-private.h:42,
                 from cairo-src/src/cairoint.h:2109,
                 from cairo-src/src/cairo-image-source.c:45:
cairo-src/src/cairo-wideint-private.h:121:1: warning: 'visibility' attribute ignored [-Wattributes]
  121 | static cairo_always_inline cairo_int64_t I _cairo_double_to_int64 (double i) { return i; }
      | ^~~~~~
cairo-src/src/cairo-wideint-private.h:122:1: warning: 'visibility' attribute ignored [-Wattributes]
  122 | static cairo_always_inline double I _cairo_int64_to_double (cairo_int64_t i) { return i; }
      | ^~~~~~
In file included from cairo-src/src/cairo-reference-count-private.h:40,
                 from cairo-src/src/cairo-types-private.h:45,
                 from cairo-src/src/cairo-error-private.h:43,
                 from cairo-src/src/cairoint.h:74:
cairo-src/src/cairo-image-source.c: In function '_pixman_transparent_image':
cairo-src/src/cairo-image-source.c:89:40: error: passing argument 1 of '_cairo_atomic_ptr_cmpxchg_return_old_impl' from incompatible pointer type [-Wincompatible-pointer-types]
   89 |         if (_cairo_atomic_ptr_cmpxchg (&__pixman_transparent_image,
      |                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                        |
      |                                        pixman_image_t ** {aka union pixman_image **}
cairo-src/src/cairo-atomic-private.h:311:104: note: in definition of macro '_cairo_atomic_ptr_cmpxchg_return_old'
  311 | #define _cairo_atomic_ptr_cmpxchg_return_old(x, oldv, newv) _cairo_atomic_ptr_cmpxchg_return_old_impl (x, oldv, newv)
      |                                                                                                        ^
cairo-src/src/cairo-image-source.c:89:13: note: in expansion of macro '_cairo_atomic_ptr_cmpxchg'
   89 |         if (_cairo_atomic_ptr_cmpxchg (&__pixman_transparent_image,
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~
cairo-src/src/cairo-atomic-private.h:308:51: note: expected 'void **' but argument is of type 'pixman_image_t **' {aka
union pixman_image **'}
  308 | _cairo_atomic_ptr_cmpxchg_return_old_impl (void **x, void *oldv, void *newv);
      |                                            ~~~~~~~^
cairo-src/src/cairo-image-source.c: In function '_pixman_black_image':
cairo-src/src/cairo-image-source.c:121:40: error: passing argument 1 of '_cairo_atomic_ptr_cmpxchg_return_old_impl' from incompatible pointer type [-Wincompatible-pointer-types]
  121 |         if (_cairo_atomic_ptr_cmpxchg (&__pixman_black_image,
      |                                        ^~~~~~~~~~~~~~~~~~~~~
      |                                        |
      |                                        pixman_image_t ** {aka union pixman_image **}
cairo-src/src/cairo-atomic-private.h:311:104: note: in definition of macro '_cairo_atomic_ptr_cmpxchg_return_old'
  311 | #define _cairo_atomic_ptr_cmpxchg_return_old(x, oldv, newv) _cairo_atomic_ptr_cmpxchg_return_old_impl (x, oldv, newv)
      |                                                                                                        ^
cairo-src/src/cairo-image-source.c:121:13: note: in expansion of macro '_cairo_atomic_ptr_cmpxchg'
  121 |         if (_cairo_atomic_ptr_cmpxchg (&__pixman_black_image,
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~
cairo-src/src/cairo-atomic-private.h:308:51: note: expected 'void **' but argument is of type 'pixman_image_t **' {aka
union pixman_image **'}
  308 | _cairo_atomic_ptr_cmpxchg_return_old_impl (void **x, void *oldv, void *newv);
      |                                            ~~~~~~~^
cairo-src/src/cairo-image-source.c: In function '_pixman_white_image':
cairo-src/src/cairo-image-source.c:153:40: error: passing argument 1 of '_cairo_atomic_ptr_cmpxchg_return_old_impl' from incompatible pointer type [-Wincompatible-pointer-types]
  153 |         if (_cairo_atomic_ptr_cmpxchg (&__pixman_white_image,
      |                                        ^~~~~~~~~~~~~~~~~~~~~
      |                                        |
      |                                        pixman_image_t ** {aka union pixman_image **}
cairo-src/src/cairo-atomic-private.h:311:104: note: in definition of macro '_cairo_atomic_ptr_cmpxchg_return_old'
  311 | #define _cairo_atomic_ptr_cmpxchg_return_old(x, oldv, newv) _cairo_atomic_ptr_cmpxchg_return_old_impl (x, oldv, newv)
      |                                                                                                        ^
cairo-src/src/cairo-image-source.c:153:13: note: in expansion of macro '_cairo_atomic_ptr_cmpxchg'
  153 |         if (_cairo_atomic_ptr_cmpxchg (&__pixman_white_image,
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~
cairo-src/src/cairo-atomic-private.h:308:51: note: expected 'void **' but argument is of type 'pixman_image_t **' {aka
union pixman_image **'}
  308 | _cairo_atomic_ptr_cmpxchg_return_old_impl (void **x, void *oldv, void *newv);
      |                                            ~~~~~~~^
depbase=`echo cairo-src/src/cairo-lzw.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I.  -I./cairo-src/src -I/home/hhm/texlive-20230311-source/libs/pixman/include -DCAIRO_NO_MUTEX   -fvisibility=hidden  -g -O2 -MT cairo-src/src/cairo-lzw.o -MD -MP -MF $depbase.Tpo -c -o cairo-src/src/cairo-lzw.o cairo-src/src/cairo-lzw.c &&\
mv -f $depbase.Tpo $depbase.Po
In file included from cairo-src/src/cairo-fixed-private.h:42,
                 from cairo-src/src/cairoint.h:2109,
                 from cairo-src/src/cairo-image-surface.c:40:
cairo-src/src/cairo-wideint-private.h:121:1: warning: 'visibility' attribute ignored [-Wattributes]
  121 | static cairo_always_inline cairo_int64_t I _cairo_double_to_int64 (double i) { return i; }
      | ^~~~~~
cairo-src/src/cairo-wideint-private.h:122:1: warning: 'visibility' attribute ignored [-Wattributes]
  122 | static cairo_always_inline double I _cairo_int64_to_double (cairo_int64_t i) { return i; }
      | ^~~~~~
make[5]: *** [Makefile:1866: cairo-src/src/cairo-image-source.o] Error 1
make[5]: *** Waiting for unfinished jobs....
In file included from cairo-src/src/cairo-fixed-private.h:42,
                 from cairo-src/src/cairoint.h:2109,
                 from cairo-src/src/cairo-line.c:41:
cairo-src/src/cairo-wideint-private.h:121:1: warning: 'visibility' attribute ignored [-Wattributes]
  121 | static cairo_always_inline cairo_int64_t I _cairo_double_to_int64 (double i) { return i; }
      | ^~~~~~
cairo-src/src/cairo-wideint-private.h:122:1: warning: 'visibility' attribute ignored [-Wattributes]
  122 | static cairo_always_inline double I _cairo_int64_to_double (cairo_int64_t i) { return i; }
      | ^~~~~~
In file included from cairo-src/src/cairo-fixed-private.h:42,
                 from cairo-src/src/cairoint.h:2109,
                 from cairo-src/src/cairo-lzw.c:37:
cairo-src/src/cairo-wideint-private.h:121:1: warning: 'visibility' attribute ignored [-Wattributes]
  121 | static cairo_always_inline cairo_int64_t I _cairo_double_to_int64 (double i) { return i; }
      | ^~~~~~
cairo-src/src/cairo-wideint-private.h:122:1: warning: 'visibility' attribute ignored [-Wattributes]
  122 | static cairo_always_inline double I _cairo_int64_to_double (cairo_int64_t i) { return i; }
      | ^~~~~~
make[5]: Leaving directory '/home/hhm/texlive-20230311-source/libs/cairo'
make[4]: *** [Makefile:1902: all-recursive] Error 1
make[4]: Leaving directory '/home/hhm/texlive-20230311-source/libs/cairo'
make[3]: *** [Makefile:1192: all] Error 2
make[3]: Leaving directory '/home/hhm/texlive-20230311-source/libs/cairo'
make[2]: *** [Makefile:904: recurse] Error 1
make[2]: Leaving directory '/home/hhm/texlive-20230311-source/libs'
make[1]: *** [Makefile:475: all-recursive] Error 1
make[1]: Leaving directory '/home/hhm/texlive-20230311-source/libs'
make: *** [Makefile:571: all-recursive] Error 1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/tex-live/attachments/20240104/1d7a436c/attachment-0001.htm>


More information about the tex-live mailing list.