Re: [AOLSERVER] 64bit crashes right away

2007-09-13 Thread John Buckman

On Sep 12, 2007, at 9:47 PM, Tom Jackson wrote:

Below is my  configure and lib information.
On Wednesday 12 September 2007 07:42, Dossy Shiobara wrote:

On 2007.09.12, John Buckman [EMAIL PROTECTED] wrote:

[EMAIL PROTECTED]:~#  /lib/libc.so.6

What about /lib64/libc.so.6?
And, what's ldd nsd say you're actually linked to?


Here is mine:

The nsconfig.tcl built one:

[EMAIL PROTECTED]:/usr/local/aolserver.bak# bin/nsd -h
Segmentation fault
[EMAIL PROTECTED]:/usr/local/aolserver.bak# ldd bin/nsd
libnsd.so = /usr/local/aolserver/lib/libnsd.so  
(0x2b2ccebf9000)
libnsthread.so = /usr/local/aolserver/lib/libnsthread.so  
(0x2b2ccee81000)
libtcl8.4.so = /usr/local/aolserver/lib/libtcl8.4.so  
(0x2b2ccf08c000)

libdl.so.2 = /lib/libdl.so.2 (0x2b2ccf354000)
libpthread.so.0 = /lib/libpthread.so.0 (0x2b2ccf559000)
libm.so.6 = /lib/libm.so.6 (0x2b2ccf774000)
libgcc_s.so.1 = /lib/libgcc_s.so.1 (0x2b2ccf9f6000)
libc.so.6 = /lib/libc.so.6 (0x2b2ccfc05000)
/lib64/ld-linux-x86-64.so.2 (0x2b2cce9dc000)
[EMAIL PROTECTED]:/usr/local/aolserver.bak#

and the working-but-sticks-on-large-pages from Tom's ./configure hack:

[EMAIL PROTECTED]:/usr/local/aolserver# ldd bin/nsd
libnsd.so = /usr/local/aol3/lib/libnsd.so (0x2b8ce3b39000)
libnsthread.so = /usr/local/aol3/lib/libnsthread.so  
(0x2b8ce3dc1000)
libtcl8.4.so = /usr/local/aol3/lib/libtcl8.4.so  
(0x2b8ce3fcc000)

libdl.so.2 = /lib/libdl.so.2 (0x2b8ce4294000)
libpthread.so.0 = /lib/libpthread.so.0 (0x2b8ce4499000)
libm.so.6 = /lib/libm.so.6 (0x2b8ce46b4000)
libgcc_s.so.1 = /lib/libgcc_s.so.1 (0x2b8ce4936000)
libc.so.6 = /lib/libc.so.6 (0x2b8ce4b45000)
/lib64/ld-linux-x86-64.so.2 (0x2b8ce391c000)

appears identical to me.


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to [EMAIL PROTECTED] 
with the
body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: 
field of your email blank.


Re: [AOLSERVER] 64bit crashes right away

2007-09-12 Thread Tom Jackson
Below is my  configure and lib information.

On Wednesday 12 September 2007 07:42, Dossy Shiobara wrote:
 On 2007.09.12, John Buckman [EMAIL PROTECTED] wrote:
  [EMAIL PROTECTED]:~#  /lib/libc.so.6

 What about /lib64/libc.so.6?

 And, what's ldd nsd say you're actually linked to?

tcl:
./configure --prefix=/web/nsd45 \
  --enable-64bit \
  --enable-threads \
  --enable-shared

aolserver:
./configure --prefix=/web/nsd45 \
  --with-tcl=/web/nsd45/lib \
  --enable-threads \
  --enable-shared \
  --enable-debug \
  --enable-symbols

ldd -v nsd
libnsd.so = /web/nsd45/lib/libnsd.so (0x2b06b680d000)
libnsthread.so = /web/nsd45/lib/libnsthread.so (0x2b06b698f000)
libtcl8.4.so = /web/nsd45/lib/libtcl8.4.so (0x2b06b6a9a000)
libtk8.4.so = /web/nsd45/lib/libtk8.4.so (0x2b06b6c5f000)
libdl.so.2 = /lib/libdl.so.2 (0x2b06b6e93000)
libpthread.so.0 = /lib/libpthread.so.0 (0x2b06b6f97000)
libm.so.6 = /lib/libm.so.6 (0x2b06b70b1000)
libgcc_s.so.1 = /lib/libgcc_s.so.1 (0x2b06b7207000)
libc.so.6 = /lib/libc.so.6 (0x2b06b7314000)
libX11.so.6 = /usr/lib64/libX11.so.6 (0x2b06b754e000)
/lib64/ld-linux-x86-64.so.2 (0x2b06b66f1000)
libXau.so.6 = /usr/lib/libXau.so.6 (0x2b06b775a000)
libXdmcp.so.6 = /usr/lib/libXdmcp.so.6 (0x2b06b785c000)

