Re: Trouble building 2.49.60 beta on Fedora
Jerry James <[email protected]>
| Newsgroups | gmane.lisp.clisp.devel |
|---|---|
| Message-ID | <CAHCOHQmYSQc5MAzSPg1EY_=rrVN+V-sJiUzO+d3R4uWqn+2FQQ@mail.gmail.com> |
Thanks again, Bruno, for the patches. They don't apply cleanly to
either the 2.49.60 beta release or to current mercurial head, though.
What version of the code are those patches against?
Sadly, the patches have not improved the situation. The 32- and
64-bit x86 and 32-bit ARM builds still succeed, and all of the others
segfault now. I'm not sure if you can follow this link or not, but if
you can, build logs will be here for a few days:
https://koji.fedoraproject.org/koji/taskinfo?taskID=21412890
That build was against mercurial revision 820ad4b724cb, with the
following patches:
- A patch to fix the ARM build:
http://sourceforge.net/tracker/?func=detail&aid=3529615&group_id=1355&atid=301355
- A patch to fix configure detection of Berkeley DB:
http://sourceforge.net/tracker/?func=detail&aid=3572516&group_id=1355&atid=301355
- A patch to add definitions for ERFKILL and EHWPOISON, and to remove
the definition of cfree, which has been dropped from recent versions
of glibc (attached).
- The gdbm patch I sent with the initial email
- The ppc64 and aarch64 patches you have sent in this thread, adapted
to apply to the mercurial revision noted above.
Also, Fedora builds with -Werror=format-security, so I had to change
one line in the aarch64 patch. That patch modifies spvw_allocate.d
and in one place issues a warning. I had to change this line:
fprintf(stderr, GETTEXTL("Warning: "));
to:
fputs(GETTEXTL("Warning: "),stderr);
since the string is non-constant, and therefore triggers the format
security error.
I just noticed that we add these flags when building for ppc64/ppc64le:
-DNO_GENERATIONAL_GC -DNO_MULTIMAP_FILE -DNO_SINGLEMAP
That part of the spec file predates my involvement, so I don't know
why they are in there. Should we be using those flags?
Please let me know if there is anything I can do to help debug these
segfaults further. Regards,
--
Jerry James
http://www.jamezone.org/
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
clisp-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/clisp-devel
clisp-linux.patch
(text/x-patch, 971 B)
--- modules/bindings/glibc/linux.lisp.orig 2017-07-03 13:23:43.000000000 -0600 +++ modules/bindings/glibc/linux.lisp 2017-07-03 14:23:54.312602015 -0600 @@ -294,6 +294,8 @@ ;; for robust mutexes (def-c-const EOWNERDEAD (:documentation "Owner died")) ; 130 (def-c-const ENOTRECOVERABLE (:documentation "State not recoverable")) ; 131 +(def-c-const ERFKILL (:documentation "Operation not possible due to RF-kill")) ; 132 +(def-c-const EHWPOISON (:documentation "Memory page has hardware error")) ; 133 ; -------------------------- <bits/errno.h> ----------------------------------- @@ -649,7 +651,6 @@ (def-call-out calloc (:arguments (nmemb size_t) (size size_t)) (:return-type c-pointer)) (def-call-out free (:arguments (ptr c-pointer)) (:return-type nil)) -(def-call-out cfree (:arguments (ptr c-pointer)) (:return-type nil)) (def-call-out valloc (:arguments (size size_t)) (:return-type c-pointer)) (def-call-out abort (:arguments) (:return-type nil))