Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

GCC 4.0 (part 2)

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Locked
Advanced search
811 posts
  • Page 32 of 33
    • Jump to page:
  • Previous
  • 1
  • …
  • 29
  • 30
  • 31
  • 32
  • 33
  • Next
Author
Message
samonli
n00b
n00b
Posts: 29
Joined: Sat Nov 06, 2004 12:11 pm

Re: I cann't ebuild pre0913 digest

Post by samonli » Fri Sep 16, 2005 3:33 pm

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.
Top
rmh3093
Advocate
Advocate
User avatar
Posts: 2138
Joined: Wed Aug 06, 2003 10:36 pm
Location: Albany, NY

Post by rmh3093 » Fri Sep 16, 2005 5:13 pm

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

Code: Select all

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.
Top
chtephan
Apprentice
Apprentice
User avatar
Posts: 266
Joined: Tue Feb 03, 2004 5:11 pm
Location: Offenburg, Germany
Contact:
Contact chtephan
Website

Post by chtephan » Sun Sep 18, 2005 10:03 pm

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.
Top
Exner
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 128
Joined: Tue Apr 08, 2003 3:01 am
Location: Melbourne, Australia
Contact:
Contact Exner
Website

Post by Exner » Mon Sep 19, 2005 8:57 am

Since gcc 4.0* is in portage now, i'm hoping they update it on a regular basis.
- Exner (Antony Suter)
Top
Halcy0n
Developer
Developer
User avatar
Posts: 1682
Joined: Wed Sep 17, 2003 5:09 am
Location: Freehold, NJ
Contact:
Contact Halcy0n
Website

Post by Halcy0n » Mon Sep 19, 2005 1:01 pm

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
Top
chtephan
Apprentice
Apprentice
User avatar
Posts: 266
Joined: Tue Feb 03, 2004 5:11 pm
Location: Offenburg, Germany
Contact:
Contact chtephan
Website

Post by chtephan » Mon Sep 19, 2005 2:14 pm

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).
Top
gralves
Guru
Guru
Posts: 389
Joined: Tue May 20, 2003 8:16 am
Location: Sao Paulo, Brazil

Post by gralves » Wed Sep 21, 2005 3:00 am

Where should I post bug reports about packages that do not compile on gcc4.0?
Top
Halcy0n
Developer
Developer
User avatar
Posts: 1682
Joined: Wed Sep 17, 2003 5:09 am
Location: Freehold, NJ
Contact:
Contact Halcy0n
Website

Post by Halcy0n » Wed Sep 21, 2005 5:37 am

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
Top
cowboy
n00b
n00b
Posts: 37
Joined: Mon Apr 11, 2005 11:54 am
Location: Tomorrow

Post by cowboy » Wed Sep 21, 2005 5:45 am

