|
|
Home » U++ TheIDE » U++ TheIDE: Installation, Compiling and Running of theide » Linux compilation problems with 604.dev2 [3 BUGS]
Linux compilation problems with 604.dev2 [3 BUGS] [message #2596] |
Tue, 18 April 2006 16:03  |
hojtsy
Messages: 241 Registered: January 2006 Location: Budapest, Hungary
|
Experienced Member |
|
|
I used 602 theide binary to compile the 604.dev2 theide on Linux. If I compile with release flags, the compiled binary segfaults when I start it. After adding debug info to the release compilation I get this backtrace from the core file:
(gdb) bt
#0 0x4a25f8e0 in _int_free () from /lib/tls/libc.so.6
#1 0x4a25e908 in free () from /lib/tls/libc.so.6
#2 0x46b82983 in operator delete(void*) () from /usr/lib/libstdc++.so.5
#3 0x080e13b1 in Vector<void*>::RawFree(void**) (ptr=0x40027ff8) at Vcont.h:7
#4 0x081d0903 in Vector<void*>::SetCountR(int) (this=0x4a31d8d4, n=2)
at Vcont.hpp:18
#5 0x0832ac54 in Array<RichRuler::Marker>::SetCountR(int) (this=0xbfff71a8,
n=2) at Vcont.hpp:365
#6 0x083291c5 in Array<RichRuler::Marker>::At(int) (this=0xbfff71a8, i=1)
at Vcont.h:148
#7 0x08305b91 in RichRuler::Set(int, RichRuler::Marker const&) (
this=0xbfff711c, i=1, m=@0xbffe7b80) at Ruler.cpp:198
#8 0x08317c65 in RichEdit::ShowFormat() (this=0xbfff6ef8) at Formating.cpp:247
#9 0x083173f9 in RichEdit::ReadFormat() (this=0xbfff6ef8) at Formating.cpp:186
#10 0x08311e53 in RichEdit::Finish() (this=0xbfff6ef8) at Cursor.cpp:72
#11 0x08308448 in RichEdit::Clear() (this=0xbfff6ef8) at Editor.cpp:364
#12 0x0830b04d in RichEdit (this=0xbfff6ef8) at Editor.cpp:547
#13 0x081d7227 in TopicEditor (this=0xbfff6084) at TopicWin.cpp:8
#14 0x081b8320 in IdeTopicEditor (this=0xbfff6084) at Topic.cpp:365
#15 0x080988b2 in Ide (this=0xbffe8200) at idewin.cpp:318
#16 0x0809c030 in GuiMainFn_() () at idewin.cpp:656
#17 0x0809bd30 in main (argc=1, argv=0xbffff084, envptr=0xbffff08c)
at idewin.cpp:551
#18 0x4a200704 in __libc_start_main () from /lib/tls/libc.so.6
If I compile theide in DEBUG mode, the resulting executable starts, but fails when I try to build anything with it. Here is the verbose log of 604.dev2 failing to compile a file of CtrlLib:----- CtrlLib ( GUI GCC32 LINUX ) (1 / 9)
cd /home/hojtsy/upp/uppsrc/CtrlLib
LabelBase.cpp
Error executing c++ -c -I"/home/hojtsy/upp/examples" -I"/home/hojtsy/upp/uppsrc" -I"/usr/include/freety
pe2" -DflagGUI -DflagGCC32 -DflagLINUX -DbmYEAR=2006 -DbmMONTH=4 -DbmDAY=18 -DbmHOUR=14 -DbmMINUTE=4
5 -DbmSECOND=25 -m32 -static -x c++ "/home/hojtsy/upp/uppsrc/CtrlLib/LabelBase.cpp" -o "/home/hoj
tsy/upp/out/CtrlLib/GCC32.Gui/LabelBase.o"
compiled in (0:05.31)
I still don't understand what is the "error executing" part. The same compilation succeeds with the pre-built 602 binary:
----- CtrlLib ( GUI GCC32 LINUX ) (1 / 9)
cd /home/hojtsy/upp/uppsrc/CtrlLib
LabelBase.cpp
c++ -c -I"/home/hojtsy/upp/examples" -I"/home/hojtsy/upp/uppsrc" -I"/usr/include/freetype2" -DflagGUI -Dflag
GCC32 -DflagLINUX -DbmYEAR=2006 -DbmMONTH=4 -DbmDAY=18 -DbmHOUR=13 -DbmMINUTE=53 -DbmSECOND=27 -m32 -stat
ic -x c++ "/home/hojtsy/upp/uppsrc/CtrlLib/LabelBase.cpp" -o "/home/hojtsy/upp/out/CtrlLib/GCC32.Gui/L
abelBase.o"
Exitcode: 0
compiled in (0:05.59)
BTW I got the following assertion to the console after exiting the debug-compliled 604.dev2 theide:
Assertion failed in /home/hojtsy/upp/uppsrc/Core/Format.cpp, line 978
0
Aborted
[Updated on: Tue, 02 May 2006 03:19] by Moderator Report message to a moderator
|
|
|
Goto Forum:
Current Time: Sun Apr 27 17:21:45 CEST 2025
Total time taken to generate the page: 0.00883 seconds
|
|
|