Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
GCC 4.0 (part 2)
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... , 31, 32, 33  Next  
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
samonli
n00b
n00b


Joined: 06 Nov 2004
Posts: 29

PostPosted: Fri Sep 16, 2005 3:33 pm    Post subject: Re: I cann't ebuild pre0913 digest Reply with quote

chtephan wrote:
samonli wrote:
I had get both the latest overlay and distfiles from your site,but same wrong was happend. it would to get the gcc-4.0.2-patches-1.1.tar.bz2.


Damn. I swear, someone keeps secretly replacing the patchset on my server with the wrong one! :roll:

I'm sorry, I hope that it's fixed this time. The overlay and distfiles tarballs should finally be in sync now...


same it's.
anyway,thank you very much.i'm emerged it from gentoo's portage.
Back to top
View user's profile Send private message
rmh3093
Advocate
Advocate


Joined: 06 Aug 2003
Posts: 2138
Location: Albany, NY

PostPosted: Fri Sep 16, 2005 5:13 pm    Post subject: Reply with quote

nxsty wrote:
rmh3093 wrote:
what is the matter here???

Code:

localhost ~ # emerge =sys-devel/gcc-4.0.2_pre20050913
Calculating dependencies
!!! All ebuilds that could satisfy "=sys-devel/gcc-4.0.2_pre20050913" have been masked.
!!! One of the following masked packages is required to complete your request:
- sys-devel/gcc-4.0.2_pre20050913 (masked by: -* keyword)

For more information, see MASKED PACKAGES section in the emerge man page or
section 2.2 "Software Availability" in the Gentoo Handbook.


You need to unmask it first using /etc/portage/package.keywords.


yeah thanks I figured it out finally... i had never encountered the "-*" keyword before and was trying to unmask it with just ~x86"
_________________
Do not meddle in the affairs of wizards, for they are subtle and quick to anger.
Back to top
View user's profile Send private message
chtephan
Apprentice
Apprentice


Joined: 03 Feb 2004
Posts: 266
Location: Offenburg, Germany

PostPosted: Sun Sep 18, 2005 10:03 pm    Post subject: Reply with quote

gcc 4.0.2 RC2 is available.

No major changes there.

Ebuild available in my overlay (I really fixed the distfiles this time). See page 28 for details.

BTW: Is anyone using my ebuilds wir the hardened USE flag and/or with -D_FORTIFY_SOURCE=1 (or =2)? The vanilla ebuild doesn't support those.
Back to top
View user's profile Send private message
Exner
Tux's lil' helper
Tux's lil' helper


Joined: 08 Apr 2003
Posts: 128
Location: Melbourne, Australia

PostPosted: Mon Sep 19, 2005 8:57 am    Post subject: Reply with quote

Since gcc 4.0* is in portage now, i'm hoping they update it on a regular basis.
_________________
- Exner (Antony Suter)
Back to top
View user's profile Send private message
Halcy0n
Developer
Developer


Joined: 17 Sep 2003
Posts: 1682
Location: Freehold, NJ

PostPosted: Mon Sep 19, 2005 1:01 pm    Post subject: Reply with quote

Exner wrote:
Since gcc 4.0* is in portage now, i'm hoping they update it on a regular basis.

I've had gcc-4.0 in the tree for awhile, but I'm not going to follow snapshots in the tree anymore.

chtephan wrote:
BTW: Is anyone using my ebuilds wir the hardened USE flag and/or with -D_FORTIFY_SOURCE=1 (or =2)? The vanilla ebuild doesn't support those.

I talked to KevQuinn about this the other day. We are going to start working on getting gcc-4.0.2 hardened in the tree. You can follow everything at bug 106222
_________________
Mark Loeser
http://www.halcy0n.com
Back to top
View user's profile Send private message
chtephan
Apprentice
Apprentice


Joined: 03 Feb 2004
Posts: 266
Location: Offenburg, Germany

PostPosted: Mon Sep 19, 2005 2:14 pm    Post subject: Reply with quote

As I am always saying, I've got this working for about two months now:

http://www2.saout.de/gentoo/gcc/

