Re: Fedora/f35 compile error

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

 



On Wed, Mar 03, 2021 at 09:07:48AM -0500, Carol Bouchard wrote:
> I'm seeing the following compile error in my product which I'm not seeing
> with earlier versions of Fedora.
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> *make[4]: Entering directory
> '/builddir/build/BUILD/restraint-0.3.2/third-party/m4-1.4.18/lib'  CC
> gl_avltree_oset.o  CC       binary-io.o  CC       c-ctype.o  CC
> c-stack.oIn file included from /usr/include/signal.h:315,
>  from ./signal.h:52,                 from c-stack.c:49:c-stack.c:55:26:
> error: missing binary operator before token "("   55 | #elif
> HAVE_LIBSIGSEGV && SIGSTKSZ < 16384      |
>  ^~~~~~~~*
> 
> In earlier fedora versions, SIGSTKSZ is a numeric value. In rawhide, I'm
> seeing
> the following in file /usr/include/bits/sigstksz.h.
> 
> 
> */* Default stack size for a signal handler: sysconf (SC_SIGSTKSZ).  */#
> undef SIGSTKSZ# define SIGSTKSZ sysconf (_SC_SIGSTKSZ)*
> 
> This looks like an issue to be addressed in Fedora and not by applying a
> patch.  Please advise.

The glibc change was intentionale and unavoidable per this previous
thread:

  https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx/thread/BR5DU2NSKRZAJHEUWOI4H6ZIQQNVAXAR/#JAEAW2T2YSEIRSB62ESBDLL62OBUSLXU

So you'll need to patch the application so that it doesn't make an
assumption that SIGSTKSZ evaluates to a static constant.

Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux