seg fault on tcl8.2 linux ppc R5 glibc2 kernel2.2.6-15apmac
Closed / Fixed218927ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 01:08:00
OriginalBugID: 2801 Bug
Version: 8.2
SubmitDate: '1999-09-16'
LastModified: '1999-10-21'
Severity: CRIT
Status: Released
Submitter: techsupp
ChangedBy: hobbs
RelatedBugIDs: 2512
OS: Other
OSVersion: LinuxPPC R5 glibc2 -> Linux mklinux.bronnimann.com 2.2.6-15apmac
Machine: NA
FixedDate: '1999-10-21'
FixedInVersion: 8.2.2
ClosedDate: '2000-10-25'
Name:
Eric Bronnimann
Extensions:
NONE
Comments:
OK, I'm not finished looking this over. But I wasn't able to find any
solution on posted via deja-news. So if you have any ideas of where to
start I'd be more than happy to hear them. I'm going to try configuring
with some of the other options. Then I'll try and figure out where the
problem is...
ObservedBehavior:
Hi,
I'm trying to compile Tcl8.2 on LinuxPPC R5. It looks like I'm
encountering the same errors that other people are. Here is what I've
come up with so far:
I used ./configure --enable-gcc in this configuration. The following is
the output from gdb:
Here is what happens when I put it through the debugger:
[eric@mklinux unix]$ gdb tclsh
GNU gdb 4.17.0.11 with Linux support
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
details.
This GDB was configured as "ppc-unknown-linux"...
(gdb) run
Starting program: /home/eric/build/tcl8.2.0/unix/tclsh
% puts "Hello World"
Program received signal SIGSEGV, Segmentation fault.
0x155f94c in strlen () at soinit.c:59
soinit.c:59: No such file or directory.
OK, so I went ./configure --disable-load and this is what the debugger
got:
[eric@mklinux unix]$ gdb tclsh
GNU gdb 4.17.0.11 with Linux support
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
details.
This GDB was configured as "ppc-unknown-linux"...
(gdb) run
Starting program: /home/eric/build/tcl8.2.0/unix/tclsh
% puts "Hello World"
Program received signal SIGSEGV, Segmentation fault.
0x1807a50 in Tcl_AppendResultVA ()
HOWEVER, when I compiled with ./configure --enable-symbols
--enable-shared --enable-threads I was able to load fine....
This was caused by Tcl_AppendResultVA making assumptions about
va_list structures that don't work on LinuxPPC. This was
rewritten (CVS 10/20/1999) to work on PPC as well.
-- 10/21/1999 hobbs
welch Closed ticket [218927ffff].
[History diff]2000-10-26 08:32:13
dgp Ticket [218927ffff]: 3 changes
[History diff]2001-04-19 03:25:21
Log in (anonymous is fine) to add a comment.