Home » U++ TheIDE » U++ TheIDE: Installation, Compiling and Running of theide » segfault while starting theide
segfault while starting theide [message #8497] |
Wed, 14 March 2007 14:51 |
piotr5
Messages: 107 Registered: November 2005
|
Experienced Member |
|
|
there are 2 files which cause a segfault when compiled
speed-optimized. I solved the problem by compiling them
with a different gcc-option:
for Core/Vcont.cpp I need "-Os -finline-length=119", and
for RichText/ParaTypes.cpp I need "-Os -finline-length=141".
is my gcc-3.3.1 broken in the aspect of function-inlining?
or is it upp's fault? I guess I need a newer gcc...
|
|
|
|
|
Re: segfault while starting theide [message #8617 is a reply to message #8552] |
Wed, 21 March 2007 17:54 |
piotr5
Messages: 107 Registered: November 2005
|
Experienced Member |
|
|
thanks for the interesting comments. I'd be interested in
reading up on these gcc-3.3 issues, since 3.3 is the last
release-series to support certain deprecated compiler-behaviour.
in the meantime I'll upgrade to 4.1.2 -- I just wish there
where some list of all open-source c++-libs so that I could
find each potential incompatibility beforehand...
as for the -Os, I know that it's size-optimization, and
strangely -O2 -finline-limit didn't work (is the latter
parameter ignored for -O2?).
so, dear ebojd, please give me some links or google-words
to find anything about problems with gcc-3.3, bugzilla
isn't very helpful when searching for particular bugs.
as a side-note, I did experience various problems with
optimization in gcc-3.3, but that was always with some
machine-dependant optimizations. so, maybe the actual
bug is within upp (probably some expected behaviour was
really undefined behaviour according to the gcc-developers
or something).
|
|
|
|
Goto Forum:
Current Time: Fri Apr 19 06:20:02 CEST 2024
Total time taken to generate the page: 0.03196 seconds
|