Version information:
./nsd:
libc.so.6 (GLIBC_2.2.5) = /lib/libc.so.6
/web/nsd45/lib/libnsd.so:
libdl.so.2 (GLIBC_2.2.5) = /lib/libdl.so.2
libpthread.so.0 (GLIBC_2.2.5) = /lib/libpthread.so.0
libc.so.6 (GLIBC_2.3) = /lib/libc.so.6
libc.so.6 (GLIBC_2.2.5) = /lib/libc.so.6
/web/nsd45/lib/libnsthread.so:
libc.so.6 (GLIBC_2.2.5) = /lib/libc.so.6
libpthread.so.0 (GLIBC_2.3.2) = /lib/libpthread.so.0
libpthread.so.0 (GLIBC_2.2.5) = /lib/libpthread.so.0
/web/nsd45/lib/libtcl8.4.so:
libdl.so.2 (GLIBC_2.2.5) = /lib/libdl.so.2
libm.so.6 (GLIBC_2.2.5) = /lib/libm.so.6
libc.so.6 (GLIBC_2.3) = /lib/libc.so.6
libc.so.6 (GLIBC_2.2.5) = /lib/libc.so.6
libpthread.so.0 (GLIBC_2.3.2) = /lib/libpthread.so.0
libpthread.so.0 (GLIBC_2.2.5) = /lib/libpthread.so.0
/web/nsd45/lib/libtk8.4.so:
libm.so.6 (GLIBC_2.2.5) = /lib/libm.so.6
libc.so.6 (GLIBC_2.3) = /lib/libc.so.6
libc.so.6 (GLIBC_2.2.5) = /lib/libc.so.6
/lib/libdl.so.2:
libc.so.6 (GLIBC_2.2.5) = /lib/libc.so.6
libc.so.6 (GLIBC_PRIVATE) = /lib/libc.so.6
ld-linux-x86-64.so.2 (GLIBC_PRIVATE) 
= /lib64/ld-linux-x86-64.so.2
/lib/libpthread.so.0:
ld-linux-x86-64.so.2 (GLIBC_2.3) 
= /lib64/ld-linux-x86-64.so.2
ld-linux-x86-64.so.2 (GLIBC_2.2.5) 
= /lib64/ld-linux-x86-64.so.2
ld-linux-x86-64.so.2 (GLIBC_PRIVATE) 
= /lib64/ld-linux-x86-64.so.2
libc.so.6 (GLIBC_2.3.2) = /lib/libc.so.6
libc.so.6 (GLIBC_PRIVATE) = /lib/libc.so.6
libc.so.6 (GLIBC_2.2.5) = /lib/libc.so.6
/lib/libm.so.6:
libc.so.6 (GLIBC_2.2.5) = /lib/libc.so.6
/lib/libgcc_s.so.1:
libc.so.6 (GLIBC_2.2.5) = /lib/libc.so.6
/lib/libc.so.6:
ld-linux-x86-64.so.2 (GLIBC_2.3) 
= /lib64/ld-linux-x86-64.so.2
ld-linux-x86-64.so.2 (GLIBC_PRIVATE) 
= /lib64/ld-linux-x86-64.so.2
/usr/lib64/libX11.so.6:
libdl.so.2 (GLIBC_2.2.5) = /lib/libdl.so.2
libc.so.6 (GLIBC_2.3) = /lib/libc.so.6
libc.so.6 (GLIBC_2.3.2) = /lib/libc.so.6
libc.so.6 (GLIBC_2.2.5) = /lib/libc.so.6
/usr/lib/libXau.so.6:
libc.so.6 (GLIBC_2.2.5) = /lib/libc.so.6
/usr/lib/libXdmcp.so.6:
libc.so.6 (GLIBC_2.2.5) = /lib/libc.so.6


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to [EMAIL PROTECTED] 
with the
body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: 
field of your email blank.


Re: [AOLSERVER] 64bit crashes right away

