Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
GCC 4.4.0 testing
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4 ... 14, 15, 16  Next  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
keet
Guru
Guru


Joined: 09 Sep 2008
Posts: 571

PostPosted: Tue Dec 30, 2008 4:22 pm    Post subject: Reply with quote

Xake wrote:
You may ave keyworded it, but have you unmasked it?
If you do not know how to unmask it, are you sure gcc-4.4 is something for you?


I already keyworded and unmasked it in /etc/portage/package.unmask and /usr/portage/profiles/package.unmask, but I can't emerge it.

I already upgraded to gcc 4.3.2 a couple months ago, but disliked having to keyword so many packages just to make them compile, so I went back to 4.1.2 . Now, though, I feel like trying again with 4.4.0 , since I'm more experienced at it.


Last edited by keet on Tue Dec 30, 2008 5:35 pm; edited 1 time in total
Back to top
View user's profile Send private message
pdw_hu
Apprentice
Apprentice


Joined: 02 Jun 2008
Posts: 200
Location: Budapest, Hungary

PostPosted: Tue Dec 30, 2008 4:25 pm    Post subject: Reply with quote

Alrighty, just re-emerged my world with gcc 4.4 from dirtyepics overlay. 5 packages failed:

net-libs/libtorrent-0.12.4
net-p2p/rtorrent-0.8.4-r1
media-libs/musicbrainz-3.0.2
net-libs/xulrunner-1.9.0.5
mail-client/mozilla-thunderbird-2.0.0.18

I also encountered that issue with nspr of websites being rendered totally messed up.

Edit: Oh, this is amd64 btw.


Last edited by pdw_hu on Tue Dec 30, 2008 9:50 pm; edited 1 time in total
Back to top
View user's profile Send private message
keet
Guru
Guru


Joined: 09 Sep 2008
Posts: 571

PostPosted: Tue Dec 30, 2008 7:16 pm    Post subject: Reply with quote

sys-devel/gcc is in my package.keywords and package.unmask files. However, when I try to emerge it, it still says:

Code:

emerge -av =sys-devel/gcc-4.4.0_pre9999
!!! All ebuilds that could satisfy "=sys-devel/gcc-4.4.0_pre9999" have been masked.
!!! One of the following masked packages is required to complete your request:
- sys-devel/gcc-4.4.0_pre9999 (masked by: missing keyword)


Maybe it's because I'm using AMD64, and this package is only for x86? I know how to mask and unmask packages. I have portage unmasked so I can use version 2.2, so that's not my problem. Can anyone help?
Back to top
View user's profile Send private message
alex.blackbit
Advocate
Advocate


Joined: 26 Jul 2005
Posts: 2397

PostPosted: Tue Dec 30, 2008 7:18 pm    Post subject: Reply with quote

try this
Code:
sys-devel/gcc:4.4-svn **

in your package.keywords.
Back to top
View user's profile Send private message
Basso Buffo
n00b
n00b


Joined: 19 Oct 2007
Posts: 24
Location: North Carolina, USA

PostPosted: Tue Dec 30, 2008 9:10 pm    Post subject: Reply with quote

Responding to my own post dated December 11, regarding ImageMagick:

I've discovered that ImageMagick will compile just as nicely as ever, provided that openmp is NOT enabled in your USE flags. OpenMP is a shared memory multiprocessing library, of which ImageMagick makes extensive use, and there's an issue in the PNM module that triggers an ICE in GCC 4.4's OpenMP implementation.

The stock imagemagick ebuilds in the portage tree will only allow openmp to be used if you are using GCC 4.3 built with openmp in your use flags. I had rolled my own imagemagick ebuild in an attempt to use it with GCC 4.4. The long and short of it is that OpenMP should still be regarded as a GCC-4.3-only feature until further notice.
Back to top
View user's profile Send private message
keet
Guru
Guru


Joined: 09 Sep 2008
Posts: 571

PostPosted: Tue Dec 30, 2008 10:06 pm    Post subject: Reply with quote

