unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* 2.9.5 build segfault on Ubuntu 18.04 [WAS: Nyacc and guile-nearly-3.0 (progress report)]
       [not found]   ` <94784430-a9ad-bb11-f481-ef2426a6dfca@gmail.com>
@ 2019-12-03  1:09     ` Matt Wette
  2019-12-03  9:15       ` tomas
  2019-12-03 16:43       ` tomas
  0 siblings, 2 replies; 4+ 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] 4+ 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  9:15       ` tomas
  2019-12-03 12:04         ` tomas
  2019-12-03 16:43       ` tomas
  1 sibling, 1 reply; 4+ messages in thread
From: tomas @ 2019-12-03  9:15 UTC (permalink / raw)
  To: guile-devel

[-- Attachment #1: Type: text/plain, Size: 555 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):

[...]

> 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?

Thanks -- I seem to be stuck at an earlier point, see my other
post; but once I get past that, your hint will surely be helpful.

Cheers & thanks
-- tomás

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 4+ 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  9:15       ` tomas
@ 2019-12-03 12:04         ` tomas
  0 siblings, 0 replies; 4+ messages in thread
From: tomas @ 2019-12-03 12:04 UTC (permalink / raw)
  To: guile-devel

[-- Attachment #1: Type: text/plain, Size: 948 bytes --]

On Tue, Dec 03, 2019 at 10:15:35AM +0100, tomas@tuxteam.de wrote:
> 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):
> 
> [...]
> 
> > 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?
> 
> Thanks -- I seem to be stuck at an earlier point, see my other
> post; but once I get past that, your hint will surely be helpful.

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.

Thanks so far -- and looking forward to playing nyacc :-)

Cheers
-- tomás

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 4+ 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  9:15       ` tomas
@ 2019-12-03 16:43       ` tomas
  1 sibling, 0 replies; 4+ 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] 4+ messages in thread

end of thread, other threads:[~2019-12-03 16:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20191202094041.GA10353@tuxteam.de>
     [not found] ` <20191202125507.GA14913@tuxteam.de>
     [not found]   ` <94784430-a9ad-bb11-f481-ef2426a6dfca@gmail.com>
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  9:15       ` tomas
2019-12-03 12:04         ` tomas
2019-12-03 16:43       ` 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).