IRC log for #brlcad on 20080501

00:09.12 ``Erik hrm
00:09.39 ``Erik src/other/tcl/generic/regexec.c uses TclReFree(), but I see nowhere in src/other/tcl where a definiton for that exists
00:24.54 *** join/#brlcad tofu (n=sean@bz.bzflag.bz)
00:31.24 *** join/#brlcad yukonbob (i=1000@s142-179-54-198.bc.hsia.telus.net) [NETSPLIT VICTIM]
00:37.26 *** join/#brlcad poolio (n=poolio@bz.bzflag.bz) [NETSPLIT VICTIM]
00:45.52 *** join/#brlcad yukonbob (i=1000@s142-179-54-198.bc.hsia.telus.net) [NETSPLIT VICTIM]
00:48.42 *** join/#brlcad poolio (n=poolio@bz.bzflag.bz) [NETSPLIT VICTIM]
00:59.26 starseeker_ sigh - what's the next level of gcc debug?
01:02.59 brlcad heh, no luck?
01:03.02 brlcad returns with mass quantities of sushi
01:03.31 starseeker_ it should work, but it doesn't - grrrrr
01:05.25 brlcad starseeker_: have you tried deleting all of /usr/brlcad ?
01:05.35 starseeker_ I moved it
01:05.42 brlcad and still persists
01:05.48 starseeker_ yep
01:05.53 brlcad k (good)
01:07.06 starseeker_ swaps in tcl 8.5.2 just for the heck of it...
01:12.55 *** join/#brlcad PrezKennedy (i=Matthew@74.86.45.130)
01:12.55 *** join/#brlcad CIA-20 (n=CIA@208.69.182.149) [NETSPLIT VICTIM]
01:12.55 *** join/#brlcad dtidrow (n=dtidrow@c-69-255-182-248.hsd1.va.comcast.net) [NETSPLIT VICTIM]
01:12.57 starseeker_ nah, that just busts something else
01:12.59 *** join/#brlcad yukonbob (i=1000@s142-179-54-198.bc.hsia.telus.net) [NETSPLIT VICTIM]
01:13.31 brlcad howd you swap it in?
01:13.51 starseeker_ copied it in, left the parts that weren't in the tarball
01:13.51 starseeker_ crude way
01:13.51 starseeker_ probably not right
01:13.51 brlcad heh
01:14.15 brlcad yeah, not likely to work, even on a minor
01:14.24 brlcad since it's in libtcl from what you said ...
01:14.33 brlcad it could be ordering
01:14.45 brlcad try running the gcc compile line directly, put the -ltcl8.5 on the end
01:14.46 starseeker_ ok...
01:15.07 brlcad might have to still be before -lz
01:18.54 brlcad any luck?
01:19.20 starseeker_ having to restore tcl...
01:20.14 brlcad rm -rf src/other/tcl src/other/tk && svn up
01:20.35 starseeker_ I did - rebuilding now :-)
01:20.47 starseeker_ 's machine must be slower than brlcad's
01:27.19 starseeker_ doesn't seem to change it
01:38.56 brlcad does narrow the problem though
01:39.22 brlcad next thing to check would be to search for that symbol name through the sources for the libraries being linked, see who's using it
01:52.14 starseeker_ you mean a source code grep, or some sort of nm hunt?
01:52.15 *** join/#brlcad elite01 (n=elite01@dslb-088-070-122-118.pools.arcor-ip.net)
01:58.36 starseeker_ Interesting - an nm on the librt.so from rev 30848 gives a very different response than the one from the current rev
01:59.54 starseeker_ the nm report from 30848 indicates that librt.so at that time was NOT referencing TclReFree
02:04.16 yukonbob !go joe hardy
02:06.56 starseeker_ the identical build command, supplied in both the old tree and the new, results in identical commands being generated (modulo path differences)
02:07.07 starseeker_ so the difference must be elsewhere
02:26.58 starseeker_ but where...
02:27.26 starseeker_ is there a chance the new libged is pulling in (or trying to) something that wouldn't have otherwise been pulled into librt?
02:27.58 starseeker_ is having a hard time coming up with any other plausible differences in librt or tcl...
02:37.54 starseeker_ no, that's not right - librt doesn't depend on libged
03:42.31 starseeker_ The actual gcc compilation of comb.c didn't include librt before, as near as I can tell... but compiling without that makes no difference in the new tree I can see...
03:55.29 starseeker_ nm .libs/regionfix.o |grep Tcl
03:55.29 starseeker_ <PROTECTED>
03:55.42 starseeker_ That must be where librt is getting it from
04:07.54 starseeker_ datapoint: removing the tcl/generic inclusion from the regionfix compile allowed the remainder of the librt build to successfully complete
04:39.48 starseeker_ OK, beyond any shadow of a doubt this is dodging the issue (which is why I'm not committing it), but the following just got me past librt on a compile: http://pastebin.bzflag.bz/m7a39831
04:45.14 starseeker_ wonders if maybe it's as simple as switching the order of tcl/unix and tcl/generic in configure.ac, but doesn't want to interrupt the build to test it...
04:50.29 starseeker_ Hmm, OK, now that's weird.
04:50.44 starseeker_ I just completed a build with the previous tweak, and installed it.
04:51.10 starseeker_ rt (from the command line) DOES work - I created a tire and raytraced it successfully.
04:51.36 starseeker_ mged, however, segfaults immediately
04:52.01 starseeker_ in gdb, this is the report:
04:52.14 starseeker_ 0xb7e81ac6 in dgo_open_cmd (oname=0x8132f18 "mged", wdbp=0x0)
04:52.14 starseeker_ <PROTECTED>
04:52.14 starseeker_ 296 BU_LIST_APPEND(&HeadDGObj.l, &dgop->l);
04:52.24 *** join/#brlcad SWPadnos_ (n=Me@dsl107.esjtvtli.sover.net)
04:52.52 starseeker_ I don't know if this is related to the hack I just made...
04:52.58 starseeker_ or some problem with libged?
04:53.30 starseeker_ looks at clock, realizes it's a new day, and decides to get some sleep...
07:42.04 *** join/#brlcad SWPadnos_ (n=Me@dsl107.esjtvtli.sover.net)
09:25.10 *** join/#brlcad Axman6 (n=Axman6@pdpc/supporter/student/Axman6)
13:07.29 Axman6 how awesome. freebsd has a brl-cad port. it compiles fine, just can't run
13:08.05 ``Erik what's it do?
13:08.14 ``Erik you might have to set your ITCL_PATH and ITK_PATH
13:08.41 Axman6 heh, well the error does mention that. what should they be set to?
13:08.58 ``Erik uhmmm, something like /usr/brlcad/lib/it{cl,k}
13:09.11 ``Erik should fix the mged.sh script
13:11.00 ``Erik port comes up fine for me without having to set those O.o
13:11.07 ``Erik and I have no reference tot he incr stuff in my environment
13:11.17 ``Erik amd64/fbsd7
13:13.39 Axman6 YAY! brl-cad finally!
13:13.53 Axman6 yep, amd64
13:26.03 *** join/#brlcad thing0 (n=ric@58.171.77.147)
13:28.06 *** part/#brlcad thing0 (n=ric@58.171.77.147)
13:42.16 *** join/#brlcad docelic (n=docelic@78.134.193.96)
13:48.57 ``Erik w00t
13:49.32 ``Erik now, did you have the failure when you ran /usr/local/bin/mged.sh or /usr/local/brlcad/bin/mged ?
14:04.37 *** join/#brlcad prasad_ (n=psilva@h-67-103-183-185.mclnva23.covad.net)
14:05.17 *** join/#brlcad docelic_ (n=docelic@78.134.195.88)
14:06.29 *** join/#brlcad prasad_ (n=psilva@70.108.244.218)
14:38.18 *** join/#brlcad Elperion (n=Bary@p54875A70.dip.t-dialin.net)
14:40.28 *** join/#brlcad archivist_emc (n=archivis@host81-149-119-172.in-addr.btopenworld.com)
14:56.21 *** join/#brlcad vedge (i=vedge@vedge.org)
15:03.13 *** join/#brlcad andre|away (n=chatzill@189.71.51.62)
15:03.37 andrecastelo hi folks
15:40.33 brlcad howdy andrecastelo
15:40.38 brlcad how goes it?
15:40.46 andrecastelo sup brlcad :D
15:40.57 andrecastelo finally finished my final exams
15:41.06 andrecastelo so i'm pretty happy
15:47.15 brlcad congratulations
15:47.24 brlcad did ya pass? ;)
15:51.02 *** join/#brlcad clock_ (n=clock@217-162-109-58.dclient.hispeed.ch)
16:17.39 andrecastelo brlcad: yup, i took 5 courses this semester, passed on 3 and i'll know about the last two on monday
16:24.23 prasad_ andre, u a soccer fan?
16:37.40 andrecastelo prasad_: not really, why ?
16:38.57 prasad_ ronaldo in the news much?
16:41.11 andrecastelo prasad_: oh yeah, i've heard about it
16:41.52 andrecastelo he thought they were girls :b
16:43.47 prasad_ heh
17:40.21 ``Erik jiggles his buddha belly
17:41.16 ``Erik grats, andré
17:41.56 ``Erik ronaldo likes his trannies?
17:42.39 *** join/#brlcad hippieindamakin8 (n=hippiein@210.212.55.3)
18:01.22 *** join/#brlcad louipc (n=louipc@bas8-toronto63-1177613497.dsl.bell.ca)
18:58.04 CIA-20 BRL-CAD: 03starseeker * r30951 10/brlcad/trunk/configure.ac: Make sure CPPFLAGS are listed before the TCL generic directory for out of source builds - otherwise regfree gets defined by TCL and points to TclReFree, which seems to be undefined.
19:10.17 brlcad aha, HeadDGObj isn't initialized
19:11.41 brlcad bingo
19:23.17 CIA-20 BRL-CAD: 03brlcad * r30952 10/brlcad/trunk/src/mged/setup.c: need to call the new Ged_Init() so that the HeadDGObj is initialized. it was initialized in Rt_Init(), but no longer with the new libged. unbreaks mged.
19:38.51 CIA-20 BRL-CAD: 03brlcad * r30953 10/brlcad/trunk/ (77 files in 2 dirs): rename ged.c and ged.h to mged.c and mged.h so that the header doesn't conflict with the ged.h that was added for the new libged library
19:42.03 *** mode/#brlcad [+o brlcad] by ChanServ
19:53.03 *** join/#brlcad Elperion (n=Bary@p54875A70.dip.t-dialin.net)
19:59.31 CIA-20 BRL-CAD: 03brlcad * r30954 10/brlcad/trunk/ (17 files in 10 dirs): remove BRLCAD_DEBUG from the build, Bob says it's no longer needed.
20:01.53 *** join/#brlcad thing0 (n=ric@58.171.67.89)
20:58.20 ``Erik O.o
21:18.56 CIA-20 BRL-CAD: 03starseeker * r30955 10/brlcad/trunk/src/proc-db/tire.c: Begin cleanup to make tire follow HACKING formatting conventions.
21:20.17 ``Erik flicks boogers
21:22.07 CIA-20 BRL-CAD: 03erikgreenwald * r30956 10/brlcad/trunk/src/librt/g_metaball.c: adjust Blinn method evaluator to follow existing inside/outside convention
21:26.36 CIA-20 BRL-CAD: 03brlcad * r30957 10/brlcad/trunk/src/librt/g_metaball.c: yay for magic numbers, changed constant to SMALL_FASTF for near-zero testing
21:27.58 ``Erik scratches his head
21:28.10 ``Erik flips brlcad off for mucking with his temporary hack :D
21:28.21 brlcad mehs
21:28.39 ``Erik here's one for ya
21:28.41 brlcad temp hacks have a tendancy to outlast their hacker ;)
21:29.24 ``Erik when I mged -c blah.g l mb.s, I get correct numbers (sweat == 1). When I rt blah.g mb.s, sweat == 0.
21:29.45 ``Erik have any idea what's going on with my ball sweat? :D
21:30.18 brlcad obviously mged excites you and rt does not
21:30.31 ``Erik looks through prep
21:30.46 ``Erik (prep is not called by mged, correct?)
21:31.35 ``Erik I'm, uh, about to feel very retarded.
21:32.01 ``Erik hangs head in shame
21:32.22 brlcad tsk tsks
21:32.46 ``Erik and damnit, some fool went and committed to my file
21:33.00 CIA-20 BRL-CAD: 03erikgreenwald * r30958 10/brlcad/trunk/src/librt/g_metaball.c: carry the goo value into prepared geometry.
21:37.23 ``Erik at least I got some fun ball sweat jokes out of it
22:58.56 ``Erik flicks boogers

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.