alex.blackbit wrote:
try this
Code:
sys-devel/gcc:4.4-svn **

in your package.keywords.


That works. Thank you! It's emerging now. Hopefully it will work.

I got an error until I opened port 3690 on my firewall, but now it's working.... so far.
Back to top
View user's profile Send private message
Basso Buffo
n00b
n00b


Joined: 19 Oct 2007
Posts: 24
Location: North Carolina, USA

PostPosted: Wed Dec 31, 2008 2:24 am    Post subject: Reply with quote

The OpenMP issue with ImageMagick has apparently been fixed in GCC with revision 142970.
Back to top
View user's profile Send private message
keet
Guru
Guru


Joined: 09 Sep 2008
Posts: 571

PostPosted: Wed Dec 31, 2008 3:09 am    Post subject: Reply with quote

It finished compiling, but failed to install:

Code:
* Messages for package sys-devel/gcc-4.4.0_pre9999:

 * This package will overwrite one or more files that may belong to other
 * packages (see list below). You can use a command such as `portageq
 * owners / <filename>` to identify the installed package that owns a
 * file. If portageq reports that only one package owns a file then do
 * NOT file a bug report. A bug report is only useful if it identifies at
 * least two or more packages that are known to install the same file(s).
 * If a collision occurs and you can not explain where the file came from
 * then you should simply ignore the collision since there is not enough
 * information to determine if a real problem exists. Please do NOT file
 * a bug report at http://bugs.gentoo.org unless you report exactly which
 * two packages install the same file(s). Once again, please do NOT file
 * a bug report unless you have completely understood the above message.
 *
 * Detected file collision(s):
 *
 *      /usr/lib64/security/classpath.security
 *
 * Searching all installed packages for file collisions...
 *
 * Press Ctrl-C to Stop
 *
 * sys-devel/gcc-4.3.2-r2
 *      /usr/lib64/security/classpath.security
 *
 * Package 'sys-devel/gcc-4.4.0_pre9999' NOT merged due to file
 * collisions. If necessary, refer to your elog messages for the whole
 * content of the above message.


Any help?
Back to top
View user's profile Send private message
alex.blackbit
Advocate
Advocate


Joined: 26 Jul 2005
Posts: 2397

PostPosted: Wed Dec 31, 2008 11:57 am    Post subject: Reply with quote

keet, read the complete thread. i had the same problem and solved it.
Back to top
View user's profile Send private message
keet
Guru
Guru


Joined: 09 Sep 2008
Posts: 571

PostPosted: Wed Dec 31, 2008 4:51 pm    Post subject: Reply with quote

alex.blackbit wrote:
keet, read the complete thread. i had the same problem and solved it.


Thank you. Sorry, it was late at night and I was using a text browser, so I was being lazy (I hadn't loaded any DM's). It seemed to emerge correctly -- it still gave the warning, but it said that it installed despite the problem. Now I'm emerging -e system, then world. I love how quickly things compile with my quad-core processor :-) My laptop still hasn't finished emerging gcc (and glibc), despite having begun last night.
Back to top
View user's profile Send private message
SlashBeast
Retired Dev
Retired Dev


Joined: 23 May 2006
Posts: 2922

PostPosted: Wed Dec 31, 2008 5:10 pm    Post subject: Reply with quote

ot, tip: for emerge -e world (or somethng) imho good idea is using jobs for emerge and gcc at the same time, like that:
Code:
MAKEOPTS="-j2" emerge -e world --keep-going -j2
Back to top
View user's profile Send private message
keet
Guru
Guru


Joined: 09 Sep 2008
Posts: 571

PostPosted: Wed Dec 31, 2008 7:00 pm    Post subject: Final results Reply with quote

Here's my summary of the upgrade to GCC 4.4.0_pre9999 from the dirtyepic overlay:

Failed packages (out of 618):

