| View previous topic :: View next topic |
| Author |
Message |
luisfelipe Guru

Joined: 09 Apr 2005 Posts: 377
|
Posted: Thu Mar 16, 2006 6:15 pm Post subject: |
|
|
Is anyone else having problems while compiling gcc 4.1.0 ? During the install phase, while doing something gcj related,
it just hangs and starts to use memory until it's using all my RAM + swap, and then it's killed by the kernel.
I don't have the exact line where it hangs, but it's while running make with something gcj related. |
|
| Back to top |
|
 |
geki Advocate


Joined: 13 May 2004 Posts: 2075 Location: Germania
|
|
| Back to top |
|
 |
luisfelipe Guru

Joined: 09 Apr 2005 Posts: 377
|
Posted: Thu Mar 16, 2006 7:17 pm Post subject: |
|
|
512 RAM + 1 gb swap (256 mb as a partition, and 750 as a file I created just to test this).
Shouldn't be having this kind of problems, and I wasn't until the first beta of february I think.
But I stopped messing with it then and just started again now, hoping that it was just a bug
at that specific version. |
|
| Back to top |
|
 |
Xake Guru


Joined: 11 Feb 2004 Posts: 587 Location: Göteborg, the rainy part of scandinavia
|
Posted: Fri Mar 17, 2006 8:18 am Post subject: |
|
|
| luisfelipe wrote: | 512 RAM + 1 gb swap (256 mb as a partition, and 750 as a file I created just to test this).
Shouldn't be having this kind of problems, and I wasn't until the first beta of february I think.
But I stopped messing with it then and just started again now, hoping that it was just a bug
at that specific version. |
Well since I had a load of more swap then you since my last try to compile gcj i don't know if it is that, but it surely eats A LOT of memory compiling gcj, and takes ages. My recommendation is that if you are not using it activly yourself then disable it for now (since not much uses gcj), |
|
| Back to top |
|
 |
Matteo Azzali Retired Dev


