* Nyacc and guile-nearly-3.0 @ 2019-12-02 9:40 tomas 2019-12-02 12:55 ` Nyacc and guile-nearly-3.0 (progress report) tomas 2019-12-04 19:12 ` Nyacc and guile-nearly-3.0 Amirouche Boubekki 0 siblings, 2 replies; 15+ messages in thread From: tomas @ 2019-12-02 9:40 UTC (permalink / raw) To: guile-user [-- Attachment #1: Type: text/plain, Size: 290 bytes --] Hi, to anyone "in the know": is it worth to give nyacc a spin under Guile nearly-3.0 (i.e. >= 2.9.5)? I know the "configure" precludes that, but it's fairly obvious how to jump that fence. Is it a total loss of time -- or worth a try? Thanks for any insight, cheers -- tomás [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 198 bytes --] ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Nyacc and guile-nearly-3.0 (progress report) 2019-12-02 9:40 Nyacc and guile-nearly-3.0 tomas @ 2019-12-02 12:55 ` tomas 2019-12-02 14:28 ` Matt Wette 2019-12-04 19:12 ` Nyacc and guile-nearly-3.0 Amirouche Boubekki 1 sibling, 1 reply; 15+ messages in thread From: tomas @ 2019-12-02 12:55 UTC (permalink / raw) To: guile-user [-- Attachment #1: Type: text/plain, Size: 968 bytes --] On Mon, Dec 02, 2019 at 10:40:41AM +0100, tomas@tuxteam.de wrote: > Hi, > > to anyone "in the know": is it worth to give nyacc a spin under > Guile nearly-3.0 (i.e. >= 2.9.5)? Well, I tried, this is a small progress report. First munged _guile_versions_to_search in nyacc's configure script to contain 2.9.5 (that's what my guile --version says). Configure bails out with: configure: error: found development files for Guile 2.9.5, but /usr/local/bin/guile has effective version 3.0 (FWIW, there's an /usr/local/lib/pkgconfig/guile-3.0.pc). Now setting _guile_versions_to_search in said script bails out with checking for Guile version >= 3.0... configure: error: Guile 3.0 required, but 2.9.5 found So it seems my Guile is schizophrenic: under some aspect it reports 3.0 ("effective" version), under some aspect it's 2.9.5 (--version version, to put some name on it). I haven't given up yet, though :-) Cheers & thanks -- tomás [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 198 bytes --] ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Nyacc and guile-nearly-3.0 (progress report) 2019-12-02 12:55 ` Nyacc and guile-nearly-3.0 (progress report) tomas @ 2019-12-02 14:28 ` Matt Wette 2019-12-02 21:30 ` tomas ` (2 more replies) 0 siblings, 3 replies; 15+ messages in thread From: Matt Wette @ 2019-12-02 14:28 UTC (permalink / raw) To: guile-user Look at etc/README. Maybe edit etc/configure.ac and rerun as in the README. I'm building 2.9.5 now but running into errors (ubuntu 18.04): /bin/bash: line 6: 14657 Segmentation fault (core dumped) GUILE_AUTO_COMPILE=0 ../meta/build-env guild compile --target="x86_64-pc-linux-gnu" -O1 -Oresolve-primitives -L "/home/mwette/proj/guile/guile-2.9.5/module" -L "/home/mwette/proj/guile/guile-2.9.5/guile-readline" -o "system/vm/linker.go" "../module/system/vm/linker.scm" On 12/2/19 4:55 AM, tomas@tuxteam.de wrote: > On Mon, Dec 02, 2019 at 10:40:41AM +0100, tomas@tuxteam.de wrote: >> Hi, >> >> to anyone "in the know": is it worth to give nyacc a spin under >> Guile nearly-3.0 (i.e. >= 2.9.5)? > Well, I tried, this is a small progress report. First munged > _guile_versions_to_search in nyacc's configure script to contain > 2.9.5 (that's what my guile --version says). Configure bails > out with: > > configure: error: found development files for Guile 2.9.5, but /usr/local/bin/guile has effective version 3.0 > > (FWIW, there's an /usr/local/lib/pkgconfig/guile-3.0.pc). Now > setting _guile_versions_to_search in said script bails out with > > checking for Guile version >= 3.0... configure: error: Guile 3.0 required, but 2.9.5 found > > So it seems my Guile is schizophrenic: under some aspect it > reports 3.0 ("effective" version), under some aspect it's > 2.9.5 (--version version, to put some name on it). > > I haven't given up yet, though :-) > > Cheers & thanks > -- tomás ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Nyacc and guile-nearly-3.0 (progress report) 2019-12-02 14:28 ` Matt Wette @ 2019-12-02 21:30 ` tomas 2019-12-03 9:25 ` Arne Babenhauserheide 2019-12-02 21:45 ` tomas 2019-12-03 1:09 ` 2.9.5 build segfault on Ubuntu 18.04 [WAS: Nyacc and guile-nearly-3.0 (progress report)] Matt Wette 2 siblings, 1 reply; 15+ messages in thread From: tomas @ 2019-12-02 21:30 UTC (permalink / raw) To: Matt Wette; +Cc: guile-user [-- Attachment #1: Type: text/plain, Size: 394 bytes --] On Mon, Dec 02, 2019 at 06:28:53AM -0800, Matt Wette wrote: > Look at etc/README. Maybe edit etc/configure.ac and rerun as in the README. > > I'm building 2.9.5 now but running into errors (ubuntu 18.04): > /bin/bash: line 6: 14657 Segmentation fault (core dumped) Ouch. A segmentation fault in bash :-o Let's see what happens here... Thanks again, cheers -- tomás [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 198 bytes --] ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Nyacc and guile-nearly-3.0 (progress report) 2019-12-02 21:30 ` tomas @ 2019-12-03 9:25 ` Arne Babenhauserheide 2019-12-03 13:33 ` Matt Wette 0 siblings, 1 reply; 15+ messages in thread From: Arne Babenhauserheide @ 2019-12-03 9:25 UTC (permalink / raw) To: guile-user; +Cc: Matt Wette [-- Attachment #1: Type: text/plain, Size: 685 bytes --] tomas@tuxteam.de writes: > On Mon, Dec 02, 2019 at 06:28:53AM -0800, Matt Wette wrote: >> Look at etc/README. Maybe edit etc/configure.ac and rerun as in the README. >> >> I'm building 2.9.5 now but running into errors (ubuntu 18.04): >> /bin/bash: line 6: 14657 Segmentation fault (core dumped) > > Ouch. A segmentation fault in bash :-o Do you know when your bash was compiled? I started getting such errors with externally compiled binaries about two months ago and have been unable to resolve that so far. (i.e. the Firefox compiled for Ubuntu does not work anymore) Best wishes, Arne -- Unpolitisch sein heißt politisch sein ohne es zu merken [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 1076 bytes --] ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Nyacc and guile-nearly-3.0 (progress report) 2019-12-03 9:25 ` Arne Babenhauserheide @ 2019-12-03 13:33 ` Matt Wette 2019-12-03 16:44 ` tomas 0 siblings, 1 reply; 15+ messages in thread From: Matt Wette @ 2019-12-03 13:33 UTC (permalink / raw) To: guile-user The segfault is not in bash. I was able to re-create the segfault from the (bash) command-line. On 12/3/19 1:25 AM, Arne Babenhauserheide wrote: > tomas@tuxteam.de writes: > >> On Mon, Dec 02, 2019 at 06:28:53AM -0800, Matt Wette wrote: >>> Look at etc/README. Maybe edit etc/configure.ac and rerun as in the README. >>> >>> I'm building 2.9.5 now but running into errors (ubuntu 18.04): >>> /bin/bash: line 6: 14657 Segmentation fault (core dumped) >> Ouch. A segmentation fault in bash :-o > Do you know when your bash was compiled? I started getting such errors > with externally compiled binaries about two months ago and have been > unable to resolve that so far. > > (i.e. the Firefox compiled for Ubuntu does not work anymore) > > Best wishes, > Arne ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Nyacc and guile-nearly-3.0 (progress report) 2019-12-03 13:33 ` Matt Wette @ 2019-12-03 16:44 ` tomas 0 siblings, 0 replies; 15+ messages in thread From: tomas @ 2019-12-03 16:44 UTC (permalink / raw) To: Matt Wette; +Cc: guile-user [-- Attachment #1: Type: text/plain, Size: 203 bytes --] On Tue, Dec 03, 2019 at 05:33:20AM -0800, Matt Wette wrote: > The segfault is not in bash. I was able to re-create the segfault > from the (bash) command-line. Got it, thanks :-) Cheers -- t [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 198 bytes --] ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Nyacc and guile-nearly-3.0 (progress report) 2019-12-02 14:28 ` Matt Wette 2019-12-02 21:30 ` tomas @ 2019-12-02 21:45 ` tomas 2019-12-03 9:31 ` tomas 2019-12-03 1:09 ` 2.9.5 build segfault on Ubuntu 18.04 [WAS: Nyacc and guile-nearly-3.0 (progress report)] Matt Wette 2 siblings, 1 reply; 15+ messages in thread From: tomas @ 2019-12-02 21:45 UTC (permalink / raw) To: guile-user [-- Attachment #1: Type: text/plain, Size: 2054 bytes --] On Mon, Dec 02, 2019 at 06:28:53AM -0800, Matt Wette wrote: > Look at etc/README. Maybe edit etc/configure.ac and rerun as in the README. Hm. Same confusion. Adding 3.0 to GUILE_PKG, like so: GUILE_PKG([3.0 2.2 2.0]) yields, at configure time: tomas@trotzki:~/src/guile/nyacc$ ./configure checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes configure: checking for guile 3.0 configure: found guile 3.0 checking for guile... /usr/local/bin/guile checking for Guile version >= 3.0... configure: error: Guile 3.0 required, but 2.9.5 found Inserting 2.9.5 in configure.ac's GUILE_PKG, like so: GUILE_PKG([2.9.5 2.2 2.0]) yields, again at configure time: tomas@trotzki:~/src/guile/nyacc$ ./configure checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes configure: checking for guile 3.0 configure: found guile 3.0 checking for guile... /usr/local/bin/guile checking for Guile version >= 3.0... configure: error: Guile 3.0 required, but 2.9.5 found tomas@trotzki:~/src/guile/nyacc$ ( cd etc && autoconf -o ../configure ) tomas@trotzki:~/src/guile/nyacc$ ./configure checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes configure: checking for guile 2.9.5 configure: found guile 2.9.5 checking for guile... /usr/local/bin/guile configure: error: found development files for Guile 2.9.5, but /usr/local/bin/guile has effective version 3.0 It seems I've got a schizophrenic Guile. It somehow reports an "effective version" 3.0 (the pkg config file in /usr/local/lib is a guile-3.0.pc, actually), but if you ask guile itself, it reports 2.9.5. I don't exactly know where configure has this "effective version" from, but I dimly remember Andy mumbling about setting Guile's effective version to 3.0, since 2.9.5 is already a pre-3. Hmmm. I'll try to poke at it some more tomorrow... Cheers & thanks -- tomás [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 198 bytes --] ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Nyacc and guile-nearly-3.0 (progress report) 2019-12-02 21:45 ` tomas @ 2019-12-03 9:31 ` tomas 0 siblings, 0 replies; 15+ messages in thread From: tomas @ 2019-12-03 9:31 UTC (permalink / raw) To: guile-user [-- Attachment #1: Type: text/plain, Size: 1950 bytes --] On Mon, Dec 02, 2019 at 10:45:23PM +0100, tomas@tuxteam.de wrote: > On Mon, Dec 02, 2019 at 06:28:53AM -0800, Matt Wette wrote: > > Look at etc/README. Maybe edit etc/configure.ac and rerun as in the README. > > Hm. Same confusion. Adding 3.0 to GUILE_PKG, like so: > > GUILE_PKG([3.0 2.2 2.0]) > > yields, at configure time: [...] > checking for Guile version >= 3.0... configure: error: Guile 3.0 required, but 2.9.5 found > > Inserting 2.9.5 in configure.ac's GUILE_PKG, like so: > > GUILE_PKG([2.9.5 2.2 2.0]) > > yields, again at configure time: [...] > configure: error: found development files for Guile 2.9.5, but /usr/local/bin/guile has effective version 3.0 To complement that, here what "my" Guile says: tomas@trotzki:~$ guile GNU Guile 2.9.5 Copyright (C) 1995-2019 Free Software Foundation, Inc. Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'. This program is free software, and you are welcome to redistribute it under certain conditions; type `,show c' for details. Enter `,help' for help. scheme@(guile-user)> (version) $1 = "2.9.5" scheme@(guile-user)> (effective-version) $2 = "3.0" scheme@(guile-user)> (major-version) $3 = "2" scheme@(guile-user)> (minor-version) $4 = "9" scheme@(guile-user)> (micro-version) $5 = "5" This is compiled off git, specifically: a12e862be (HEAD -> master, tag: v2.9.5, origin/master, origin/HEAD) GNU Guile 2.9.5. Not very surprising, so far. Version is 2.9.5, "effective version" is 3.0. As seen from my corner of reality, nyacc's configury can't cope with the fact that Guile's version and effective version are different. Now on your side, Mark, configury seems to get past that point (and you run into "real" stuff, like the new shiny Guile compiler doing "too much" at compile time -- that kind of issues one might expect). Cheers -- tomás [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 198 bytes --] ^ permalink raw reply [flat|nested] 15+ messages in thread
* 2.9.5 build segfault on Ubuntu 18.04 [WAS: Nyacc and guile-nearly-3.0 (progress report)] 2019-12-02 14:28 ` Matt Wette 2019-12-02 21:30 ` tomas 2019-12-02 21:45 ` tomas @ 2019-12-03 1:09 ` Matt Wette 2019-12-03 16:43 ` tomas 2 siblings, 1 reply; 15+ messages in thread From: Matt Wette @ 2019-12-03 1:09 UTC (permalink / raw) To: guile-user, guile-devel On 12/2/19 6:28 AM, Matt Wette wrote: > I'm building 2.9.5 now but running into errors (ubuntu 18.04): > /bin/bash: line 6: 14657 Segmentation fault (core dumped) > GUILE_AUTO_COMPILE=0 ../meta/build-env guild compile > --target="x86_64-pc-linux-gnu" -O1 -Oresolve-primitives -L > "/home/mwette/proj/guile/guile-2.9.5/module" -L > "/home/mwette/proj/guile/guile-2.9.5/guile-readline" -o > "system/vm/linker.go" "../module/system/vm/linker.scm" So, as a random check, I first verified that I could reproduce the above error at the command line. I did. Then I removed "-Oresolve-primitives" and it compiled without error. Any help? Matt ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: 2.9.5 build segfault on Ubuntu 18.04 [WAS: Nyacc and guile-nearly-3.0 (progress report)] 2019-12-03 1:09 ` 2.9.5 build segfault on Ubuntu 18.04 [WAS: Nyacc and guile-nearly-3.0 (progress report)] Matt Wette @ 2019-12-03 16:43 ` tomas 0 siblings, 0 replies; 15+ messages in thread From: tomas @ 2019-12-03 16:43 UTC (permalink / raw) To: Matt Wette; +Cc: guile-user, guile-devel [-- Attachment #1: Type: text/plain, Size: 1412 bytes --] On Mon, Dec 02, 2019 at 05:09:42PM -0800, Matt Wette wrote: > > On 12/2/19 6:28 AM, Matt Wette wrote: > >I'm building 2.9.5 now but running into errors (ubuntu 18.04): > >/bin/bash: line 6: 14657 Segmentation fault (core dumped) > >GUILE_AUTO_COMPILE=0 ../meta/build-env guild compile > >--target="x86_64-pc-linux-gnu" -O1 -Oresolve-primitives -L > >"/home/mwette/proj/guile/guile-2.9.5/module" -L > >"/home/mwette/proj/guile/guile-2.9.5/guile-readline" -o > >"system/vm/linker.go" "../module/system/vm/linker.scm" > So, as a random check, I first verified that I could reproduce the > above error at the command line. I did. > > Then I removed "-Oresolve-primitives" and it compiled without > error. Any help? OK -- compiles successfully now. I realize in hindsight that my answers sometimes went (only) to guile-devel, so I re-quote that one where I "solved" configury: > OK, solved this one -- will try to follow up with the rest. > > I just had to set GUILE_PROGS in etc/configure.ac besides GUILE_PKG, > like so: > > GUILE_PKG([3.0]) > GUILE_PROGS([2.9.5]) > > Configure now does "something". Next steps later. So far, so good. Now it compiles "cleanly" (but there's no -Oresolve-primitives option in sight in all of the compile; no idea why). A cursory test (with the example from the man page) shows signs of life. Yay! Thanks -- tomás [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 198 bytes --] ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Nyacc and guile-nearly-3.0 2019-12-02 9:40 Nyacc and guile-nearly-3.0 tomas 2019-12-02 12:55 ` Nyacc and guile-nearly-3.0 (progress report) tomas @ 2019-12-04 19:12 ` Amirouche Boubekki 2019-12-04 21:04 ` tomas 1 sibling, 1 reply; 15+ messages in thread From: Amirouche Boubekki @ 2019-12-04 19:12 UTC (permalink / raw) To: tomas; +Cc: Guile User Le lun. 2 déc. 2019 à 10:40, <tomas@tuxteam.de> a écrit : > Hi, > > to anyone "in the know": is it worth to give nyacc a spin under > Guile nearly-3.0 (i.e. >= 2.9.5)? > > I know the "configure" precludes that, but it's fairly obvious > how to jump that fence. Is it a total loss of time -- or worth > a try? > > Thanks for any insight, cheers > -- tomás > IIRC nyacc is part of guix mes bootstrap tooling, so it is a requirement to bootstrap guix with guile 2.9+ -- Amirouche ~ https://hyper.dev ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Nyacc and guile-nearly-3.0 2019-12-04 19:12 ` Nyacc and guile-nearly-3.0 Amirouche Boubekki @ 2019-12-04 21:04 ` tomas 2019-12-05 0:48 ` Matt Wette 0 siblings, 1 reply; 15+ messages in thread From: tomas @ 2019-12-04 21:04 UTC (permalink / raw) To: Amirouche Boubekki; +Cc: Guile User [-- Attachment #1: Type: text/plain, Size: 776 bytes --] On Wed, Dec 04, 2019 at 08:12:44PM +0100, Amirouche Boubekki wrote: > Le lun. 2 déc. 2019 à 10:40, <tomas@tuxteam.de> a écrit : > > > Hi, > > > > to anyone "in the know": is it worth to give nyacc a spin under > > Guile nearly-3.0 (i.e. >= 2.9.5)? [...] It's working for me now. It was mostly "driver error", but since the thread went a bit out of control and got partially split between here and guile-devel@, I restate. Setting GUILE_PKG([3.0]) GUILE_PROGS([2.9.5]) in etc/configure.ac (and invoking autoconf -o ../configure, as stated in /etc/README) did the trick for me. Matt says that he had to remove "-Oresolve-primitives" from the compiler options. I hadn't -- but I suspect this option isn't set by default... Cheers -- tomás [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 198 bytes --] ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Nyacc and guile-nearly-3.0 2019-12-04 21:04 ` tomas @ 2019-12-05 0:48 ` Matt Wette 2019-12-05 8:28 ` tomas 0 siblings, 1 reply; 15+ messages in thread From: Matt Wette @ 2019-12-05 0:48 UTC (permalink / raw) To: guile-user On 12/4/19 1:04 PM, tomas@tuxteam.de wrote: > > Matt says that he had to remove "-Oresolve-primitives" from the compiler > options. I hadn't -- but I suspect this option isn't set by default... > I apologize if I generated confusion. I was intending to build 2.9.5 to help debug the nyacc issue. The segfault I ran into was in building guile-2.9.5. It is uncorrelated with the nyacc issue. Matt ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Nyacc and guile-nearly-3.0 2019-12-05 0:48 ` Matt Wette @ 2019-12-05 8:28 ` tomas 0 siblings, 0 replies; 15+ messages in thread From: tomas @ 2019-12-05 8:28 UTC (permalink / raw) To: Matt Wette; +Cc: guile-user [-- Attachment #1: Type: text/plain, Size: 633 bytes --] On Wed, Dec 04, 2019 at 04:48:33PM -0800, Matt Wette wrote: > > > On 12/4/19 1:04 PM, tomas@tuxteam.de wrote: > > > >Matt says that he had to remove "-Oresolve-primitives" from the compiler > >options. I hadn't -- but I suspect this option isn't set by default... > > > I apologize if I generated confusion. I was intending to build > 2.9.5 to help debug the nyacc issue. d'oh :-) > The segfault I ran into was in building guile-2.9.5. It is > uncorrelated with the nyacc issue. Now everything is clear. Thanks, Mark. And thanks also for setting me on the right path. And for nyacc... Cheers -- tomás [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 198 bytes --] ^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~2019-12-05 8:28 UTC | newest] Thread overview: 15+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2019-12-02 9:40 Nyacc and guile-nearly-3.0 tomas 2019-12-02 12:55 ` Nyacc and guile-nearly-3.0 (progress report) tomas 2019-12-02 14:28 ` Matt Wette 2019-12-02 21:30 ` tomas 2019-12-03 9:25 ` Arne Babenhauserheide 2019-12-03 13:33 ` Matt Wette 2019-12-03 16:44 ` tomas 2019-12-02 21:45 ` tomas 2019-12-03 9:31 ` tomas 2019-12-03 1:09 ` 2.9.5 build segfault on Ubuntu 18.04 [WAS: Nyacc and guile-nearly-3.0 (progress report)] Matt Wette 2019-12-03 16:43 ` tomas 2019-12-04 19:12 ` Nyacc and guile-nearly-3.0 Amirouche Boubekki 2019-12-04 21:04 ` tomas 2019-12-05 0:48 ` Matt Wette 2019-12-05 8:28 ` tomas
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).