Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #1004559
| From | Helmut Grohne <helmut@subdivi.de> |
|---|---|
| Newsgroups | linux.debian.bugs.dist |
| Subject | Bug#956734: gnucobol FTCBFS: lots of AC_RUN_IFELSE |
| Date | 2020-04-14 22:40 +0200 |
| Message-ID | <zVAvE-eM-7@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
Source: gnucobol Version: 2.2-5 Tags: patch upstream User: debian-cross@lists.debian.org Usertags: ftcbfs gnucobol fails to cross build from source, because it uses AC_RUN_IFELSE a lot. Running a compiled program is what doesn't work during cross compilation, so the use of this macro needs to be minimized and the remaining uses need workarounds. In many occasions (checking macro existence, computing sizeof something, calculating integer values), one doesn't actually need AC_RUN_IFELSE (AC_COMPILE_IFELSE, AC_CHECK_SIZEOF, and AC_COMPUTE_INT may suffice). The attached patch replaced a large chunk of AC_RUN_IFELSE with alternatives that better support cross compilation. It doesn't make gnucobol cross buildable just yet. Please consider applying it and close this bug when doing so. Even partially applying the patch helps a little. You'll also notice that it poses a noticeable reduction in complexity. Helmut
Back to linux.debian.bugs.dist | Previous | Next — Next in thread | Find similar | Unroll thread
Bug#956734: gnucobol FTCBFS: lots of AC_RUN_IFELSE Helmut Grohne <helmut@subdivi.de> - 2020-04-14 22:40 +0200 Bug#956734: gnucobol FTCBFS: lots of AC_RUN_IFELSE Petter Reinholdtsen <pere@hungry.com> - 2020-04-21 09:40 +0200
csiph-web