all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Giorgos Keramidas <keramida@ceid.upatras.gr>
Cc: emacs-devel@gnu.org
Subject: Re: random crashing with bootstrap emacs (cvs) under solaris (SunOS 5.8)
Date: Fri, 17 Feb 2006 01:14:58 +0200	[thread overview]
Message-ID: <20060216231458.GA4014@flame.pc> (raw)
In-Reply-To: <1242f34a0602161508s77937fabv5ec79a50b5f04507@mail.gmail.com>

On 2006-02-17 10:08, Mark Aufflick <mark-emacs@aufflick.com> wrote:
>On 2/17/06, Giorgos Keramidas <keramida@ceid.upatras.gr> wrote:
>>
>> Are you using CFLAGS that include one of -fast or -xarch=FOO
>> where FOO enables 64-bit ELF binaries?
>>
>> I've been building cvs-emacs on Solaris 10 amd64 and sparc, but
>> only as a 32-bit binary and without -fast.  Enabling either -fast
>> (on any architecture) or -xarch={amd64,v9a} results in random
>> crashes here too.
>
> I'm using gcc, so it would be -mcpu=v9 to force a 64 bit compile. To
> check I did:
>
> $ find . -name 'Makefile' |xargs egrep 'v9|mcpu|xarch|v9|fast'
>
> which only matched a few lines relating to make bootfast.
>
> And sure enough:
>
> $ file emacs-22.0.50.1
> emacs-22.0.50.1:        ELF 32-bit MSB executable SPARC Version 1,
> dynamically linked, not stripped
>
> So that's not it. But it got me hoping!

I've been building without HAVE_POSIX_MEMALIGN too, since a while
back, until I track down why using posix_memalign() has problems
on FreeBSD/amd64.

Can you try running `./configure' as usual, and then manually
setting HAVE_POSIX_MEMALIGN to:

    /* #undef HAVE_POSIX_MEMALIGN */

in src/config.h before running ``make bootstrap''?

Stefan Monnier is probably the best person to track this down,
before I manage to learn enough about memory allocation in Emacs,
so if you find that disabling posix_memalign() fixes the build
for you, please let Stefan know (he's already a subscriber to the
list, so Cc:'ing him may be unnecessary).

- Giorgos

  reply	other threads:[~2006-02-16 23:14 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-16  3:37 random crashing with bootstrap emacs (cvs) under solaris (SunOS 5.8) Mark Aufflick
2006-02-16 13:22 ` Giorgos Keramidas
2006-02-16 23:08   ` Mark Aufflick
2006-02-16 23:14     ` Giorgos Keramidas [this message]
2006-02-17  0:52       ` Mark Aufflick
2006-02-17  0:55         ` Giorgos Keramidas
2006-02-17  7:14 ` Glenn Morris
2006-02-17  7:50   ` Mark Aufflick
2006-02-18  0:18     ` Glenn Morris
  -- strict thread matches above, loose matches on Subject: below --
2006-02-16  3:20 Mark Aufflick
2006-02-16 18:04 ` Richard M. Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060216231458.GA4014@flame.pc \
    --to=keramida@ceid.upatras.gr \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.