net-nds/openldap-2.3.43 (even keyworded and masked versions wouldn't install)
dev-libs/boost-1.34.1-r2 (
dev-libs/cyrus-sasl-2.1.22-r2
app-misc/strigi-0.5.11 and 0.6.9999
app-office/kspread-1.6.2 and 1.6.3
net-libs/xulrunner-1.9.0.5
net-p2p/deluge-0.5.9.3
kde-base/kopete-4.1.3
kde-base/libkleo-4.1.3
app-emulation/virtualbox-ose-1.6.6 and 2.0.6
app-office/openoffice-3.0.0

Problems:

dev-libs/nspr-4.7.3 causes web pages to be misrendered. Compiling with gcc 4.3.2 works.
games-emulation/xmame-0.106 failed, but compiled and installed on the second try.
Kernel 2.6.27.r7 wouldn't compile.
A somewhat frequently occuring error message:
Code:
"scanelf: Sorry, long names not yet supported; output will be incomplete for /var/tmp/portage/sys-libs/glibc-2.7-r2/image/usr/lib64/libm.a"
[and others]

I sought this error on Google, the forums here, and Gentoo's Bugzilla site, but found nothing. Has anyone else seen it?
Back to top
View user's profile Send private message
Genewb
Apprentice
Apprentice


Joined: 09 Jan 2007
Posts: 165

PostPosted: Fri Jan 02, 2009 8:40 pm    Post subject: Reply with quote

One more problem package: backgrounds are red in terminals that use vte if vte is compiled with 20081226.
_________________
I don't give a darn about "experience", just functional copyleft software.
Back to top
View user's profile Send private message
Basso Buffo
n00b
n00b


Joined: 19 Oct 2007
Posts: 24
Location: North Carolina, USA

PostPosted: Mon Jan 05, 2009 5:20 pm    Post subject: Reply with quote

Geneweb -- thanks for the tip about vte. I couldn't figure out what was causing the red, so I switched to <shudder>xterm</shudder>. I'll recompile vte with 4.2.3 and go back to being civilized.
Back to top
View user's profile Send private message
Basso Buffo
n00b
n00b


Joined: 19 Oct 2007
Posts: 24
Location: North Carolina, USA

PostPosted: Tue Jan 06, 2009 4:11 am    Post subject: Reply with quote

dev-util/valgrind also fails under GCC 4.4, but compiles cleanly under 4.2.4. Over the next few days I'll try to track down the problem.
Back to top
View user's profile Send private message
unK
l33t
l33t


Joined: 06 Feb 2007
Posts: 769

PostPosted: Tue Jan 06, 2009 12:31 pm    Post subject: Reply with quote

Basso Buffo wrote:
dev-util/valgrind also fails under GCC 4.4, but compiles cleanly under 4.2.4. Over the next few days I'll try to track down the problem.

Hmm, it compiles fine for me, valgrind-3.4.0, x86_64, gcc 4.4-svn, rev. 142977.
_________________
ncmpcpp - featureful ncurses based MPD client inspired by ncmpc
Back to top
View user's profile Send private message
Basso Buffo
n00b
n00b


Joined: 19 Oct 2007
Posts: 24
Location: North Carolina, USA

PostPosted: Sun Jan 11, 2009 5:10 am    Post subject: Reply with quote

unK, I am using exactly the same revision of GCC, and the same version of valgrind. The error I get is:
Code:
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -I../coregrind -I.. -I../coregrind/x86 -I../coregrind/linux -I../coregrind/x86-linux -I../include -I../VEX/pub -DVG_PLATFORM="\"x86-linux\"" -DVGA_x86=1 -DVGO_linux=1 -DVGP_x86_linux=1 -DVG_LIBDIR="\"/usr/lib64/valgrind"\"   -m32 -fno-stack-protector -O2 -g -Wmissing-prototypes -Wall -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations -Wno-format-zero-length -fno-strict-aliasing -march=athlon64 -O3 -pipe -Wno-long-long -Wno-pointer-sign -Wdeclaration-after-statement -fno-stack-protector -MT libcoregrind_x86_linux_a-m_libcassert.o -MD -MP -MF .deps/libcoregrind_x86_linux_a-m_libcassert.Tpo -c -o libcoregrind_x86_linux_a-m_libcassert.o `test -f 'm_libcassert.c' || echo './'`m_libcassert.c
m_libcassert.c: Assembler messages:
m_libcassert.c:140: Error: symbol `m_libcassert_get_ip' is already defined
make[3]: *** [libcoregrind_x86_linux_a-m_libcassert.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/dev-util/valgrind-3.4.0/work/valgrind-3.4.0/coregrind'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/dev-util/valgrind-3.4.0/work/valgrind-3.4.0/coregrind'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-util/valgrind-3.4.0/work/valgrind-3.4.0'
make: *** [all] Error 2

Hmm. It appears that for some reason x86-specific constants are being defined (-DVGP_x86_linux=1) instead of their AMD64 counterparts (-DVGP_amd64_linux). This bears a bit more research.
Back to top
View user's profile Send private message
unK
l33t
l33t


Joined: 06 Feb 2007
Posts: 769

PostPosted: Sun Jan 11, 2009 3:26 pm    Post subject: Reply with quote

Strange.

Btw, if glibc is compiled with gcc-4.4, apps that use libpthread doesn't run in gdb (glibc recompilation with gcc-4.3.2 helps).
_________________
ncmpcpp - featureful ncurses based MPD client inspired by ncmpc
Back to top
View user's profile Send private message
Letharion
Veteran
Veteran


Joined: 13 Jun 2005
Posts: 1344
Location: Sweden

PostPosted: Tue Jan 13, 2009 1:37 pm    Post subject: Reply with quote

Hi, maybe I'm missing something really obvious here, but where is dirtyepic's overlay?
I'd like to try 4.4 too, but can't seem to google up the adress. Thanks :)
Back to top
View user's profile Send private message
SlashBeast
Retired Dev
Retired Dev


Joined: 23 May 2006
Posts: 2922

PostPosted: Tue Jan 13, 2009 1:40 pm    Post subject: Reply with quote

Code:
svn co http://overlays.gentoo.org/svn/dev/dirtyepic
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8938

PostPosted: Tue Jan 13, 2009 2:07 pm    Post subject: Reply with quote

or
Code:
layman -a dirtyepic
Back to top
View user's profile Send private message
Letharion
Veteran
Veteran


Joined: 13 Jun 2005
Posts: 1344
Location: Sweden

PostPosted: Tue Jan 13, 2009 5:55 pm    Post subject: Reply with quote

Hmm, ok thanks. Doesn't work, but I'm guessing that's getting off-topic, so I'll take it elsewhere :)
Thank you for your time.
Back to top
View user's profile Send private message
Dont Panic
Guru
Guru


Joined: 20 Jun 2007
Posts: 322
Location: SouthEast U.S.A.

PostPosted: Wed Jan 14, 2009 3:05 am    Post subject: Reply with quote

There's been some issues recently with layman as they have relocated the default directory for overlays from /usr/portage/local/ to /usr/local/portage/.

You may want to check to see if your layman is working at all by trying some other overlays.
Back to top
View user's profile Send private message
melinux
n00b
n00b


Joined: 25 May 2006
Posts: 59
Location: Malta

PostPosted: Mon Jan 26, 2009 8:05 am    Post subject: Reply with quote

@keet
For the scanelf bug you need to emerge pax-utils.
There's a bug report here:
https://bugs.gentoo.org/show_bug.cgi?id=252855
Back to top
View user's profile Send private message
neuron
Advocate
Advocate


Joined: 28 May 2002
Posts: 2371

PostPosted: Tue Jan 27, 2009 11:19 pm    Post subject: Reply with quote

signing up to this thread, 4.4 has potentional :)
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
Goto page Previous  1, 2, 3, 4 ... 14, 15, 16  Next
Page 3 of 16

 
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