Opened 18 years ago

Closed 15 years ago

#271 closed Support Requests (Fixed)

Jam Fails to Build

Reported by: jmckelvey Owned by: René Rivera
Milestone: Component: None
Version: None Severity:
Keywords: Cc:

Description

Jam fails to build on Solaris SPARC with recent gcc:


mushroom~...jam_src>sh build.sh
###
### Using 'gcc' toolset.
###
rm -rf bootstrap.gcc
mkdir bootstrap.gcc
gcc -o bootstrap.gcc/jam0 command.c compile.c execnt.c
execunix.c execvms.c expand.c filent.c fileos2.c
fileunix.c filevms.c glob.c hash.c hdrmacro.c headers.c
jam.c jambase.c jamgram.c lists.c make.c make1.c
newstr.c option.c parse.c pathunix.c pathvms.c regexp.c
rules.c scan.c search.c subst.c timestamp.c variable.c
modules.c strings.c filesys.c builtins.c pwd.c class.c
native.c modules/set.c modules/path.c modules/regex.c
modules/property-set.c modules/sequence.c
./bootstrap.gcc/jam0 -f build.jam --toolset=gcc
--toolset-root= clean
Segmentation Fault - core dumped

mushroom~...jam_src>uname -a
SunOS mushroom 5.7 Generic_106541-19 sun4u sparc
SUNW,Ultra-2

mushroom~...jam_src>gcc -v 
Reading specs from
/mnt/home3/utilities/lib/gcc/sparc-sun-solaris2.7/3.5.0/specs
Configured with: /mnt/home3/utilities/gcc/configure
--prefix=/mnt/home3/utilities --verbose
--with-as=/mnt/home3/utilities/bin/as
--with-ld=/mnt/home3/utilities/bin/ld --with-gnu-as
--with-gnu-ld --disable-multilib --enable-languages=c++
Thread model: posix
gcc version 3.5.0 20040324 (experimental)

Traceback from gdb:

(gdb) bt
#0  0xff370cec in seg2 () from
/usr/platform/SUNW,Ultra-2/lib/libc_psr.so.1
#1  0xff37088c in blalign () from
/usr/platform/SUNW,Ultra-2/lib/libc_psr.so.1
#2  0x00028098 in extend_full ()
#3  0x000282e8 in string_append_range ()
(gdb) quit

Change History (1)

comment:1 by René Rivera, 15 years ago

Status: assignedclosed
Logged In: YES 
user_id=33595
Originator: NO

AFAIK this is fixed in the latest bjam 3.13. If this is still a problem please submit another tracker item.
Note: See TracTickets for help on using tickets.