Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't compile QT 4 :(
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Zvezdichko
n00b
n00b


Joined: 25 Apr 2008
Posts: 23

PostPosted: Wed Apr 30, 2008 5:55 pm    Post subject: Can't compile QT 4 :( Reply with quote

Hello, I can't compile qt4 because of errors of this type:

Quote:
NO_GEOM_VARIANT generators/unix/unixmake.cpp
*** glibc detected *** /usr/libexec/gcc/i686-pc-linux-gnu/4.1.2/cc1plus: double free or corruption (!prev): 0x08bcadc8 ***
======= Backtrace: =========
/lib/libc.so.6[0x400a3a00]
/lib/libc.so.6(cfree+0x89)[0x400a56f9]
/usr/libexec/gcc/i686-pc-linux-gnu/4.1.2/cc1plus[0x812ef6b]
/usr/libexec/gcc/i686-pc-linux-gnu/4.1.2/cc1plus[0x81338e8]
/usr/libexec/gcc/i686-pc-linux-gnu/4.1.2/cc1plus[0x83aee45]
/usr/libexec/gcc/i686-pc-linux-gnu/4.1.2/cc1plus[0x83a5cdf]
/usr/libexec/gcc/i686-pc-linux-gnu/4.1.2/cc1plus[0x83a5e27]
/usr/libexec/gcc/i686-pc-linux-gnu/4.1.2/cc1plus[0x83a5e45]
/usr/libexec/gcc/i686-pc-linux-gnu/4.1.2/cc1plus[0x8121963]
/usr/libexec/gcc/i686-pc-linux-gnu/4.1.2/cc1plus[0x80c4a8f]
/usr/libexec/gcc/i686-pc-linux-gnu/4.1.2/cc1plus[0x83de1e0]
/usr/libexec/gcc/i686-pc-linux-gnu/4.1.2/cc1plus[0x83dea29]
/usr/libexec/gcc/i686-pc-linux-gnu/4.1.2/cc1plus[0x808cdaf]
/usr/libexec/gcc/i686-pc-linux-gnu/4.1.2/cc1plus[0x810a98f]
/usr/libexec/gcc/i686-pc-linux-gnu/4.1.2/cc1plus[0x83883bc]
/usr/libexec/gcc/i686-pc-linux-gnu/4.1.2/cc1plus[0x8114022]
/lib/libc.so.6(__libc_start_main+0xdc)[0x40053fdc]
/usr/libexec/gcc/i686-pc-linux-gnu/4.1.2/cc1plus[0x8049d91]
======= Memory map: ========
08048000-08547000 r-xp 00000000 08:06 1658102 /usr/libexec/gcc/i686-pc-linux-gnu/4.1.2/cc1plus
08547000-08548000 r--p 004ff000 08:06 1658102 /usr/libexec/gcc/i686-pc-linux-gnu/4.1.2/cc1plus
08548000-0854c000 rw-p 00500000 08:06 1658102 /usr/libexec/gcc/i686-pc-linux-gnu/4.1.2/cc1plus
0854c000-096b3000 rw-p 0854c000 00:00 0 [heap]
40000000-4001a000 r-xp 00000000 08:06 98624 /lib/ld-2.6.1.so
4001a000-4001b000 r--p 00019000 08:06 98624 /lib/ld-2.6.1.so
4001b000-4001c000 rw-p 0001a000 08:06 98624 /lib/ld-2.6.1.so
4001c000-4001d000 rw-p 4001c000 00:00 0
4001d000-40023000 r-xp 00000000 08:06 1576454 /usr/lib/libsandbox.so.0.0.0
40023000-40024000 r--p 00005000 08:06 1576454 /usr/lib/libsandbox.so.0.0.0
40024000-40025000 rw-p 00006000 08:06 1576454 /usr/lib/libsandbox.so.0.0.0
40025000-4003d000 rw-p 40025000 00:00 0
4003e000-40168000 r-xp 00000000 08:06 98625 /lib/libc-2.6.1.so
40168000-4016a000 r--p 0012a000 08:06 98625 /lib/libc-2.6.1.so
4016a000-4016b000 rw-p 0012c000 08:06 98625 /lib/libc-2.6.1.so
4016b000-4016e000 rw-p 4016b000 00:00 0
4016e000-40170000 r-xp 00000000 08:06 98623 /lib/libdl-2.6.1.so
40170000-40171000 r--p 00001000 08:06 98623 /lib/libdl-2.6.1.so
40171000-40172000 rw-p 00002000 08:06 98623 /lib/libdl-2.6.1.so
40172000-42a7d000 rw-p 40172000 00:00 0
42a82000-443fc000 rw-p 42a82000 00:00 0
44413000-4441d000 r-xp 00000000 08:06 1627556 /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libgcc_s.so.1
4441d000-4441e000 r--p 00009000 08:06 1627556 /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libgcc_s.so.1
4441e000-4441f000 rw-p 0000a000 08:06 1627556 /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libgcc_s.so.1
44500000-44521000 rw-p 44500000 00:00 0
44521000-44600000 ---p 44521000 00:00 0
bfb51000-bfb8a000 rw-p bffc7000 00:00 0 [stack]
ffffe000-fffff000 r-xp 00000000 00:00 0 [vdso]
generators/unix/unixmake.cpp: In member function 'virtual void UnixMakefileGenerator::init()':
generators/unix/unixmake.cpp:47: internal compiler error: Aborted
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:https://bugs.gentoo.org/> for instructions.