The glibc stuff is straight-forward (except perhaps for the patch to make it compile with the new stack protector itself).
The toolchain.eclass integration to build spec files needs more work, it's a bit of a hack now but I also have a proposed patch to toolchain.eclass on that page (in the testing subdirectory).
Back to top
View user's profile Send private message
gralves
Guru
Guru


Joined: 20 May 2003
Posts: 389
Location: Sao Paulo, Brazil

PostPosted: Wed Sep 21, 2005 3:00 am    Post subject: Reply with quote

Where should I post bug reports about packages that do not compile on gcc4.0?
Back to top
View user's profile Send private message
Halcy0n
Developer
Developer


Joined: 17 Sep 2003
Posts: 1682
Location: Freehold, NJ

PostPosted: Wed Sep 21, 2005 5:37 am    Post subject: Reply with quote

gralves wrote:
Where should I post bug reports about packages that do not compile on gcc4.0?

If you don't have a patch, its probably best to just mention it in here, or send me an email and I'll look into it.

Edit: The number of packages not compiling should be slowly approaching 0 though. Its getting pretty good I think :)
_________________
Mark Loeser
http://www.halcy0n.com
Back to top
View user's profile Send private message
cowboy
n00b
n00b


Joined: 11 Apr 2005
Posts: 37
Location: Tomorrow

PostPosted: Wed Sep 21, 2005 5:45 am    Post subject: Reply with quote

failed emerge libsdl :(

Code:

ESD_SUPPORT -DESD_DYNAMIC=libesd.so.0 -DENABLE_X11 -DXTHREADS -I./include -I./src/video -DXFREE86_VM -DXFREE86_VMGAMMA -DXFREE86_DGAMOUSE -DDEFAULT_DGAMOUSE -DXFREE86_XV -Isrc/video -DENABLE_DGA -DENABLE_DIRECTFB -DHAVE_OPENGL -DUSE_INPUT_EVENTS -D_REENTRANT -DSDL_USE_PTHREADS -DHAVE_SIGACTION -DHAVE_LINUX_VERSION_H -I../../include -I../../include/SDL -I../../src -I../../src/main/linux -I../../src/audio -I../../src/video -I../../src/video/XFree86/extensions -I../../src/events -I../../src/joystick -I../../src/cdrom -I../../src/thread -I../../src/timer -I../../src/endian -I../../src/file -I../../src/thread -c SDL_yuv_sw.c -o SDL_yuv_sw.o >/dev/null 2>&1
make[3]: Leaving directory `/var/tmp/portage/libsdl-1.2.9/work/SDL-1.2.9/src/video'
make[2]: *** [all-recursive] 错误 1
make[2]: Leaving directory `/var/tmp/portage/libsdl-1.2.9/work/SDL-1.2.9/src/video'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/var/tmp/portage/libsdl-1.2.9/work/SDL-1.2.9/src'
make: *** [all-recursive] 错误 1

!!! ERROR: media-libs/libsdl-1.2.9 failed.
!!! Function src_compile, Line 132, Exitcode 2
!!! emake failed



Code:

Portage 2.0.52-r1 (default-linux/x86/2005.1, gcc-4.0.2-pre20050917, glibc-2.3.5.20050722-r0, 2.6.13-vidalinux1 i686)
=================================================================
System uname: 2.6.13-vidalinux1 i686 AMD Duron(tm) processor
Unknown Host Operating System
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.13
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.averse.net/pub/gentoo/ http://gentoo.gg3.net/ ftp://ftp.linuxforum.net/gentoo/"
LANG="zh_CN.UTF-8"
LINGUAS="zh_CN"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/vlos /usr/local/portage/glc"
SYNC="rsync://gentoo.gg3.net/gentoo-portage"
USE="x86 3dnow 3dnowext X acpi alsa avi berkdb bitmap-fonts cairo cdr cjk crypt cups curl dbus dga dio directfb divx4linux eds emboss encode esd fam ffmpeg firefox foomaticdb fortran ftp gdbm gif glc gnome gpm gstreamer gtk gtk2 hal howl imlib java jpeg kde ldap libg++ libwww live mad mikmod mmx mmxext mono motif mp3 mpeg nautilus ncurses nls nptl nvidia ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime readline real rtc samba sdl slang spell sse ssl svg tcpd tiff truetype truetype-fonts type1-fonts unicode v4l v4l2 vcd vorbis win32codecs xine xml2 xv zlib linguas_zh_CN userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS

Back to top
View user's profile Send private message
gralves
Guru
Guru


Joined: 20 May 2003
Posts: 389
Location: Sao Paulo, Brazil

PostPosted: Wed Sep 21, 2005 5:52 am    Post subject: Reply with quote

Halcy0n wrote:
gralves wrote:
Where should I post bug reports about packages that do not compile on gcc4.0?

If you don't have a patch, its probably best to just mention it in here, or send me an email and I'll look into it.

Edit: The number of packages not compiling should be slowly approaching 0 though. Its getting pretty good I think :)


