unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: Neil Jerram <neil@ossau.uklinux.net>
Cc: guile-user@gnu.org
Subject: Re: Compile issues for 1.8.0 on Solaris 10
Date: Tue, 06 Jun 2006 22:37:20 +0100	[thread overview]
Message-ID: <87lksage3z.fsf@ossau.uklinux.net> (raw)
In-Reply-To: <20060606140141.GC19964@daumier.unixrealm.com> (Charles Gagnon's message of "Tue, 6 Jun 2006 10:01:41 -0400")

Charles Gagnon <charlesg@unixrealm.com> writes:

> Those are compile issues but not really deve issues. Maybe just a
> few things to fix in the configure.in scripts.
>
> I got guile-1.8.0 to compile on my Solaris 10 box with gcc 3.4.3 but
> I had to fix a few things first:
>
> 1. I had to replace the "-pthread" option in all the Makefile with
>    "-pthreads". I think this is just a Linux vs Solaris thing, one
>    gcc uses pthread and the other pthreads. -pthread reports invalid
>    option.

Thanks.  This seems to be an issue in our ACX_PTHREAD definition (in
acinclude.m4), which has been fixed in the latest version on
http://autoconf-archive.cryp.to, so I'll update our acinclude.m4 to
use the latest version.

> 2. per BIll Schottstaet (reported for 1.7.91), I changed filesys.c
>    around line 860 cause I was getting an error in function
>    scm_readdir:
>
>    I changed filesys.c line 860 (or thereabouts) from:
>
>     union {
>       struct dirent ent;
>       char pad1 [sizeof(struct dirent) + NAME_MAX];
>       char pad2 [offsetof (struct dirent, d_name) + NAME_MAX + 1];
>     } u;
>     SCM_SYSCALL (readdir_r ((DIR *) SCM_CELL_WORD_1 (port), &u.ent, &rdent));
>
>     to:
>
>     struct dirent ent;
>     SCM_SYSCALL (readdir_r ((DIR *) SCM_CELL_WORD_1 (port), &ent));

This code has since changed in CVS (both HEAD and the 1.8.x branch),
so I think that means this problem has been fixed and will be OK in
the next 1.8.x release.

> 3.  I also removed -Werror from libguile/Makefile cause I was getting:
>
>     In file included from eval.c:5969:
>     eval.c: In function `deval':
>     eval.c:3248: warning: implicit declaration of function `alloca'
>     make[2]: *** [libguile_la-eval.lo] Error 1
>     make[2]: Leaving directory `/home/bil/test/guile-1.7.91/libguile'
>     make[1]: *** [all-recursive] Error 1

Where is alloca() declared in Solaris 10?  Is it in <malloc.h>?  If it
is, we already have the fix for this in place, so it will be in the
next release.

> Thanks.

Many thanks for your report.

     Neil



_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user


  reply	other threads:[~2006-06-06 21:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-06 14:01 Compile issues for 1.8.0 on Solaris 10 Charles Gagnon
2006-06-06 21:37 ` Neil Jerram [this message]
2006-06-07 12:30   ` Charles Gagnon
2006-06-07 18:10     ` Neil Jerram
2006-06-06 23:26 ` Kevin Ryde

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

  List information: https://www.gnu.org/software/guile/

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

  git send-email \
    --in-reply-to=87lksage3z.fsf@ossau.uklinux.net \
    --to=neil@ossau.uklinux.net \
    --cc=guile-user@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.
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).