failed emerge libsdl :(

Code: Select all

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: Select all

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

Top
gralves
Guru
Guru
Posts: 389
Joined: Tue May 20, 2003 8:16 am
Location: Sao Paulo, Brazil

Post by gralves » Wed Sep 21, 2005 5:52 am

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.
Top
Halcy0n
Developer
Developer
User avatar
Posts: 1682
Joined: Wed Sep 17, 2003 5:09 am
Location: Freehold, NJ
Contact:
Contact Halcy0n
Website

Post by Halcy0n » Wed Sep 21, 2005 6:06 am

cowboy wrote:failed emerge libsdl :(

Code: Select all

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
Top
Halcy0n
Developer
Developer
User avatar
Posts: 1682
Joined: Wed Sep 17, 2003 5:09 am
Location: Freehold, NJ
Contact:
Contact Halcy0n
Website

Post by Halcy0n » Wed Sep 21, 2005 6:40 am

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
Top
zomps
n00b
n00b
User avatar
Posts: 59
Joined: Wed Dec 08, 2004 7:35 pm

Post by zomps » Wed Sep 21, 2005 5:12 pm

one more to "does not compile list"

Code: Select all

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
Top
luca82
Guru
Guru
User avatar
Posts: 306
Joined: Wed Oct 22, 2003 7:29 am
Location: Somewhere Between Heaven and Hell

Post by luca82 » Wed Sep 21, 2005 5:22 pm

The gcc-4.0.2_pre20050917 doesn't compile with 4.0.1

Code: Select all

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.
Top
gralves
Guru
Guru
Posts: 389
Joined: Tue May 20, 2003 8:16 am
Location: Sao Paulo, Brazil

Post by gralves » Wed Sep 21, 2005 5:54 pm

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

Code: Select all

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

Top
nxsty
Veteran
Veteran
User avatar
Posts: 1556
Joined: Wed Jun 23, 2004 7:00 pm
Location: .se
Contact:
Contact nxsty
Website

Post by nxsty » Wed Sep 21, 2005 6:25 pm

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.
Top
nxsty
Veteran
Veteran
User avatar
Posts: 1556
Joined: Wed Jun 23, 2004 7:00 pm
Location: .se
Contact:
Contact nxsty
Website

Post by nxsty » Wed Sep 21, 2005 6:31 pm

luca82 wrote:The gcc-4.0.2_pre20050917 doesn't compile with 4.0.1
That's likely not a compiler problem:
/usr/include/ft2build.h:56:38: error: freetype/config/ftheader.h: No such file or directory
Try with USE="-gtk"!
Top
geki
Advocate
Advocate
User avatar
Posts: 2387
Joined: Thu May 13, 2004 8:59 pm
Location: Germania
Contact:
Contact geki
Website

Post by geki » Wed Sep 21, 2005 6:51 pm

luca82 you got that file?
# 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)
hear hear
Top
Halcy0n
Developer
Developer
User avatar
Posts: 1682
Joined: Wed Sep 17, 2003 5:09 am
Location: Freehold, NJ
Contact:
Contact Halcy0n
Website

Post by Halcy0n » Wed Sep 21, 2005 7:56 pm

zomps wrote:one more to "does not compile list"

Code: Select all

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
Top
gralves
Guru
Guru
Posts: 389
Joined: Tue May 20, 2003 8:16 am
Location: Sao Paulo, Brazil

Post by gralves » Wed Sep 21, 2005 11:23 pm

opensp causes gcc-4.0.2_pre20050917 to segfault if -Ox is different than -O1. ( I have no idea why)
Top
gralves
Guru
Guru
Posts: 389
Joined: Tue May 20, 2003 8:16 am
Location: Sao Paulo, Brazil

Post by gralves » Wed Sep 21, 2005 11:37 pm

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: Select all

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.

Top
Halcy0n
Developer
Developer
User avatar
Posts: 1682
Joined: Wed Sep 17, 2003 5:09 am
Location: Freehold, NJ
Contact:
Contact Halcy0n
Website

Post by Halcy0n » Wed Sep 21, 2005 11:55 pm

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
Top
gralves
Guru
Guru
Posts: 389
Joined: Tue May 20, 2003 8:16 am
Location: Sao Paulo, Brazil

Post by gralves » Thu Sep 22, 2005 12:24 am

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...
Top
Halcy0n
Developer
Developer
User avatar
Posts: 1682
Joined: Wed Sep 17, 2003 5:09 am
Location: Freehold, NJ
Contact:
Contact Halcy0n
Website

Post by Halcy0n » Thu Sep 22, 2005 12:39 am

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
Top
gralves
Guru
Guru
Posts: 389
Joined: Tue May 20, 2003 8:16 am
Location: Sao Paulo, Brazil

Post by gralves » Thu Sep 22, 2005 1:08 am

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:
Top
Locked

811 posts
  • Page 32 of 33
    • Jump to page:
  • Previous
  • 1
  • …
  • 29
  • 30
  • 31
  • 32
  • 33
  • Next

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic