|
Boost-Build : |
Subject: Re: [Boost-build] bjam define=anything produces a core dump
From: Avi Bahra (avibahra_at_[hidden])
Date: 2010-11-29 05:40:25
> On Linux, and HPUX, I can successfully use:
> bjam define=fred
>
> On AIX:
> This produces a core dump
>
> # bjam define=PORTABLE_BINARY_ARCHIVE
> ...patience...
> ...patience...
> Segmentation fault (core dumped)
> # bjam -v
> Boost.Jam Version 3.1.17. OS=AIX.
> Copyright 1993-2002 Christopher Seiwald and Perforce Software, Inc.
> Copyright 2001 David Turner.
> Copyright 2001-2004 David Abrahams.
> Copyright 2002-2008 Rene Rivera.
> Copyright 2003-2008 Vladimir Prus.
>
> trying different variations like:
>
> bjam define=fred -n
> bjam -j2 -q define=bill=1
>
> have no effect, all cause a crash, it appears that bjam cant cope with
> defines on AIX?
Vladimir Prus wrote:
>>I would imagine a miscomplication. Please have bjam built with debug symbols
>>(./build.sh --debug) and produce a backtrace of the crash.
I have compiled bjam from boost 1.45 release in debug ( bjam 3.1.19)
here is what total view shows when bjam crashes:
list_new, FP=ffffffffffd32c0
var_expand, FP=ffffffffffd3350
compile_list, FP=ffffffffffd3a30
parse_evaluate, FP=ffffffffffd3ab0
compile_append, FP=ffffffffffd3b20
parse_evaluate, FP=ffffffffffd3ba0
compile_eval, FP=ffffffffffd3c10
parse_evaluate, FP=ffffffffffd3cd0
compile_if, FP=ffffffffffd3d40
parse_evaluate, FP=ffffffffffd3dc0
compile_rules, FP=ffffffffffd3e30
parse_evaluate, FP=ffffffffffd3eb0
compile_local, FP=ffffffffffd3f20
parse_evaluate, FP=ffffffffffd3fe0
compile_rules, FP=ffffffffffd4050
parse_evaluate, FP=ffffffffffd40d0
compile_foreach, FP=ffffffffffd4140
parse_evaluate, FP=ffffffffffd41e0
compile_rules, FP=ffffffffffd4250
parse_evaluate, FP=ffffffffffd42d0
evaluate_rule, FP=ffffffffffd4340
compile_rule, FP=ffffffffffd45f0
parse_evaluate, FP=ffffffffffd4750
compile_rules, FP=ffffffffffd47c0
parse_evaluate, FP=ffffffffffd4840
compile_local, FP=ffffffffffd48b0
parse_evaluate, FP=ffffffffffd4970
compile_rules, FP=ffffffffffd49e0
parse_evaluate, FP=ffffffffffd4a60
evaluate_rule, FP=ffffffffffd4ad0
call_rule, FP=ffffffffffd4d80
property_set_create, FP=ffffffffffd4ee0
parse_evaluate, FP=ffffffffffd4fd0
evaluate_rule, FP=ffffffffffd5040
compile_rule, FP=ffffffffffd52f0
parse_evaluate, FP=ffffffffffd5450
compile_append, FP=ffffffffffd54c0
......
Function "list_new":
head: 0x14ffff1b0 -> (LIST)
string: 0x110aa7bb0 -> "propagated"
Local variables:
l: 0x00000000
__func__: "list_new"
Registers for the frame:
R0: 0x000000000000000c (12)
SP: 0x0ffffffffffd32c0 (1152921504606663360)
RTOC: 0x0000000110006e20 (4563430944)
R3: 0x0000000000000000 (0)
R4: 0x0000000000000000 (0)
R5: 0x0fffffffffffffe0 (1152921504606846944)
R6: 0x800000000000f0b2 (-9223372036854714190)
R7: 0x3000000000000000 (3458764513820540928)
R8: 0x00000000000016b0 (5808)
R9: 0x0000000000000000 (0)
R10: 0x0000000000000000 (0)
R11: 0xf00000002ff47600 (-1152921503802296832)
R12: 0x00000001000080fc (4295000316)
R13: 0xbadc0ffee0ddf00d (-4982089500409860083)
R14: 0x0000000000000002 (2)
R15: 0x0fffffffffffbe30 (1152921504606830128)
R16: 0x0fffffffffffbe48 (1152921504606830152)
R17: 0x0000000000000000 (0)
R18: 0x0ffffffffffffed0 (1152921504606846672)
R19: 0x0000000000000000 (0)
R20: 0xbadc0ffee0ddf00d (-4982089500409860083)
R21: 0xbadc0ffee0ddf00d (-4982089500409860083)
R22: 0xbadc0ffee0ddf00d (-4982089500409860083)
R23: 0xbadc0ffee0ddf00d (-4982089500409860083)
R24: 0xbadc0ffee0ddf00d (-4982089500409860083)
R25: 0xbadc0ffee0ddf00d (-4982089500409860083)
R26: 0xbadc0ffee0ddf00d (-4982089500409860083)
R27: 0xbadc0ffee0ddf00d (-4982089500409860083)
R28: 0xbadc0ffee0ddf00d (-4982089500409860083)
R29: 0x0000000110e177b0 (4578178992)
R30: 0x0000000100029c58 (4295138392)
R31: 0x0000000110000c10 (4563405840)
INUM: 0x0000000000000000 (0)
PC: 0x100008140 (list_new+0xe0)
SRR1: 0x0000000000000000 (0)
LR: 0x1000080fc (list_new+0x9c)
CTR: 0xffffffffffffffff (-1)
CR: 0x0000000053242359 (1394877273) (0>SO,1=SO,2=,3>,4=,5=SO,6>SO,7<SO)
XER: 0x00000000e00fffff (3759144959) (STC:0x1f,SL:127,SO+OV+CA)
DAR: 0x0000000000000000 (0)
MQ: 0x0000000000000000 (0)
MSR: 0xa00000000000d0b2 (-6917529027641028430) (SF+EE+PR+ME+IR+DR+RI)
SEG0: 0x0000000000000000 (0)
SEG1: 0x0000000000000000 (0)
SEG2: 0x0000000000000000 (0)
SEG3: 0x0000000000000000 (0)
SEG4: 0x0000000000000000 (0)
SEG5: 0x0000000000000000 (0)
SEG6: 0x0000000000000000 (0)
SEG7: 0x0000000000000000 (0)
SEG8: 0x0000000000000000 (0)
SEG9: 0x0000000000000000 (0)
SG10: 0x0000000000000000 (0)
SG11: 0x0000000000000000 (0)
SG12: 0x0000000000000000 (0)
SG13: 0x0000000000000000 (0)
SG14: 0x0000000000000000 (0)
SG15: 0x0000000000000000 (0)
SCNT: 0x0000000000000000 (0)
SAD1: 0x0000000000000000 (0)
SAD2: 0x0000000000000000 (0)
SCD1: 0x0000000000000000 (0)
SCD2: 0x0000000000000000 (0)
Best regards,
Ta,
Avi
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk