pixman fails to compile with gcc 14

Changqing Li changqing.li at windriver.com
Wed Jul 3 01:48:48 UTC 2024


Hi, Dear maintainers

I  met an  issue similar to issue [1]. With gcc 14,  pixman compile 
failed with following error,  but it only reproduce when -Og is used,  
it will success with -O2:
pixman-0.42.2/pixman/pixman-combine-float.c:370:5: error: inlining 
failed in call to 'always_inline' 'combine_soft_light_c': function not 
considered for inlining
   370 |     combine_ ## name ## _c (float sa, float s, float da, float 
d)       \
       |     ^~~~~~~~
../pixman-0.42.2/pixman/pixman-combine-float.c:655:1: note: in expansion 
of macro 'MAKE_SEPARABLE_PDF_COMBINERS'

I also open a bug for gcc: 
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115679

And I want to  ask will pixman make a workaround like issue [1] for gcc14?

Refer:
[1] https://bugs.freedesktop.org/show_bug.cgi?id=55630 
<https://bugs.freedesktop.org/show_bug.cgi?id=55630>

Thanks,
Changqing
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pixman/attachments/20240703/e81bade9/attachment.htm>


More information about the Pixman mailing list