Joined: 23 Sep 2004 Posts: 1133
|
Posted: Fri Mar 17, 2006 11:04 am Post subject: |
|
|
Just a note, I checked my packages failing to compile, most (not all,see xawtv) of them have the same issue:
gcc stops cause an error about "extra qualification" these are the patches (now including more patches due to
kind developers/users) :
(omitted mupen64-riceplugin, already fixed in portage or with glibc-2.4-r1 )
These instead are packages that doesn't emerge and haven't a patch:
| Code: |
xmms-ir:
ir.c:19: error: static declaration of 'keepGoing' follows non-static declaration
ir.h:53: error: previous declaration of 'keepGoing' was here
ir.c:22: error: static declaration of 'irapp_thread' follows non-static declaration
ir.h:52: error: previous declaration of 'irapp_thread' was here
make: *** [ir.lo] Error 1
erlang:
/var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/erts/obj.hybrid.beam/i686-pc-linux-gnu/hipe_x86_signal.o: In function `sigaction':
hipe_x86_signal.c:(.text+0x10): undefined reference to `INIT'
hipe_x86_signal.c:(.text+0x6a): undefined reference to `__next_sigaction'
/var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/erts/obj.hybrid.beam/i686-pc-linux-gnu/hipe_x86_signal.o: In function `hipe_signal_init':
hipe_x86_signal.c:(.text+0x91): undefined reference to `INIT'
hipe_x86_signal.c:(.text+0xeb): undefined reference to `INIT'
hipe_x86_signal.c:(.text+0xff): undefined reference to `__next_sigaction'
hipe_x86_signal.c:(.text+0x12c): undefined reference to `INIT'
hipe_x86_signal.c:(.text+0x17b): undefined reference to `__next_sigaction'
collect2: ld returned 1 exit status
make[3]: *** [/var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/bin/i686-pc-linux-gnu/beam.hybrid] Error 1
trickle:
In file included from trickled.c:33:
/usr/include/netinet/in.h:136: error: two or more data types in declaration specifiers
/usr/include/netinet/in.h:136: error: two or more data types in declaration specifiers
make: *** [trickled.o] Error 1
|
If someone has fix suggestion (not FLAGS settings, but info on how to patch) please help... _________________ Every day a new distro comes to birth. Every day a distro "eats" another.
If you're born distro, no matter what, start to run.
---- http://www.linuxprinting.org/ ---- http://tuxmobil.org/
Last edited by Matteo Azzali on Sat Mar 18, 2006 11:29 am; edited 9 times in total |
|
| Back to top |
|
 |
geki Advocate


Joined: 13 May 2004 Posts: 2075 Location: Germania
|
Posted: Fri Mar 17, 2006 3:27 pm Post subject: |
|
|
| Xake wrote: | | since not much uses gcj |
With some overlays and tweaks you can use GCJ as JDK/JRE.
It is quite fun to see its decrease in build-time of Java applications
and some speedup in Java code execution.
It is amazing.
I upgraded the RAM of my desktop and laptop to 2GB.
With this amount you do not have problems with GCJ.
Reference:
http://forums.gentoo.org/viewtopic-t-379693.html
Have fun!  _________________ LibreOffice|split-boost|trans-follow xcb port|instruction set analyzer
_________________
sanity . . . is not with me |
|
| Back to top |
|
 |
Halcy0n Developer


Joined: 17 Sep 2003 Posts: 1682 Location: Freehold, NJ
|
Posted: Fri Mar 17, 2006 8:55 pm Post subject: |
|
|
| Matteo Azzali wrote: | These instead are packages that doesn't emerge and haven't a patch:
| Code: |
xmms-ir:
ir.c:19: error: static declaration of 'keepGoing' follows non-static declaration
ir.h:53: error: previous declaration of 'keepGoing' was here
ir.c:22: error: static declaration of 'irapp_thread' follows non-static declaration
ir.h:52: error: previous declaration of 'irapp_thread' was here
make: *** [ir.lo] Error 1
fluxbox:
ScreenResources.cc:347: error: from definition of 'void FbTk::Resource<T>::setFromString(const char*) [with T = FbTk::GContext::CapStyle]'
make[4]: *** [ScreenResources.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory `/var/tmp/portage/fluxbox-0.9.14-r1/work/fluxbox-0.9.14/src'
make[3]: *** [all-recursive] Error 1
xawtv-3.95-r1 instead stops at:
In file included from x11/vbi-gui.c:47:
./common/channel.h:93: error: array type has incomplete element type
./common/channel.h:94: error: array type has incomplete element type
erlang:
/var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/erts/obj.hybrid.beam/i686-pc-linux-gnu/hipe_x86_signal.o: In function `sigaction':
hipe_x86_signal.c:(.text+0x10): undefined reference to `INIT'
hipe_x86_signal.c:(.text+0x6a): undefined reference to `__next_sigaction'
/var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/erts/obj.hybrid.beam/i686-pc-linux-gnu/hipe_x86_signal.o: In function `hipe_signal_init':
hipe_x86_signal.c:(.text+0x91): undefined reference to `INIT'
hipe_x86_signal.c:(.text+0xeb): undefined reference to `INIT'
hipe_x86_signal.c:(.text+0xff): undefined reference to `__next_sigaction'
hipe_x86_signal.c:(.text+0x12c): undefined reference to `INIT'
hipe_x86_signal.c:(.text+0x17b): undefined reference to `__next_sigaction'
collect2: ld returned 1 exit status
make[3]: *** [/var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/bin/i686-pc-linux-gnu/beam.hybrid] Error 1
qjoypad:
layout.h:93: error: ISO C++ forbids declaration of 'LayoutEdit' with no type
layout.h:93: error: expected ';' before '*' token
error.h:8: warning: 'void error(QString, QString)' defined but not used
make: *** [layout_edit.o] Error 1
mupen64-alsasnd:
gtk1_gui.cpp: In member function 'void GTK1_Interface::setupConfigDialog()':
gtk1_gui.cpp:209: error: 'key_press_event_func' was not declared in this scope
gtk1_gui.cpp:338: error: 'loadDefaultValues' was not declared in this scope
gtk1_gui.cpp:344: error: 'begin_testing' was not declared in this scope
gtk1_gui.cpp:350: error: 'loadConfigurationFromFile' was not declared in this scope
gtk1_gui.cpp:356: error: 'saveConfigurationToFile' was not declared in this scope
gtk1_gui.cpp:364: error: 'ok_pressed' was not declared in this scope
gtk1_gui.cpp:368: error: 'cancel_config' was not declared in this scope
gtk1_gui.cpp: In function 'bool key_press_event_func(GtkWidget*, GdkEventKey*)':
gtk1_gui.cpp:396: error: 'ok_pressed' was not declared in this scope
gtk1_gui.cpp:399: error: 'cancel_config' was not declared in this scope
make: *** [gtk1_gui.o] Error 1
make: *** Waiting for unfinished jobs....
trickle:
In file included from trickled.c:33:
/usr/include/netinet/in.h:136: error: two or more data types in declaration specifiers
/usr/include/netinet/in.h:136: error: two or more data types in declaration specifiers
make: *** [trickled.o] Error 1
|
If someone has fix suggestion (not FLAGS settings, but info on how to patch) please help... |
Please file a bug for each of these if you there aren't any already. _________________ Mark Loeser
http://www.halcy0n.com |
|
| Back to top |
|
 |
Matteo Azzali Retired Dev


Joined: 23 Sep 2004 Posts: 1133
|
Posted: Fri Mar 17, 2006 9:59 pm Post subject: |
|
|
| Halcy0n wrote: |
Please file a bug for each of these if you there aren't any already. |
Ok, I filled so much bugs this month that was starting to think developers hate me.....
but I filled these too, as Gcc Porting bugs. _________________ Every day a new distro comes to birth. Every day a distro "eats" another.
If you're born distro, no matter what, start to run.
---- http://www.linuxprinting.org/ ---- http://tuxmobil.org/ |
|
| Back to top |
|
 |
Maedhros Bodhisattva


Joined: 14 Apr 2004 Posts: 5511 Location: Durham, UK
|
Posted: Sat Mar 18, 2006 12:22 pm Post subject: |
|
|
This thread's getting too long, so please follow up to the next installment: GCC 4.1 (Part 2). _________________ No-one's more important than the earthworm. |
|
| Back to top |
|
 |
|
|
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
|
|