2007-09-12 Thread Dossy Shiobara
On 2007.09.12, Tom Jackson [EMAIL PROTECTED] wrote:
 Below is my  configure and lib information.
 
 ldd -v nsd
 libnsd.so = /web/nsd45/lib/libnsd.so (0x2b06b680d000)
 libnsthread.so = /web/nsd45/lib/libnsthread.so (0x2b06b698f000)
 libtcl8.4.so = /web/nsd45/lib/libtcl8.4.so (0x2b06b6a9a000)
 libtk8.4.so = /web/nsd45/lib/libtk8.4.so (0x2b06b6c5f000)
 libdl.so.2 = /lib/libdl.so.2 (0x2b06b6e93000)
 libpthread.so.0 = /lib/libpthread.so.0 (0x2b06b6f97000)
 libm.so.6 = /lib/libm.so.6 (0x2b06b70b1000)
 libgcc_s.so.1 = /lib/libgcc_s.so.1 (0x2b06b7207000)
 libc.so.6 = /lib/libc.so.6 (0x2b06b7314000)
 libX11.so.6 = /usr/lib64/libX11.so.6 (0x2b06b754e000)
 /lib64/ld-linux-x86-64.so.2 (0x2b06b66f1000)
 libXau.so.6 = /usr/lib/libXau.so.6 (0x2b06b775a000)
 libXdmcp.so.6 = /usr/lib/libXdmcp.so.6 (0x2b06b785c000)


Why are X libraries (X11, Xau, Xdmcp) being linked in?  Oh, Tk is being
linked in--what is wrong.  Is this due to another change in the Tcl
build?

-- Dossy

-- 
Dossy Shiobara  | [EMAIL PROTECTED] | http://dossy.org/
Panoptic Computer Network   | http://panoptic.com/
  He realized the fastest way to change is to laugh at your own
folly -- then you can let go and quickly move on. (p. 70)


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to [EMAIL PROTECTED] 
with the
body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: 
field of your email blank.


Re: [AOLSERVER] 64bit crashes right away

2007-09-12 Thread Tom Jackson
It might be because I have added Tk? Essentially useless, but I extended the 
nstclsh module to nswish.  If that is the reason, it has nothing to do with 
Tcl or AOLserver. I just added  -ltk8.4 to the LIBS var in ns.mak.

This is just a recent change, AOLserver 4.5 ran without this. If it would help 
to provide a simplified build, I can remove the tk lib.

tom jackson

On Wednesday 12 September 2007 14:28, Dossy Shiobara wrote:
 On 2007.09.12, Tom Jackson [EMAIL PROTECTED] wrote:
  Below is my  configure and lib information.
 
  ldd -v nsd
  libnsd.so = /web/nsd45/lib/libnsd.so (0x2b06b680d000)
  libnsthread.so = /web/nsd45/lib/libnsthread.so
  (0x2b06b698f000) libtcl8.4.so = /web/nsd45/lib/libtcl8.4.so
  (0x2b06b6a9a000) libtk8.4.so = /web/nsd45/lib/libtk8.4.so
  (0x2b06b6c5f000) libdl.so.2 = /lib/libdl.so.2 (0x2b06b6e93000)
  libpthread.so.0 = /lib/libpthread.so.0 (0x2b06b6f97000)
  libm.so.6 = /lib/libm.so.6 (0x2b06b70b1000)
  libgcc_s.so.1 = /lib/libgcc_s.so.1 (0x2b06b7207000)
  libc.so.6 = /lib/libc.so.6 (0x2b06b7314000)
  libX11.so.6 = /usr/lib64/libX11.so.6 (0x2b06b754e000)
  /lib64/ld-linux-x86-64.so.2 (0x2b06b66f1000)
  libXau.so.6 = /usr/lib/libXau.so.6 (0x2b06b775a000)
  libXdmcp.so.6 = /usr/lib/libXdmcp.so.6 (0x2b06b785c000)

 Why are X libraries (X11, Xau, Xdmcp) being linked in?  Oh, Tk is being
 linked in--what is wrong.  Is this due to another change in the Tcl
 build?

 -- Dossy


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to [EMAIL PROTECTED] 
with the
body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: 
field of your email blank.


[AOLSERVER] 64bit crashes right away

2007-09-11 Thread John Buckman

Is there any special trick to getting aolserver to work on 64bit linux?

A stock nsd crashes right away (strace below).

I'm using
Linux www64 2.6.20-15-generic #2 SMP Sun Apr 15 06:17:24 UTC 2007  
x86_64 GNU/Linux


The only change I made from the cvs tree was the previously mentioned  
-nostartfiles mod:

CC  = $(PURIFY) gcc -nostartfiles

