From: Perry Smith Date: 2012-07-11T11:27:02+09:00 Subject: [ruby-core:46316] Re: building ruby-1.9.3-p194 on AIX 6.1 TL05 SP06 On Jul 9, 2012, at 8:42 PM, Perry Smith wrote: > On Jul 9, 2012, at 7:50 AM, Yutaka Kanemoto wrote: >> For entry point issue, nobu-san has already commited a patch as >> r36338, but it still has some other issue, so I will let him know the >> result. > > I tried incorporating r36338 and I didn't get very far. I may have mistyped something. > I have not had time to double check it. For now, I'm avoiding the problem with dot.dot by just editing the Makefile and fixing the entry point name. I bumped into a new issue -- a simple one. AIX uses LIBPATH (not SHLIB_PATH). In configure, I believe this needs to be changed: aix*) : : ${LDSHARED='$(CC)'} LDSHARED="$LDSHARED ${linker_flag}-G" DLDFLAGS='-eInit_$(TARGET)' XLDFLAGS="${linker_flag}"'-bE:$(ARCHFILE)'" ${linker_flag}-brtl" XLDFLAGS="$XLDFLAGS ${linker_flag}-blibpath:${prefix}/lib:${LIBPATH:-/usr/lib:/lib}" : ${ARCHFILE="ruby.imp"} TRY_LINK='$(CC) $(LDFLAGS) -oconftest $(INCFLAGS) -I$(hdrdir) $(CPPFLAGS)' TRY_LINK="$TRY_LINK"' $(CFLAGS) $(src) $(LIBPATH) $(LOCAL_LIBS) $(LIBS)' >>> : ${LIBPATHENV=SHLIB_PATH} RPATHFLAG=" ${linker_flag}-blibpath:%1\$-s:${prefix}/lib:${LIBPATH:-/usr/lib:/lib}" I now pass all but one test -- #921. I'd like to try and debug this mostly just to educate myself and also make sure my gdb and other tools are working. I'm building servers for Ruby on Rails and with my current set of servers, I can't debug low level problems like core dumps, etc. I can't (couldn't) get gdb and other stuff to work. But right now, I've upgraded everything and so I'd like to try and figure out those issues as well. The first step would be to learn how to run just this testcase. How is that done? Thank you, Perry