Even if I don't compile KDE 4 successfully, I'll need qt4 because of skype.

Yet another error:

Quote:
make: *** [sub-gui-all-ordered] Error 133
*
* ERROR: x11-libs/qt-4.3.3 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2451: Called die
* The specific snippet of code:
* emake all || die
* The die message:
* (no error message)
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/x11-libs/qt-4.3.3/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-libs/qt-4.3.3/temp/environment'.
*

* Messages for package x11-libs/qt-4.3.3:

*
* ERROR: x11-libs/qt-4.3.3 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2451: Called die
* The specific snippet of code:
* emake all || die
* The die message:
* (no error message)
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/x11-libs/qt-4.3.3/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-libs/qt-4.3.3/temp/environment'.
Back to top
View user's profile Send private message
pilla
Administrator
Administrator


Joined: 07 Aug 2002
Posts: 7693
Location: Pelotas, BR

PostPosted: Wed Apr 30, 2008 6:35 pm    Post subject: Reply with quote

*** glibc detected *** /usr/libexec/gcc/i686-pc-linux-gnu/4.1.2/cc1plus: double free or corruption (!prev): 0x08bcadc8 ***

I'd bet on gcc or glibc problems.... or both. Have you done revdep-rebuild after your last glibc update (supposing you've updated)?
_________________
"I'm just very selective about the reality I choose to accept." -- Calvin
Back to top
View user's profile Send private message
Zvezdichko
n00b
n00b


Joined: 25 Apr 2008
Posts: 23

PostPosted: Wed Apr 30, 2008 6:39 pm    Post subject: Reply with quote

Yeah, I have updated. But I have forgotten to revdep-rebuild (I'm doing this now). I'll report as soon as I have more info.
Back to top
View user's profile Send private message
Zvezdichko
n00b
n00b


Joined: 25 Apr 2008
Posts: 23

PostPosted: Wed Apr 30, 2008 8:41 pm    Post subject: Reply with quote

Nope, it doesn't work!

Quote:
../../include/QtGui/../../src/gui/text/qtextformat.h:422: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:https://bugs.gentoo.org/> for instructions.
The bug is not reproducible, so it is likely a hardware or OS problem.
make[2]: *** [.obj/release-shared/moc_bookwindow.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/x11-libs/qt-4.3.3/work/qt-x11-opensource-src-4.3.3/demos/books'
make[1]: *** [sub-books-all] Error 2
make[1]: Leaving directory `/var/tmp/portage/x11-libs/qt-4.3.3/work/qt-x11-opensource-src-4.3.3/demos'
make: *** [sub-demos-all-ordered] Error 2
Back to top
View user's profile Send private message
slycordinator
Advocate
Advocate


Joined: 31 Jan 2004
Posts: 3059
Location: Korea

PostPosted: Wed Apr 30, 2008 8:52 pm    Post subject: Reply with quote

As the output above puts it "it's likely either a hardware or OS issue."

OS issues can be having a crappy/old/broken toolchain or having a bad CFLAGS setting that gcc doesn't like.

And the hardware issues can be overheating, bad ram, running out of ram/swap space, etc
Back to top
View user's profile Send private message
Zvezdichko
n00b
n00b


Joined: 25 Apr 2008
Posts: 23

PostPosted: Wed Apr 30, 2008 9:34 pm    Post subject: Reply with quote

probably a hardware error, blue screens in windows, too
Back to top
View user's profile Send private message
Zvezdichko
n00b
n00b


Joined: 25 Apr 2008
Posts: 23

PostPosted: Wed Apr 30, 2008 10:59 pm    Post subject: Reply with quote

Problem solved. Bad CFLAGS. Lowered from i686 to i386.
Back to top
View user's profile Send private message
Spectre256
n00b
n00b


Joined: 21 Jan 2005
Posts: 30

PostPosted: Thu May 01, 2008 1:24 am    Post subject: Reply with quote

That shouldn't be the problem. Only a VERY old CPU would not support an i686 CHOST.
Back to top
View user's profile Send private message
Zvezdichko
n00b
n00b


Joined: 25 Apr 2008
Posts: 23

PostPosted: Thu May 01, 2008 6:49 am    Post subject: Reply with quote

That's pretty strange, because this USE flags worked for me and QT compiled successfully.

Anyway, I plan to take my computer to service, there is warranty.
Back to top
View user's profile Send private message
slycordinator
Advocate
Advocate


Joined: 31 Jan 2004
Posts: 3059
Location: Korea

PostPosted: Thu May 01, 2008 5:16 pm    Post subject: Reply with quote

Even if your CPU isn't a 686 and you chose that in error... it's still not likely that it's a 386.

Furthermore, I bet the real reason it "worked" is that compiling for a 386 is simply not as intensive on the system and as such didn't trigger the problem. It's kinda like saying that we scanned the minefield successfully when we know we skipped the areas that were known to have a bunch of mines.
Back to top
View user's profile Send private message
Zvezdichko
n00b
n00b


Joined: 25 Apr 2008
Posts: 23

PostPosted: Fri May 02, 2008 7:46 am    Post subject: Reply with quote

probably, yeah

anyway I successfully compiled the whole KDE 4 and all programmes I need.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum