Hi Tomas! I'm CC'ing the mailing list on this too in hopes that somebody on
it might be able to help. I know Brad uses FreeBSD, so maybe he can shed
light on compiling C++ code with the new gcc....
On Friday 10 June 2005 09:15, Tomas Verbaitis wrote:
> ahoj,
>
> i used to be a very happy user of bbkeys, thank you and so on.
>
> then i decided to move to FreeBSD-CURRENT, and now bbkeys crash
> w/ SIGSEGV on startup. truss output is attached, gdb backtrace looks
> like this:
>
> #0 0x080559a3 in std::operator+<char, std::char_traits<char>,
> std::allocator<char> > () #1 0x08052b72 in std::operator+<char,
> std::char_traits<char>, std::allocator<char> > () #2 0x08052f06 in
> std::operator+<char, std::char_traits<char>, std::allocator<char> > () #3
> 0x08053826 in std::operator+<char, std::char_traits<char>,
> std::allocator<char> > () #4 0x080566e2 in std::operator+<char,
> std::char_traits<char>, std::allocator<char> > () #5 0x0804bd75 in ?? ()
> #6 0x00000001 in ?? ()
> #7 0xbfbfeb40 in ?? ()
> #8 0xbfbfeb48 in ?? ()
> #9 0xbfbfeb20 in ?? ()
> #10 0xbfbfeb3c in ?? ()
> ...
> #99 0x48530033 in little2_cdataSectionTok () from
> /usr/local/lib/libexpat.so.5 ...
>
> alas, i'm not so smart as to compile bbkeys with debug symbols
> (--enable-debug for 0.9.0 doesn't seem to have any effect), not so smart
> as to compile cvs version too -- a Java programmer, you know :)
I'm not sure why --enable-debug doesn't work for you. Nothing has changed wrt
this in ages. Also, if you want to check out from CVS and compile/run it,
it's pretty simple. You need to run "make -f Makefile.cvs" from the top
directory, "./configure --enable-debug --prefix=/wherever/you/want",
followed by make && make install.
>
> my last :) guess about the problem is that 1 week ago FreeBSD-CURRENT
> imported gcc 3.4.4 as the base system. areas affected include libstdc++,
> using whose code bbkeys crash, as far as i understand.
>
This sounds possible. I don't now nor have I ever tried using gcc 3.4.4.
Anyone on the list have experience with this new level of breakages that this
could cause?
> so, the question is -- did you try compiling bbkeys w/ gcc 3.4.4? was it
> successfull? what changes should be made to bbkeys 0.9.0 to compile w/
> gcc344?
I've not, no. Again, I'm hoping someone on the list can help with suggestions
for this (or ideally, a patch!!).
> how to compile bbkeys from checked out code?
See above. =:)
> i'm quite willing
> to help dig into this, as i simply can not work without my usual
> keyboard setup and i would like to resolve this as soon as possible,
> starting nearest Monday :)
I completely understand. I'd like to get whatever is needed fixed and into
1.0.0 before I release it. =:)
>
> sorry for annoyance,
> tomasv
No annoyance at all!! =:) Thanks for the e-mail!
--
,-----------------------------------------------------------------//
| Jason 'vanRijn' Kasper :: Numbers 6:22-26
`
| All brontosauruses are thin at one end, much MUCH thicker
| in the middle, and then thin again at the far end. That is
| the theory that I have and which is mine, and what it is too.
,
| bash$ :(){ :|:&};:
`----------------------//
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
List archives: http://asgardsrealm.net/lurker/splash/index.html