Bruno Haible | 1 Sep 2010 10:34

Re: mmap on sparc64

Hi Sam,

Re: http://sourceforge.net/tracker/?func=detail&atid=101355&aid=3032296&group_id=1355

> -O0 -DSAFETY=3 has the same problem.

OK, then the next step to get around
  Cannot map memory to address 0x4000000000000 .
  [../src/spvw_mmap.d:347] errno = EINVAL: Invalid argument.
or
  Cannot map memory to address 0x333333756000 .
  [../src/spvw_mmap.d:347] errno = EINVAL: Invalid argument.
is to determine which addresses are possible.

===================================== test-mmap.c =============================
#include <sys/types.h>
#include <sys/mman.h>
#include <unistd.h>
#include <stdio.h>
void try (void* address) {
  if (mmap (address, 8192, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE | MAP_FIXED, -1, 0) == (void*)(-1))
    printf ("%p failed\n", address);
  else
    printf ("%p succeeded\n", address);
}
int main () {
  try((void*)0x100000000L);
  try((void*)0x200000000L);
  try((void*)0x400000000L);
  try((void*)0x800000000L);
(Continue reading)

clisp-cvs-request | 1 Sep 2010 14:05
Picon

clisp-cvs Digest, Vol 53, Issue 1

Send clisp-cvs mailing list submissions to
	clisp-cvs <at> lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
	https://lists.sourceforge.net/lists/listinfo/clisp-cvs
or, via email, send a message with subject or body 'help' to
	clisp-cvs-request <at> lists.sourceforge.net

You can reach the person managing the list at
	clisp-cvs-owner <at> lists.sourceforge.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of clisp-cvs digest..."

CLISP CVS commits for today

Today's Topics:

   1. clisp/src ChangeLog,1.7496,1.7497 compiler.lisp,1.359,1.360
      (Sam Steingold)
   2. clisp/src ChangeLog,1.7497,1.7498 init.lisp,1.297,1.298
      (Sam Steingold)
   3. clisp/tests ChangeLog,1.664,1.665 path.tst,1.90,1.91
      (Sam Steingold)

----------------------------------------------------------------------

Message: 1
Date: Tue, 31 Aug 2010 18:02:03 +0000
From: Sam Steingold <sds <at> users.sourceforge.net>
(Continue reading)

Sam Steingold | 1 Sep 2010 16:07
Picon

Re: mmap on sparc64

Hi Bruno,

On 9/1/10, Bruno Haible <bruno <at> clisp.org> wrote:
>
>  Re: http://sourceforge.net/tracker/?func=detail&atid=101355&aid=3032296&group_id=1355
>
>  OK, then the next step to get around
>   Cannot map memory to address 0x4000000000000 .
>   [../src/spvw_mmap.d:347] errno = EINVAL: Invalid argument.
>  or
>   Cannot map memory to address 0x333333756000 .
>   [../src/spvw_mmap.d:347] errno = EINVAL: Invalid argument.
>  is to determine which addresses are possible.
>
>  ===================================== test-mmap.c
>  What does it print?

$ gcc -m64 test-mmap.c -o test-mmap.exe
$ ./test-mmap.exe
0x100000000 succeeded
0x200000000 succeeded
0x400000000 succeeded
0x800000000 succeeded
0x1000000000 succeeded
0x2000000000 succeeded
0x4000000000 succeeded
0x8000000000 succeeded
0x10000000000 succeeded
0x20000000000 succeeded
0x40000000000 succeeded
(Continue reading)

SourceForge.net | 1 Sep 2010 19:11
Picon
Favicon

[ clisp-Bugs-3032296 ] 64-bit build on sparc64/linux fails

Bugs item #3032296, was opened at 2010-07-20 17:49
Message generated for change (Comment added) made by sds
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=101355&aid=3032296&group_id=1355

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: memory management
Group: build problems
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Sam Steingold (sds)
Assigned to: Bruno Haible (haible)
Summary: 64-bit build on sparc64/linux fails

Initial Comment:
libsigsegv 2.8 and libffcall are built with "gcc -m64" successfully.
machine: gcc62 (http://gcc.gnu.org/wiki/CompileFarm)
clisp configures and compiles fine, but cannot map memory:

./lisp.run -B . -N locale -E UTF-8 -Epathname 1:1 -Emisc 1:1 -norc -m 2MW -lp ../src/ -x '(and (load
"../src/init.lisp") (sys::%saveinitmem) (ext::exit)) (ext::exit t)'
Cannot map memory to address 0x4000000000000 .
[../src/spvw_mmap.d:347] errno = EINVAL: Invalid argument.
./lisp.run: Not enough memory for Lisp.
make: *** [interpreted.mem] Error 1

