* Cannot build 64-bit binary on Solaris 10 (x86_64)
@ 2006-01-19 4:47 NAKAJI Hiroyuki
0 siblings, 0 replies; only message in thread
From: NAKAJI Hiroyuki @ 2006-01-19 4:47 UTC (permalink / raw)
I have a Dual Opteron PC on which Solaris 10 (x86) is running. I
tried CVS Emacs on this platform-os. I used Sun Studio 11 compiler.
32-bit emacs is buildable and works fine. I can write bug report with
it.
The problem is that 64-bit emacs cannot be built on amd64.
I ran the following shell script to build emacs. Other softwares are
installed using NetBSD's pkgsrc.
#!/bin/bash
export LANG=C
export PATH=/usr/bin:$PATH
export CC="cc -xarch=amd64"
export CFLAGS="-g -I/usr/pkg/include"
export CPPFLAGS="-I/usr/pkg/include"
export LDFLAGS="-L/usr/pkg/lib -R/usr/pkg/lib"
test -f Makefile && gmake distclean
/usr/pkg/bin/cvs -q update -dP
./configure --without-gcc --without-xim || exit 2
gmake bootstrap && sudo gmake install
At bootstrap, temacs dumps core. I only checked 'where'.
$ dbx temacs core
For information about new features see `help changes'
To remove this message, put `dbxenv suppress_startup_message 7.5' in your .dbxrc
Reading temacs
core file header read successfully
Reading ld.so.1
Reading libXaw.so.5
Reading libXmu.so.4
Reading libXt.so.4
Reading libSM.so.6
Reading libICE.so.6
Reading libXext.so.0
Reading libtiff.so.3.7.4
Reading libjpeg.so.62.0.0
Reading libpng.so.3.0.2
Reading libz.so.1.0.2
Reading libm.so.2
Reading libungif.so.4.1.3
Reading libXpm.so.4.11
Reading libX11.so.4
Reading libsocket.so.1
Reading libnsl.so.1
Reading libkstat.so.1
Reading libkvm.so.1
Reading libelf.so.1
Reading libcurses.so.1
Reading libc.so.1
program terminated by signal SEGV (no mapping at the fault address)
0xfffffd7ffec67b14: _sbrk+0x0004: pushq %rbx
Current function is __default_morecore
1588 result = (__ptr_t) __sbrk (increment);
(dbx) where
[1] _sbrk(0x0, 0x2, 0x0, 0xfffffd7ffec7d21a, 0x7d6600, 0x7), at 0xfffffd7ffec6
7b14
=>[2] __default_morecore(increment = 0), line 1588 in "gmalloc.c"
[3] _free_internal(ptr = 0xd65000), line 1070 in "gmalloc.c"
[4] free(ptr = 0xd65000), line 1235 in "gmalloc.c"
[5] emacs_blocked_free(ptr = 0xd65000, ptr2 = 0x2), line 1182 in "alloc.c"
[6] free(ptr = 0xd65000), line 1233 in "gmalloc.c"
[7] lisp_align_malloc(nbytes = 1008U, type = MEM_TYPE_CONS), line 1031 in "all
oc.c"
[8] Fcons(car = 0, cdr = 0), line 2687 in "alloc.c"
[9] wrong_type_argument(predicate = 0, value = 0), line 124 in "data.c"
[10] Fget(symbol = 0, propname = 0), line 2054 in "fns.c"
[11] Fsignal(error_symbol = 0, data = 0), line 1622 in "eval.c"
[12] memory_full(), line 3399 in "alloc.c"
[13] lisp_align_malloc(nbytes = 1008U, type = MEM_TYPE_CONS), line 1033 in "al
loc.c"
[14] Fcons(car = 0, cdr = 0), line 2687 in "alloc.c"
[15] wrong_type_argument(predicate = 0, value = 0), line 124 in "data.c"
[16] Fget(symbol = 0, propname = 0), line 2054 in "fns.c"
[17] Fsignal(error_symbol = 0, data = 0), line 1622 in "eval.c"
[18] memory_full(), line 3399 in "alloc.c"
[19] lisp_align_malloc(nbytes = 1008U, type = MEM_TYPE_CONS), line 1033 in "al
loc.c"
[20] Fcons(car = 0, cdr = 0), line 2687 in "alloc.c"
[21] wrong_type_argument(predicate = 0, value = 0), line 124 in "data.c"
[22] Fget(symbol = 0, propname = 0), line 2054 in "fns.c"
[23] Fsignal(error_symbol = 0, data = 0), line 1622 in "eval.c"
[24] memory_full(), line 3399 in "alloc.c"
[25] lisp_align_malloc(nbytes = 1008U, type = MEM_TYPE_CONS), line 1033 in "al
loc.c"
[26] Fcons(car = 0, cdr = 0), line 2687 in "alloc.c"
[27] wrong_type_argument(predicate = 0, value = 0), line 124 in "data.c"
[28] Fget(symbol = 0, propname = 0), line 2054 in "fns.c"
[29] Fsignal(error_symbol = 0, data = 0), line 1622 in "eval.c"
[30] memory_full(), line 3399 in "alloc.c"
[31] lisp_align_malloc(nbytes = 1008U, type = MEM_TYPE_CONS), line 1033 in "al
loc.c"
[32] Fcons(car = 0, cdr = 0), line 2687 in "alloc.c"
[33] wrong_type_argument(predicate = 0, value = 0), line 124 in "data.c"
[34] Fget(symbol = 0, propname = 0), line 2054 in "fns.c"
[35] Fsignal(error_symbol = 0, data = 0), line 1622 in "eval.c"
[36] memory_full(), line 3399 in "alloc.c"
[37] lisp_align_malloc(nbytes = 1008U, type = MEM_TYPE_CONS), line 1033 in "al
loc.c"
[38] Fcons(car = 0, cdr = 0), line 2687 in "alloc.c"
[39] wrong_type_argument(predicate = 0, value = 0), line 124 in "data.c"
[40] Fget(symbol = 0, propname = 0), line 2054 in "fns.c"
[41] Fsignal(error_symbol = 0, data = 0), line 1622 in "eval.c"
[42] memory_full(), line 3399 in "alloc.c"
[43] lisp_align_malloc(nbytes = 1008U, type = MEM_TYPE_CONS), line 1033 in "alloc.c"
[44] Fcons(car = 0, cdr = 0), line 2687 in "alloc.c"
[45] wrong_type_argument(predicate = 0, value = 0), line 124 in "data.c"
[46] Fget(symbol = 0, propname = 0), line 2054 in "fns.c"
[47] Fsignal(error_symbol = 0, data = 0), line 1622 in "eval.c"
[48] memory_full(), line 3399 in "alloc.c"
[49] lisp_align_malloc(nbytes = 1008U, type = MEM_TYPE_CONS), line 1033 in "alloc.c"
[50] Fcons(car = 0, cdr = 0), line 2687 in "alloc.c"
[51] wrong_type_argument(predicate = 0, value = 0), line 124 in "data.c"
[52] Fget(symbol = 0, propname = 0), line 2054 in "fns.c"
[53] Fsignal(error_symbol = 0, data = 0), line 1622 in "eval.c"
[54] memory_full(), line 3399 in "alloc.c"
[55] lisp_align_malloc(nbytes = 1008U, type = MEM_TYPE_CONS), line 1033 in "alloc.c"
[56] Fcons(car = 0, cdr = 0), line 2687 in "alloc.c"
[57] wrong_type_argument(predicate = 0, value = 0), line 124 in "data.c"
[58] Fget(symbol = 0, propname = 0), line 2054 in "fns.c"
[59] Fsignal(error_symbol = 0, data = 0), line 1622 in "eval.c"
[60] memory_full(), line 3399 in "alloc.c"
[61] lisp_align_malloc(nbytes = 1008U, type = MEM_TYPE_CONS), line 1033 in "alloc.c"
[62] Fcons(car = 0, cdr = 0), line 2687 in "alloc.c"
[63] wrong_type_argument(predicate = 0, value = 0), line 124 in "data.c"
[64] Fget(symbol = 0, propname = 0), line 2054 in "fns.c"
[65] Fsignal(error_symbol = 0, data = 0), line 1622 in "eval.c"
[66] memory_full(), line 3399 in "alloc.c"
[67] lisp_align_malloc(nbytes = 1008U, type = MEM_TYPE_CONS), line 1033 in "alloc.c"
[68] Fcons(car = 0, cdr = 0), line 2687 in "alloc.c"
[69] wrong_type_argument(predicate = 0, value = 0), line 124 in "data.c"
[70] Fget(symbol = 0, propname = 0), line 2054 in "fns.c"
[71] Fsignal(error_symbol = 0, data = 0), line 1622 in "eval.c"
[72] memory_full(), line 3399 in "alloc.c"
[73] lisp_align_malloc(nbytes = 1008U, type = MEM_TYPE_CONS), line 1033 in "alloc.c"
[74] Fcons(car = 0, cdr = 0), line 2687 in "alloc.c"
[75] wrong_type_argument(predicate = 0, value = 0), line 124 in "data.c"
[76] Fget(symbol = 0, propname = 0), line 2054 in "fns.c"
[77] Fsignal(error_symbol = 0, data = 0), line 1622 in "eval.c"
[78] memory_full(), line 3399 in "alloc.c"
[79] lisp_align_malloc(nbytes = 1008U, type = MEM_TYPE_CONS), line 1033 in "alloc.c"
[80] Fcons(car = 0, cdr = 0), line 2687 in "alloc.c"
[81] wrong_type_argument(predicate = 0, value = 0), line 124 in "data.c"
[82] Fget(symbol = 0, propname = 0), line 2054 in "fns.c"
[83] Fsignal(error_symbol = 0, data = 0), line 1622 in "eval.c"
[84] memory_full(), line 3399 in "alloc.c"
[85] lisp_align_malloc(nbytes = 1008U, type = MEM_TYPE_CONS), line 1033 in "alloc.c"
[86] Fcons(car = 0, cdr = 0), line 2687 in "alloc.c"
[87] wrong_type_argument(predicate = 0, value = 0), line 124 in "data.c"
[88] Fget(symbol = 0, propname = 0), line 2054 in "fns.c"
[89] Fsignal(error_symbol = 0, data = 0), line 1622 in "eval.c"
[90] memory_full(), line 3399 in "alloc.c"
[91] lisp_align_malloc(nbytes = 1008U, type = MEM_TYPE_CONS), line 1033 in "alloc.c"
[92] Fcons(car = 0, cdr = 0), line 2687 in "alloc.c"
[93] wrong_type_argument(predicate = 0, value = 0), line 124 in "data.c"
[94] Fget(symbol = 0, propname = 0), line 2054 in "fns.c"
[95] Fsignal(error_symbol = 0, data = 0), line 1622 in "eval.c"
[96] memory_full(), line 3399 in "alloc.c"
[97] lisp_align_malloc(nbytes = 1008U, type = MEM_TYPE_CONS), line 1033 in "alloc.c"
[98] Fcons(car = 0, cdr = 0), line 2687 in "alloc.c"
[99] wrong_type_argument(predicate = 0, value = 0), line 124 in "data.c"
[100] Fget(symbol = 0, propname = 0), line 2054 in "fns.c"
(dbx) quit
Thanks in advance.
--
NAKAJI Hiroyuki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-01-19 4:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-19 4:47 Cannot build 64-bit binary on Solaris 10 (x86_64) NAKAJI Hiroyuki
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).