[ebuild R ] media-gfx/blender-2.37a on AMD64

Fails to build on AMD64 and gcc 4.0.2-pre20050917 . It builds ok on the same system with gcc-3.4.4 . Not sure if it is related to not yet updating all libraries w/ 4.0.2, but it seems to be an error converting void* to int (on x86_64 it should be converted to long int instead). This should probably be sent upstream (if the error is what I'm thinking it is, it can cause a serious access violation on system with a REALLY BIG amount of ram/cache).

I can't try to compile it again right now since I'm rebuilding the system libraries, but if this span accross more than just one file it is not trivial to fix. The correct way of handling that is to have a #define integer_pointer_type somewhere and use it instead of int or long int.

edit: just to clarify my architecture.
Back to top
View user's profile Send private message
Halcy0n
Developer
Developer


Joined: 17 Sep 2003
Posts: 1682
Location: Freehold, NJ

PostPosted: Wed Sep 21, 2005 6:06 am    Post subject: Reply with quote

cowboy wrote:
failed emerge libsdl :(

Code:

ESD_SUPPORT -DESD_DYNAMIC=libesd.so.0 -DENABLE_X11 -DXTHREADS -I./include -I./src/video -DXFREE86_VM -DXFREE86_VMGAMMA -DXFREE86_DGAMOUSE -DDEFAULT_DGAMOUSE -DXFREE86_XV -Isrc/video -DENABLE_DGA -DENABLE_DIRECTFB -DHAVE_OPENGL -DUSE_INPUT_EVENTS -D_REENTRANT -DSDL_USE_PTHREADS -DHAVE_SIGACTION -DHAVE_LINUX_VERSION_H -I../../include -I../../include/SDL -I../../src -I../../src/main/linux -I../../src/audio -I../../src/video -I../../src/video/XFree86/extensions -I../../src/events -I../../src/joystick -I../../src/cdrom -I../../src/thread -I../../src/timer -I../../src/endian -I../../src/file -I../../src/thread -c SDL_yuv_sw.c -o SDL_yuv_sw.o >/dev/null 2>&1
make[3]: Leaving directory `/var/tmp/portage/libsdl-1.2.9/work/SDL-1.2.9/src/video'
make[2]: *** [all-recursive] 错误 1
make[2]: Leaving directory `/var/tmp/portage/libsdl-1.2.9/work/SDL-1.2.9/src/video'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/var/tmp/portage/libsdl-1.2.9/work/SDL-1.2.9/src'
make: *** [all-recursive] 错误 1

!!! ERROR: media-libs/libsdl-1.2.9 failed.
!!! Function src_compile, Line 132, Exitcode 2
!!! emake failed


You missed the error message, but this is a known problem. The current workaround is to use -O0 for the package until we get the asm fix committed.
_________________
Mark Loeser
http://www.halcy0n.com
Back to top
View user's profile Send private message
Halcy0n
Developer
Developer


Joined: 17 Sep 2003
Posts: 1682
Location: Freehold, NJ

PostPosted: Wed Sep 21, 2005 6:40 am    Post subject: Reply with quote

gralves wrote:
Halcy0n wrote:
gralves wrote:
Where should I post bug reports about packages that do not compile on gcc4.0?

If you don't have a patch, its probably best to just mention it in here, or send me an email and I'll look into it.

Edit: The number of packages not compiling should be slowly approaching 0 though. Its getting pretty good I think :)


[ebuild R ] media-gfx/blender-2.37a on AMD64

Fails to build on AMD64 and gcc 4.0.2-pre20050917

I'll look into this tomorrow. Its late :)
_________________
Mark Loeser
http://www.halcy0n.com
Back to top
View user's profile Send private message
zomps
n00b
n00b


Joined: 08 Dec 2004
Posts: 59

PostPosted: Wed Sep 21, 2005 5:12 pm    Post subject: Reply with quote

one more to "does not compile list"
Code:
if /bin/sh ../../libtool --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../..    -Wall -D_GNU_SOURCE -D_POSIX_C_SOURCE=200112L -I../.. -O1 -g -MT libconv_la-conv_3dnow.lo -MD -MP -MF ".deps/libconv_la-conv_3dnow.Tpo" -c -o libconv_la-conv_3dnow.lo `test -f 'conv_3dnow.c' || echo './'`conv_3dnow.c; \
then mv -f ".deps/libconv_la-conv_3dnow.Tpo" ".deps/libconv_la-conv_3dnow.Plo"; else rm -f ".deps/libconv_la-conv_3dnow.Tpo"; exit 1; fi
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -D_GNU_SOURCE -D_POSIX_C_SOURCE=200112L -I../.. -O1 -g -MT libconv_la-conv_3dnow.lo -MD -MP -MF .deps/libconv_la-conv_3dnow.Tpo -c conv_3dnow.c  -fPIC -DPIC -o .libs/libconv_la-conv_3dnow.o
conv_3dnow.c: In function 'conv_f32_s16_3dnow':
conv_3dnow.c:43: error: unknown register name 'mm0' in 'asm'
conv_3dnow.c: In function 'conv_s32_f32_3dnow':
conv_3dnow.c:68: error: unknown register name 'mm0' in 'asm'
make[3]: *** [libconv_la-conv_3dnow.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/liboil-0.3.2/work/liboil-0.3.2/liboil/conv'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/liboil-0.3.2/work/liboil-0.3.2/liboil'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/liboil-0.3.2/work/liboil-0.3.2'
make: *** [all] Error 2
Back to top
View user's profile Send private message
luca82
Guru
Guru


Joined: 22 Oct 2003
Posts: 306
Location: Somewhere Between Heaven and Hell

PostPosted: Wed Sep 21, 2005 5:22 pm    Post subject: Reply with quote

The gcc-4.0.2_pre20050917 doesn't compile with 4.0.1
Code:
In file included from /usr/include/pango-1.0/pango/pangofc-font.h:25,
                 from /usr/include/pango-1.0/pango/pangoft2.h:29,
                 from /var/tmp/portage/gcc-4.0.2_pre20050917/work/gcc-4.0.2-2005
0917/libjava/jni/gtk-peer/gdkfont.h:46,
                 from /var/tmp/portage/gcc-4.0.2_pre20050917/work/gcc-4.0.2-2005
0917/libjava/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c:42:
/usr/include/ft2build.h:56:38: error: freetype/config/ftheader.h: No such file o
r directory
In file included from /usr/include/pango-1.0/pango/pangoft2.h:29,
                 from /var/tmp/portage/gcc-4.0.2_pre20050917/work/gcc-4.0.2-2005
0917/libjava/jni/gtk-peer/gdkfont.h:46,
                 from /var/tmp/portage/gcc-4.0.2_pre20050917/work/gcc-4.0.2-2005
0917/libjava/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c:42:
/usr/include/pango-1.0/pango/pangofc-font.h:26:10: error: #include expects "FILE
NAME" or <FILENAME>
In file included from /usr/include/pango-1.0/pango/pangoft2.h:29,
                 from /var/tmp/portage/gcc-4.0.2_pre20050917/work/gcc-4.0.2-2005
0917/libjava/jni/gtk-peer/gdkfont.h:46,
                 from /var/tmp/portage/gcc-4.0.2_pre20050917/work/gcc-4.0.2-2005
0917/libjava/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c:42:
/usr/include/pango-1.0/pango/pangofc-font.h:144: error: syntax error before 'pan
go_fc_font_lock_face'
/usr/include/pango-1.0/pango/pangofc-font.h:144: warning: type defaults to 'int'
 in declaration of 'pango_fc_font_lock_face'
/usr/include/pango-1.0/pango/pangofc-font.h:144: warning: data definition has no
 type or storage class
In file included from /var/tmp/portage/gcc-4.0.2_pre20050917/work/gcc-4.0.2-2005
0917/libjava/jni/gtk-peer/gdkfont.h:46,
                 from /var/tmp/portage/gcc-4.0.2_pre20050917/work/gcc-4.0.2-2005
0917/libjava/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c:42:
/usr/include/pango-1.0/pango/pangoft2.h:48: error: syntax error before '*' token
/usr/include/pango-1.0/pango/pangoft2.h:53: error: syntax error before '*' token
/usr/include/pango-1.0/pango/pangoft2.h:60: error: syntax error before '*' token
/usr/include/pango-1.0/pango/pangoft2.h:64: error: syntax error before '*' token
/usr/include/pango-1.0/pango/pangoft2.h:68: error: syntax error before '*' token
/usr/include/pango-1.0/pango/pangoft2.h:72: error: syntax error before '*' token
/usr/include/pango-1.0/pango/pangoft2.h:103: error: syntax error before 'pango_f
t2_font_get_face'
/usr/include/pango-1.0/pango/pangoft2.h:103: warning: type defaults to 'int' in
declaration of 'pango_ft2_font_get_face'
/usr/include/pango-1.0/pango/pangoft2.h:103: warning: data definition has no typ
e or storage class
make[3]: *** [jni/gtk-peer/lib_gnu_java_awt_peer_gtk_la-gnu_java_awt_peer_gtk_Gd
kTextLayout.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/gcc-4.0.2_pre20050917/work/build/i6
86-pc-linux-gnu/libjava'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gcc-4.0.2_pre20050917/work/build/i6
86-pc-linux-gnu/libjava'
make[1]: *** [all-target-libjava] Error 2
make[1]: Leaving directory `/var/tmp/portage/gcc-4.0.2_pre20050917/work/build'
make: *** [profiledbootstrap] Error 2

!!! ERROR: sys-devel/gcc-4.0.2_pre20050917 failed.
!!! Function gcc_do_make, Line 1173, Exitcode 2
!!! emake failed with profiledbootstrap
!!! If you need support, post the topmost build error, NOT this status message.
Back to top
View user's profile Send private message
gralves
Guru
Guru


Joined: 20 May 2003
Posts: 389
Location: Sao Paulo, Brazil

PostPosted: Wed Sep 21, 2005 5:54 pm    Post subject: Reply with quote

Anyone has had success compiling xorg-x11 w/ gcc-4.0.2_pre20050917?

Code:

In file included from /usr/include/sys/types.h:7,
                 from /usr/include/gentoo-multilib/amd64/stdlib.h:436,
                 from /usr/include/stdlib.h:7,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/4.0.2-pre20050917/include/mm_malloc.h:30,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/4.0.2-pre20050917/include/xmmintrin.h:41,
                 from fbmmx.c:37:
/usr/include/gentoo-multilib/amd64/sys/types.h:151: error: duplicate ‘unsigned’
In file included from /usr/include/stdlib.h:7,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/4.0.2-pre20050917/include/mm_malloc.h:30,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/4.0.2-pre20050917/include/xmmintrin.h:41,
                 from fbmmx.c:37:
/usr/include/gentoo-multilib/amd64/stdlib.h:626:24: error: macro "abort" passed 1 arguments, but takes just 0
make[5]: ** [fbmmx.o] Erro 1
make[5]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r4/work/xc/programs/Xserver/fb'
make[4]: ** [fb] Erro 2
make[4]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r4/work/xc/programs/Xserver'
make[3]: ** [all] Erro 2
make[3]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r4/work/xc/programs'
make[2]: ** [all] Erro 2
make[2]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r4/work/xc'
make[1]: ** [World] Erro 2
make[1]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r4/work/xc'
make: ** [World] Erro 2

Back to top
View user's profile Send private message
nxsty
Veteran
Veteran


Joined: 23 Jun 2004
Posts: 1556
Location: .se

PostPosted: Wed Sep 21, 2005 6:25 pm    Post subject: Reply with quote

gralves wrote:
Anyone has had success compiling xorg-x11 w/ gcc-4.0.2_pre20050917?


You need to use the ~unstable version 6.8.2-r5.
Back to top
View user's profile Send private message
nxsty
Veteran
Veteran


Joined: 23 Jun 2004
Posts: 1556
Location: .se

PostPosted: Wed Sep 21, 2005 6:31 pm    Post subject: Reply with quote

luca82 wrote:
The gcc-4.0.2_pre20050917 doesn't compile with 4.0.1

That's likely not a compiler problem:
Quote:
/usr/include/ft2build.h:56:38: error: freetype/config/ftheader.h: No such file or directory

Try with USE="-gtk"!
Back to top
View user's profile Send private message
geki
Advocate
Advocate


Joined: 13 May 2004
Posts: 2107
Location: Germania

PostPosted: Wed Sep 21, 2005 6:51 pm    Post subject: Reply with quote

luca82 you got that file?
Quote:
# equery belongs /usr/include/freetype2/freetype/config/ftheader.h
[ Searching for file(s) /usr/include/freetype2/freetype/config/ftheader.h in *... ]
media-libs/freetype-2.1.10 (/usr/include/freetype2/freetype/config/ftheader.h)

_________________
LibreOffice|boost|trans-follow xcb|instruction set analyzer
___
the freedom of choice to do otherwise
Back to top
View user's profile Send private message
Halcy0n
Developer
Developer


Joined: 17 Sep 2003
Posts: 1682
Location: Freehold, NJ

PostPosted: Wed Sep 21, 2005 7:56 pm    Post subject: Reply with quote

zomps wrote:
one more to "does not compile list"
Code:
if /bin/sh ../../libtool --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../..    -Wall -D_GNU_SOURCE -D_POSIX_C_SOURCE=200112L -I../.. -O1 -g -MT libconv_la-conv_3dnow.lo -MD -MP -MF ".deps/libconv_la-conv_3dnow.Tpo" -c -o libconv_la-conv_3dnow.lo `test -f 'conv_3dnow.c' || echo './'`conv_3dnow.c; \
then mv -f ".deps/libconv_la-conv_3dnow.Tpo" ".deps/libconv_la-conv_3dnow.Plo"; else rm -f ".deps/libconv_la-conv_3dnow.Tpo"; exit 1; fi
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -D_GNU_SOURCE -D_POSIX_C_SOURCE=200112L -I../.. -O1 -g -MT libconv_la-conv_3dnow.lo -MD -MP -MF .deps/libconv_la-conv_3dnow.Tpo -c conv_3dnow.c  -fPIC -DPIC -o .libs/libconv_la-conv_3dnow.o
conv_3dnow.c: In function 'conv_f32_s16_3dnow':
conv_3dnow.c:43: error: unknown register name 'mm0' in 'asm'
conv_3dnow.c: In function 'conv_s32_f32_3dnow':
conv_3dnow.c:68: error: unknown register name 'mm0' in 'asm'
make[3]: *** [libconv_la-conv_3dnow.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/liboil-0.3.2/work/liboil-0.3.2/liboil/conv'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/liboil-0.3.2/work/liboil-0.3.2/liboil'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/liboil-0.3.2/work/liboil-0.3.2'
make: *** [all] Error 2

Try the patch on this bug: https://bugs.gentoo.org/show_bug.cgi?id=106023

If it works for you, please comment on the bug saying so.
_________________
Mark Loeser
http://www.halcy0n.com
Back to top
View user's profile Send private message
gralves
Guru
Guru


Joined: 20 May 2003
Posts: 389
Location: Sao Paulo, Brazil

PostPosted: Wed Sep 21, 2005 11:23 pm    Post subject: Reply with quote

opensp causes gcc-4.0.2_pre20050917 to segfault if -Ox is different than -O1. ( I have no idea why)
Back to top
View user's profile Send private message
gralves
Guru
Guru


Joined: 20 May 2003
Posts: 389
Location: Sao Paulo, Brazil

PostPosted: Wed Sep 21, 2005 11:37 pm    Post subject: Reply with quote

nxsty wrote:
gralves wrote:
Anyone has had success compiling xorg-x11 w/ gcc-4.0.2_pre20050917?


You need to use the ~unstable version 6.8.2-r5.


Still getting the same error:

Code:

In file included from /usr/include/sys/types.h:7,
                 from /usr/include/gentoo-multilib/amd64/stdlib.h:436,
                 from /usr/include/stdlib.h:7,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/4.0.2-pre20050917/include/mm_malloc.h:30,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/4.0.2-pre20050917/include/xmmintrin.h:41,
                 from fbmmx.c:37:
/usr/include/gentoo-multilib/amd64/sys/types.h:151: error: duplicate ‘unsigned’
In file included from /usr/include/stdlib.h:7,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/4.0.2-pre20050917/include/mm_malloc.h:30,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/4.0.2-pre20050917/include/xmmintrin.h:41,
                 from fbmmx.c:37:
/usr/include/gentoo-multilib/amd64/stdlib.h:626:24: error: macro "abort" passed 1 arguments, but takes just 0
make[5]: ** [fbmmx.o] Erro 1
make[5]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r5/work/xc/programs/Xserver/fb'
make[4]: ** [fb] Erro 2
make[4]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r5/work/xc/programs/Xserver'
make[3]: ** [all] Erro 2
make[3]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r5/work/xc/programs'
make[2]: ** [all] Erro 2
make[2]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r5/work/xc'
make[1]: ** [World] Erro 2
make[1]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r5/work/xc'
make: ** [World] Erro 2

!!! ERROR: x11-base/xorg-x11-6.8.2-r5 failed.
!!! Function build, Line 974, Exitcode 2
!!! make World failed
!!! If you need support, post the topmost build error, NOT this status message.

Back to top
View user's profile Send private message
Halcy0n
Developer
Developer


Joined: 17 Sep 2003
Posts: 1682
Location: Freehold, NJ

PostPosted: Wed Sep 21, 2005 11:55 pm    Post subject: Reply with quote

gralves wrote:
nxsty wrote:
gralves wrote:
Anyone has had success compiling xorg-x11 w/ gcc-4.0.2_pre20050917?


You need to use the ~unstable version 6.8.2-r5.


Still getting the same error:

When did you last sync? This fix was committed last night.
_________________
Mark Loeser
http://www.halcy0n.com
Back to top
View user's profile Send private message
gralves
Guru
Guru


Joined: 20 May 2003
Posts: 389
Location: Sao Paulo, Brazil

PostPosted: Thu Sep 22, 2005 12:24 am    Post subject: Reply with quote

Shouldn't the -r of the ebuilds change when a new patch is applied?

I synced and now it seems to be compiling... Let's wait and see...
Back to top
View user's profile Send private message
Halcy0n
Developer
Developer


Joined: 17 Sep 2003
Posts: 1682
Location: Freehold, NJ

PostPosted: Thu Sep 22, 2005 12:39 am    Post subject: Reply with quote

gralves wrote:
Shouldn't the -r of the ebuilds change when a new patch is applied?

I synced and now it seems to be compiling... Let's wait and see...

Not if its a build error. The patch isn't going to help anyone that already was able to compile the package.
_________________
Mark Loeser
http://www.halcy0n.com
Back to top
View user's profile Send private message
gralves
Guru
Guru


Joined: 20 May 2003
Posts: 389
Location: Sao Paulo, Brazil

PostPosted: Thu Sep 22, 2005 1:08 am    Post subject: Reply with quote

Halcy0n wrote:
gralves wrote:
Shouldn't the -r of the ebuilds change when a new patch is applied?

I synced and now it seems to be compiling... Let's wait and see...

Not if its a build error. The patch isn't going to help anyone that already was able to compile the package.


Thanks for the clarification. I have just finished compiling system.

Time to start compiling world :twisted:
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Portage & Programming All times are GMT
Goto page Previous  1, 2, 3 ... , 31, 32, 33  Next
Page 32 of 33

 
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