(Continue reading)

clisp-cvs-request | 1 Sep 2010 22:26
Picon

clisp-cvs Digest, Vol 53, Issue 2

Send clisp-cvs mailing list submissions to
	clisp-cvs <at> lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
	https://lists.sourceforge.net/lists/listinfo/clisp-cvs
or, via email, send a message with subject or body 'help' to
	clisp-cvs-request <at> lists.sourceforge.net

You can reach the person managing the list at
	clisp-cvs-owner <at> lists.sourceforge.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of clisp-cvs digest..."


CLISP CVS commits for today

Today's Topics:

   1. clisp/src/gllib string.in.h, 1.7, 1.8 sys_time.in.h, 1.5,	1.6
      unistd.in.h, 1.18, 1.19 (Sam Steingold)
   2. clisp/src/glm4 codeset.m4, 1.3, 1.4 fcntl-o.m4, 1.2, 1.3
      gettext.m4,	1.5, 1.6 iconv.m4, 1.7, 1.8 include_next.m4, 1.8, 1.9
      intdiv0.m4,	1.4, 1.5 intl.m4, 1.4, 1.5 intlmacosx.m4, 1.4, 1.5
      intmax.m4,	1.3, 1.4 inttypes-pri.m4, 1.3, 1.4 inttypes_h.m4, 1.3,
      1.4 lcmessage.m4, 1.3, 1.4 lib-link.m4, 1.13, 1.14 lock.m4, 1.6,
      1.7 mbrtowc.m4, 1.5, 1.6 mbsrtowcs.m4, 1.3, 1.4 printf-posix.m4,
      1.5, 1.6 size_max.m4, 1.4, 1.5 stdbool.m4, 1.3, 1.4 stdint_h.m4,
      1.3, 1.4 threadlib.m4, 1.5, 1.6 visibility.m4, 1.4,	1.5
      wchar_t.m4, 1.3, 1.4 wint_t.m4, 1.4, 1.5 (Sam Steingold)
(Continue reading)

clisp-cvs-request | 1 Sep 2010 22:27
Picon

clisp-cvs Digest, Vol 53, Issue 3

Send clisp-cvs mailing list submissions to
	clisp-cvs <at> lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
	https://lists.sourceforge.net/lists/listinfo/clisp-cvs
or, via email, send a message with subject or body 'help' to
	clisp-cvs-request <at> lists.sourceforge.net

You can reach the person managing the list at
	clisp-cvs-owner <at> lists.sourceforge.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of clisp-cvs digest..."

CLISP CVS commits for today

Today's Topics:

   1. clisp/modules/regexp/gllib Makefile.am, 1.13, 1.14 malloc.c,
      1.2,	1.3 stdlib.in.h, 1.7, 1.8 unistd.in.h, 1.11, 1.12 (Sam Steingold)
   2. clisp/modules/syscalls/gllib unistd.in.h,1.11,1.12 (Sam Steingold)
   3. clisp/modules/regexp/glm4 btowc.m4, 1.3, 1.4 codeset.m4, 1.2,
      1.3 gnulib-comp.m4, 1.8, 1.9 malloc.m4, 1.2, 1.3 mbrtowc.m4, 1.3,
      1.4 ssize_t.m4, 1.2, 1.3 stdlib_h.m4, 1.6, 1.7 wchar_t.m4, 1.2,
      1.3 wcrtomb.m4, 1.3, 1.4 (Sam Steingold)
   4. clisp/modules/syscalls/glm4 socklen.m4, NONE, 1.1
      gnulib-comp.m4, 1.8,	1.9 mbrlen.m4, 1.2, 1.3 wchar_t.m4, 1.2, 1.3
      (Sam Steingold)
   5. clisp/src ChangeLog,1.7498,1.7499 (Sam Steingold)

(Continue reading)

clisp-cvs-request | 1 Sep 2010 22:34
Picon

clisp-cvs Digest, Vol 53, Issue 4

Send clisp-cvs mailing list submissions to
	clisp-cvs <at> lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
	https://lists.sourceforge.net/lists/listinfo/clisp-cvs
or, via email, send a message with subject or body 'help' to
	clisp-cvs-request <at> lists.sourceforge.net

You can reach the person managing the list at
	clisp-cvs-owner <at> lists.sourceforge.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of clisp-cvs digest..."

CLISP CVS commits for today

Today's Topics:

   1. clisp/modules/syscalls config.h.in,1.77,1.78
      configure,1.112,1.113 (Sam Steingold)
   2. clisp/modules/regexp/gllib Makefile.in,1.18,1.19 (Sam Steingold)
   3. clisp/src aclocal.m4,1.91,1.92 configure,1.272,1.273
      (Sam Steingold)