I'm crashing running bin/nsd -h

-john


strace of bin/nsd -h

...
munmap(0x2b0c9308a000, 51575)   = 0
open(/etc/host.conf, O_RDONLY)= 4
fstat(4, {st_mode=S_IFREG|0644, st_size=92, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,  
0) = 0x2b0c9308a000

read(4, # The \order\ line is only used ..., 4096) = 92
read(4, , 4096)   = 0
close(4)= 0
munmap(0x2b0c9308a000, 4096)= 0
futex(0x2b0c93c96ca0, FUTEX_WAKE, 2147483647) = 0
open(/etc/hosts, O_RDONLY)= 4
fcntl(4, F_GETFD)   = 0
fcntl(4, F_SETFD, FD_CLOEXEC)   = 0
fstat(4, {st_mode=S_IFREG|0644, st_size=284, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,  
0) = 0x2b0c9308a000

read(4, 127.0.0.1\tlocalhost\n#127.0.1.1\tu..., 4096) = 284
read(4, , 4096)   = 0
close(4)= 0
munmap(0x2b0c9308a000, 4096)= 0
dup2(3, 0)  = 0
write(2, \nError: required -t config opt..., 50
Error: required -t config option not specified
) = 50
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Process 26160 detached

and normal startup:

...
munmap(0x2b2a082a7000, 4096)= 0
open(/usr/local/aolserver/lib/libnss_files.so.2, O_RDONLY) = -1  
ENOENT (No such file or directory)

open(/lib/libnss_files.so.2, O_RDONLY) = 4
read(4, \177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\0\1\0\0\0P \0\0\0...,  
832) = 832

fstat(4, {st_mode=S_IFREG|0644, st_size=43440, ...}) = 0
mmap(NULL, 2139464, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE,  
4, 0) = 0x2b2a082a7000

mprotect(0x2b2a082b1000, 2093056, PROT_NONE) = 0
mmap(0x2b2a084b, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE| 
MAP_FIXED|MAP_DENYWRITE, 4, 0x9000) = 0x2b2a084b

close(4)= 0
open(/etc/host.conf, O_RDONLY)= 4
fstat(4, {st_mode=S_IFREG|0644, st_size=92, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,  
0) = 0x2b2a084b2000

read(4, # The \order\ line is only used ..., 4096) = 92
read(4, , 4096)   = 0
close(4)= 0
munmap(0x2b2a084b2000, 4096)= 0
futex(0x2b2a082a2ca0, FUTEX_WAKE, 2147483647) = 0
open(/etc/hosts, O_RDONLY)= 4
fcntl(4, F_GETFD)   = 0
fcntl(4, F_SETFD, FD_CLOEXEC)   = 0
fstat(4, {st_mode=S_IFREG|0644, st_size=283, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,  
0) = 0x2b2a084b2000

read(4, 127.0.0.1\tlocalhost\n127.0.1.1\tub..., 4096) = 283
read(4, , 4096)   = 0
close(4)= 0
munmap(0x2b2a084b2000, 4096)= 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Process 26091 detached




--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to [EMAIL PROTECTED] 
with the
body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: 
field of your email blank.


Re: [AOLSERVER] 64bit crashes right away

2007-09-11 Thread Tom Jackson
My laptop is 64 bit:
Linux localhost 2.6.18-gentoo-r4 #1 SMP Mon Nov 20 16:49:16 UTC 2006 x86_64 
AMD Turion(tm) 64 X2 Mobile Technology TL-52 AuthenticAMD GNU/Linux

For Tcl I do:
./configure --prefix=/web/nsd45 \
  --enable-64bit \
  --enable-threads \
  --enable-shared

But when it builds I get the impression it isn't 64 bit.  Don't know how to 
check it. 

AOLserver builds and runs as normal. 

tom jackson

On Tuesday 11 September 2007 04:11, John Buckman wrote:
 Is there any special trick to getting aolserver to work on 64bit linux?

 A stock nsd crashes right away (strace below).

 I'm using
 Linux www64 2.6.20-15-generic #2 SMP Sun Apr 15 06:17:24 UTC 2007
 x86_64 GNU/Linux

 The only change I made from the cvs tree was the previously mentioned
 -nostartfiles mod:
 CC  = $(PURIFY) gcc -nostartfiles

 I'm crashing running bin/nsd -h

 -john


 strace of bin/nsd -h

 ...
 munmap(0x2b0c9308a000, 51575)   = 0
 open(/etc/host.conf, O_RDONLY)= 4
 fstat(4, {st_mode=S_IFREG|0644, st_size=92, ...}) = 0
 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
 0) = 0x2b0c9308a000
 read(4, # The \order\ line is only used ..., 4096) = 92
 read(4, , 4096)   = 0
 close(4)= 0
 munmap(0x2b0c9308a000, 4096)= 0
 futex(0x2b0c93c96ca0, FUTEX_WAKE, 2147483647) = 0
 open(/etc/hosts, O_RDONLY)= 4
 fcntl(4, F_GETFD)   = 0
 fcntl(4, F_SETFD, FD_CLOEXEC)   = 0
 fstat(4, {st_mode=S_IFREG|0644, st_size=284, ...}) = 0
 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
 0) = 0x2b0c9308a000
 read(4, 127.0.0.1\tlocalhost\n#127.0.1.1\tu..., 4096) = 284
 read(4, , 4096)   = 0
 close(4)= 0
 munmap(0x2b0c9308a000, 4096)= 0
 dup2(3, 0)  = 0
 write(2, \nError: required -t config opt..., 50
 Error: required -t config option not specified
 ) = 50
 --- SIGSEGV (Segmentation fault) @ 0 (0) ---
 +++ killed by SIGSEGV +++
 Process 26160 detached

 and normal startup:

 ...
 munmap(0x2b2a082a7000, 4096)= 0
 open(/usr/local/aolserver/lib/libnss_files.so.2, O_RDONLY) = -1
 ENOENT (No such file or directory)
 open(/lib/libnss_files.so.2, O_RDONLY) = 4
 read(4, \177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\0\1\0\0\0P \0\0\0...,
 832) = 832
 fstat(4, {st_mode=S_IFREG|0644, st_size=43440, ...}) = 0
 mmap(NULL, 2139464, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE,
 4, 0) = 0x2b2a082a7000
 mprotect(0x2b2a082b1000, 2093056, PROT_NONE) = 0
 mmap(0x2b2a084b, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|
 MAP_FIXED|MAP_DENYWRITE, 4, 0x9000) = 0x2b2a084b
 close(4)= 0
 open(/etc/host.conf, O_RDONLY)= 4
 fstat(4, {st_mode=S_IFREG|0644, st_size=92, ...}) = 0
 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
 0) = 0x2b2a084b2000
 read(4, # The \order\ line is only used ..., 4096) = 92
 read(4, , 4096)   = 0
 close(4)= 0
 munmap(0x2b2a084b2000, 4096)= 0
 futex(0x2b2a082a2ca0, FUTEX_WAKE, 2147483647) = 0
 open(/etc/hosts, O_RDONLY)= 4
 fcntl(4, F_GETFD)   = 0
 fcntl(4, F_SETFD, FD_CLOEXEC)   = 0
 fstat(4, {st_mode=S_IFREG|0644, st_size=283, ...}) = 0
 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
 0) = 0x2b2a084b2000
 read(4, 127.0.0.1\tlocalhost\n127.0.1.1\tub..., 4096) = 283
 read(4, , 4096)   = 0
 close(4)= 0
 munmap(0x2b2a084b2000, 4096)= 0
 --- SIGSEGV (Segmentation fault) @ 0 (0) ---
 +++ killed by SIGSEGV +++
 Process 26091 detached

 


 --
 AOLserver - http://www.aolserver.com/

 To Remove yourself from this list, simply send an email to
 [EMAIL PROTECTED] with the body of SIGNOFF AOLSERVER in the
 email message. You can leave the Subject: field of your email blank.


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to [EMAIL PROTECTED] 
with the
body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: 
field of your email blank.


Re: [AOLSERVER] 64bit crashes right away

2007-09-11 Thread John Buckman
Thanks for the tip. That gets me more-or-less working, though now  
document over a few kb stick.


Here is what I did for a configure statement to stop crashing:

./configure --prefix=/usr/local/aol3 --enable-64bit --enable-threads  
--enable-shared --with-tcl=/usr/local/lib


I also did:
export CC=gcc -m64

and also added -nostartfiles to get around the _init redefinition  
failure:

ns.mak:CFLAGS_OPTIMIZE = -O2 -nostartfiles

that gets nsd more-or-less working.

However, nsd now sticks on pages more than a few kb large, and a  
large JPG only loads 1/4 of the way.


Any tips?

-john

On Sep 11, 2007, at 5:21 PM, Tom Jackson wrote:


My laptop is 64 bit:
Linux localhost 2.6.18-gentoo-r4 #1 SMP Mon Nov 20 16:49:16 UTC  
2006 x86_64

AMD Turion(tm) 64 X2 Mobile Technology TL-52 AuthenticAMD GNU/Linux

For Tcl I do:
./configure --prefix=/web/nsd45 \
  --enable-64bit \
  --enable-threads \
  --enable-shared

But when it builds I get the impression it isn't 64 bit.  Don't  
know how to

check it.

AOLserver builds and runs as normal.

tom jackson



--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to [EMAIL PROTECTED] 
with the
body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: 
field of your email blank.


Re: [AOLSERVER] 64bit crashes right away

2007-09-11 Thread Andrew Piskorski
On Tue, Sep 11, 2007 at 12:11:54PM +0100, John Buckman wrote:
 Is there any special trick to getting aolserver to work on 64bit linux?

Not as far as I know.  I've used the AOLserver 4.0.10.x branch as of
2006-03-28 (from CVS) ever since then on x86-64 Linux.

On Tue, Sep 11, 2007 at 09:21:40AM -0700, Tom Jackson wrote:
 My laptop is 64 bit:
 Linux localhost 2.6.18-gentoo-r4 #1 SMP Mon Nov 20 16:49:16 UTC 2006 x86_64 
 AMD Turion(tm) 64 X2 Mobile Technology TL-52 AuthenticAMD GNU/Linux

 But when it builds I get the impression it isn't 64 bit.  Don't know how to 
 check it. 

Here's one way:

$ file /usr/local/aol4/bin/nsd /usr/local/bin/tclsh8.4 /usr/bin/tclsh8.4
/usr/local/aol4/bin/nsd: ELF 64-bit LSB executable, AMD x86-64, version 1 
(SYSV), for GNU/Linux 2.6.0, dynamically linked (uses shared libs), for 
GNU/Linux 2.6.0, not stripped
/usr/local/bin/tclsh8.4: ELF 64-bit LSB executable, AMD x86-64, version 1 
(SYSV), for GNU/Linux 2.6.0, dynamically linked (uses shared libs), for 
GNU/Linux 2.6.0, not stripped
/usr/bin/tclsh8.4:   ELF 64-bit LSB executable, AMD x86-64, version 1 
(SYSV), for GNU/Linux 2.6.0, dynamically linked (uses shared libs), for 
GNU/Linux 2.6.0, stripped

That's on an Intel x86-64 server, running Ubuntu 6.06:

$ uname -srvm
Linux 2.6.20.4 #1 SMP PREEMPT Sat Mar 31 07:46:01 EDT 2007 x86_64

$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=6.06
DISTRIB_CODENAME=dapper
DISTRIB_DESCRIPTION=Ubuntu 6.06.1 LTS

$ grep name /proc/cpuinfo
model name  :   Intel(R) Xeon(TM) CPU 3.80GHz
model name  :   Intel(R) Xeon(TM) CPU 3.80GHz

$ dpkg -l libc6
||/ Name Version  Description
+++---=
ii  libc62.3.6-0ubuntu20.4GNU C Library: Shared libraries and Timezone 
data

$ apt-cache show libc6 | grep Architecture | uniq
Architecture: amd64

-- 
Andrew Piskorski [EMAIL PROTECTED]
http://www.piskorski.com/


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to [EMAIL PROTECTED] 
with the
body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: 
field of your email blank.


Re: [AOLSERVER] 64bit crashes right away

2007-09-11 Thread Brett Schwarz
 
 
 - Original Message 
 From: Tom Jackson [EMAIL PROTECTED]
 To: AOLSERVER@LISTSERV.AOL.COM
 Sent: Tuesday, September 11, 2007 9:21:40 AM
 Subject: Re: [AOLSERVER] 64bit crashes right away
 
 My laptop is 64 bit:
 Linux localhost 2.6.18-gentoo-r4 #1 SMP Mon Nov 20 16:49:16 UTC 2006 x86_64
 AMD Turion(tm) 64 X2 Mobile Technology TL-52 AuthenticAMD GNU/Linux
 
 For Tcl I do:
 ./configure --prefix=/web/nsd45 \
   --enable-64bit \
   --enable-threads \
   --enable-shared
 
 But when it builds I get the impression it isn't 64 bit.  Don't know how to
 check it.
 

You can check it by looking at the tcl_platform array





  

Shape Yahoo! in your own image.  Join our Network Research Panel today!   
http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7 


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to [EMAIL PROTECTED] 
with the
body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: 
field of your email blank.