Dan Williams wrote: > On Mon, 2010-07-19 at 12:31 -0700, Inaky Perez-Gonzalez wrote: >> On Fri, 2010-07-16 at 14:36 -0400, Dongwoon Hahn wrote: >> > It seems it is because REG_EIP >> > in >> > ./InfraStack/OSDependent/Linux/InfraStackModules/Skeletons/AppSrv/GenericConsole.c >> > is not declared. >> >> I am surprised that those definitions are not in sys/ucontext.h anymore. >> Can you send me your /usr/include/ucontext.h and sys/ucontext.h, please? >> >> > I could compile the code by modifying some lines with REG_EIP. >> >> Yeah, you can also disable those--wipe the whole >> print_callstack_to_file() function, replace it with a 'return'. Will >> loose some abilities on crash detection, but still the best thing for >> that is a core dump. > > I hit this point at the 64-bit build too. There's some really really > odd stuff going on here in GenericConsole.c with includes; x86 doesn't > get it's registers defined even though the headers make it look like it > should. I haven't dug deeper into it yet though :( > > Dan Actualy on amd64 this issue can be temporaly resolved by replacing REG_EIP with REG_RIP. But i get many segfaults while starting wimaxd. If someone intrested i can provide backtraces and logs for wimaxd -- Best Regards, Alexey 'Alexxy' Shvetsov Petersburg Nuclear Physics Institute, Russia Department of Molecular and Radiation Biophysics Gentoo Team Ru Gentoo Linux Dev mailto:alexxyum at gmail.com mailto:alexxy at gentoo.org mailto:alexxy at omrb.pnpi.spb.ru