----------------------------------------------------------------------

Message: 1
Date: Wed, 01 Sep 2010 20:34:12 +0000
From: Sam Steingold <sds <at> users.sourceforge.net>
Subject: clisp/modules/syscalls config.h.in,1.77,1.78
(Continue reading)

clisp-cvs-request | 1 Sep 2010 22:48
Picon

clisp-cvs Digest, Vol 53, Issue 5

Send clisp-cvs mailing list submissions to
	clisp-cvs <at> lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
	https://lists.sourceforge.net/lists/listinfo/clisp-cvs
or, via email, send a message with subject or body 'help' to
	clisp-cvs-request <at> lists.sourceforge.net

You can reach the person managing the list at
	clisp-cvs-owner <at> lists.sourceforge.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of clisp-cvs digest..."

CLISP CVS commits for today

Today's Topics:

   1. clisp/modules/regexp config.h.in,1.28,1.29
      configure,1.75,1.76 (Sam Steingold)
   2. clisp/modules/syscalls/glm4 gnulib-cache.m4,1.6,1.7
      (Sam Steingold)
   3. clisp Makefile.devel,1.274,1.275 (Sam Steingold)
   4. clisp/modules/wildcard/gllib Makefile.am,1.6,1.7 (Sam Steingold)
   5. clisp/modules/syscalls/gllib Makefile.am,1.14,1.15 (Sam Steingold)
   6. clisp/modules/wildcard/glm4 gnulib-cache.m4,1.5,1.6
      (Sam Steingold)
   7. clisp/src/m4 general.m4,1.36,1.37 (Sam Steingold)
   8. clisp/src/gllib Makefile.am,1.29,1.30 (Sam Steingold)

(Continue reading)

clisp-cvs-request | 1 Sep 2010 22:51
Picon

clisp-cvs Digest, Vol 53, Issue 5

Send clisp-cvs mailing list submissions to
	clisp-cvs <at> lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
	https://lists.sourceforge.net/lists/listinfo/clisp-cvs
or, via email, send a message with subject or body 'help' to
	clisp-cvs-request <at> lists.sourceforge.net

You can reach the person managing the list at
	clisp-cvs-owner <at> lists.sourceforge.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of clisp-cvs digest..."

CLISP CVS commits for today

Today's Topics:

   1. clisp/src ChangeLog, 1.7499, 1.7500 configure.in, 1.184,
      1.185 makemake.in, 1.939, 1.940 (Sam Steingold)
   2. clisp/modules/regexp/glm4 gnulib-cache.m4,1.6,1.7 (Sam Steingold)
   3. clisp/src/glm4 host-cpu-c-abi.m4, NONE, 1.1 gnulib-cache.m4,
      1.19,	1.20 gnulib-comp.m4, 1.23, 1.24 (Sam Steingold)
   4. clisp/modules/regexp/gllib Makefile.am,1.14,1.15 (Sam Steingold)
   5. clisp/src/gllib Makefile.in,1.36,1.37 (Sam Steingold)
   6. clisp/modules/syscalls/gllib Makefile.in,1.19,1.20 (Sam Steingold)
   7. clisp/modules/regexp/gllib Makefile.in,1.19,1.20 (Sam Steingold)
   8. clisp/modules/wildcard/gllib Makefile.in,1.13,1.14 (Sam Steingold)

----------------------------------------------------------------------
(Continue reading)

clisp-cvs-request | 2 Sep 2010 00:21
Picon

clisp-cvs Digest, Vol 53, Issue 6

Send clisp-cvs mailing list submissions to
	clisp-cvs <at> lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
	https://lists.sourceforge.net/lists/listinfo/clisp-cvs
or, via email, send a message with subject or body 'help' to
	clisp-cvs-request <at> lists.sourceforge.net

You can reach the person managing the list at
	clisp-cvs-owner <at> lists.sourceforge.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of clisp-cvs digest..."

CLISP CVS commits for today

Today's Topics:

   1. clisp/src configure, 1.273, 1.274 config.h.in, 1.40, 1.41
      aclocal.m4,	1.92, 1.93 (Sam Steingold)
   2. clisp/modules/wildcard/glm4 gnulib-cache.m4,1.6,1.7
      (Sam Steingold)
   3. clisp/modules/syscalls/glm4 gnulib-cache.m4, 1.7, 1.8
      gnulib-comp.m4,	1.9, 1.10 sockets.m4, 1.3, NONE socklen.m4, 1.1,
      NONE (Sam Steingold)

----------------------------------------------------------------------

Message: 1
Date: Wed, 01 Sep 2010 20:51:31 +0000
(Continue reading)


Gmane