View previous topic :: View next topic |
Author |
Message |
headache Apprentice
Joined: 26 May 2004 Posts: 226
|
Posted: Fri Jul 09, 2004 4:25 pm Post subject: |
|
|
Ok, I tried to add the -m32 flag to my CFLAGS but that gave me just more headache
From config.log:
Code: |
configure:1668: gcc -O2 -m32 -fPIC -pipe -funroll-loops conftest.c >&5
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.1/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.1/./libgcc.a when searching for -lgcc
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.1/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.1/libgcc.a when searching for -lgcc
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.1/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.1/./libgcc.a when searching for -lgcc
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.1/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.1/libgcc.a when searching for -lgcc
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.1/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lgcc
collect2: ld returned 1 exit status
|
_________________ "I'd rather have a President who does it to a woman than one who does it to his country" -- Shirley Maclaine
Liberal (adj.): Free from bigotry; open to progress; tolerant of others. |
|
Back to top |
|
|
fafhrd Retired Dev
Joined: 14 May 2002 Posts: 431 Location: Williamstown, MA
|
Posted: Fri Jul 09, 2004 5:05 pm Post subject: |
|
|
headache -
sorry, should've posted, i was asking some other dev's last night about the possiblity of using that flag in these ebuilds, and the general answer i got went along the lines of "OH GOD NO!" ...
we're going to have to keep testing these, but I'm working on redoing libffi ebuilds "the right way" (got some more advice from devs)
I'm also discussing this on the GNUstep lists, and at the moment, the general answers start like "yeah.....here's the thing...."
i'll keep you posted. _________________ jñanam bandha |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20090
|
Posted: Fri Jul 09, 2004 5:09 pm Post subject: |
|
|
fafhrd wrote: | I'm also discussing this on the GNUstep lists, and at the moment, the general answers start like "yeah.....here's the thing...." | Hehe.
fafhrd: Since your webserver is down, I could put up the other stuff (besides the tarball) at dev.g.o/~pjp if you'd like. Of course, I'd have to be able to download it from somewhere. Maybe email would work. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
fafhrd Retired Dev
Joined: 14 May 2002 Posts: 431 Location: Williamstown, MA
|
Posted: Fri Jul 09, 2004 5:19 pm Post subject: |
|
|
pjp -
thanks, but that would probably mean changing all the ebuilds ..
... oh, wait, if they already got the tar, or from your site, then they have the ebuilds, digests, extra files, etc; then if they download the src from anywhere, and put it in /usr/portage/distfiles, as long as the md5's match up, it should work ...
let me see if I can get together the base, and hopefully other, newest versions of the packages
otherwise, it's only a few more hours _________________ jñanam bandha |
|
Back to top |
|
|
headache Apprentice
Joined: 26 May 2004 Posts: 226
|
Posted: Fri Jul 09, 2004 5:33 pm Post subject: |
|
|
Lol!
I somehow knew that the -m32 flag was not a good idea, but I thought you had some better insight into it than me
Let me know when you have something you want me to try and I'll jump at it! _________________ "I'd rather have a President who does it to a woman than one who does it to his country" -- Shirley Maclaine
Liberal (adj.): Free from bigotry; open to progress; tolerant of others. |
|
Back to top |
|
|
ruyn n00b
Joined: 02 Feb 2004 Posts: 34
|
Posted: Fri Jul 09, 2004 5:33 pm Post subject: |
|
|
Has anybody experiemented with the GNUStep implementation of the Webkit? I'm curious how stable and complete it is right now. The project website hasn't been updated for awhile.
I'm going to get back into GNUStep and wanted to play with the Webkit. I've played a little bit with the Cocoa implementation and have to say that embedding a browser couldn't be any easier.
This might also be my opportunity to figure out this ebuild business. |
|
Back to top |
|
|
fafhrd Retired Dev
Joined: 14 May 2002 Posts: 431 Location: Williamstown, MA
|
Posted: Fri Jul 09, 2004 5:49 pm Post subject: |
|
|
ruyn -
if you use these ebuilds in this post, I hope you have an x86 ... having some issues on 64 bit at the moment
Also webkit itself is not very usable 'cause it lacks features, but it's under high development. The main people working on it are mostly waiting for Objective-C++ to make it's stable way into gcc-3.5 or so. Webcore, on the other hand, is a bit outdated, and a bit buggy, but it's there for testing/using. _________________ jñanam bandha |
|
Back to top |
|
|
Lv Retired Dev
Joined: 22 Jun 2003 Posts: 352
|
Posted: Sat Jul 10, 2004 2:07 am Post subject: |
|
|
headache wrote: | Lol!
I somehow knew that the -m32 flag was not a good idea, but I thought you had some better insight into it than me
Let me know when you have something you want me to try and I'll jump at it! |
when i've been sent an updated libffi ebuild, i'll test it on amd64 and work on at least getting some stuff working here. of course, you cant use anything currently in portage because the ebuilds are more than a year old and still use ffcall, which isnt ported to amd64. :/
but yes... please please dont use -m32 to emerge anything using portage. ^^; the only exceptions to that rule are grub and the 32bit sandbox from portage, both of which set flags themselves without adding -m32 yourself. |
|
Back to top |
|
|
fafhrd Retired Dev
Joined: 14 May 2002 Posts: 431 Location: Williamstown, MA
|
Posted: Sat Jul 10, 2004 8:01 pm Post subject: |
|
|
Lv -
I'm working on that improved libffi ebuild
I wasn't noticing that by specifying objc in --enable-languages, gcc was disabling support for libffi! I think this has to do with gcc only turning in on for gcj support, or something like that. I'm about halfway done with it, I'd say. It's a little more complex that my "pull out the libffi source" style ebuild. Once that's done, I'd should be a quick copy to make one based off gcc-3.4.1 for amd64 machines.
Thanks for the offer to test it on amd64 ... i suddenly want a 64-bit laptop with all this 64 bit talk. _________________ jñanam bandha |
|
Back to top |
|
|
fafhrd Retired Dev
Joined: 14 May 2002 Posts: 431 Location: Williamstown, MA
|
Posted: Sat Jul 10, 2004 8:17 pm Post subject: |
|
|
NOTICE
My webserver's back up, so download's should work again.
... I did a network transplant last night in my apartment building.
NOTICE _________________ jñanam bandha |
|
Back to top |
|
|
endymion n00b
Joined: 30 Jun 2004 Posts: 15 Location: Mons, Belgium
|
Posted: Sat Jul 10, 2004 8:43 pm Post subject: |
|
|
fafhrd wrote: | NOTICE
My webserver's back up, so download's should work again.
... I did a network transplant last night in my apartment building.
NOTICE |
Glad to read it. Was on hollyday last weeks and i tried last package. Just 2 words : Great Job.
I'll try the new one as soon as possible |
|
Back to top |
|
|
0n0w1c Apprentice
Joined: 02 Mar 2004 Posts: 273
|
Posted: Sun Jul 11, 2004 9:50 am Post subject: |
|
|
fafhrd,
It may be a bit late now that your server is up, but I offer you the services of my server as a (24/7) mirror. I finally figured out how to get chroot sftp accounts configured. |
|
Back to top |
|
|
endymion n00b
Joined: 30 Jun 2004 Posts: 15 Location: Mons, Belgium
|
Posted: Sun Jul 11, 2004 10:26 am Post subject: |
|
|
Ok tried to merge the new packages but... Do I really need gcc-3.4 to compile libffi ? (seems not but as you can read under my name : noob) |
|
Back to top |
|
|
fafhrd Retired Dev
Joined: 14 May 2002 Posts: 431 Location: Williamstown, MA
|
Posted: Sun Jul 11, 2004 12:57 pm Post subject: |
|
|
endymion -
ack, no, you can change that, sorry
I'd recommend at least gcc-3.3.3 though
thanks for that bug report _________________ jñanam bandha |
|
Back to top |
|
|
headache Apprentice
Joined: 26 May 2004 Posts: 226
|
Posted: Sun Jul 11, 2004 2:05 pm Post subject: |
|
|
Ok fafhrd... What do you want me to do now in regards to AMD64 testing? _________________ "I'd rather have a President who does it to a woman than one who does it to his country" -- Shirley Maclaine
Liberal (adj.): Free from bigotry; open to progress; tolerant of others. |
|
Back to top |
|
|
fafhrd Retired Dev
Joined: 14 May 2002 Posts: 431 Location: Williamstown, MA
|
Posted: Sun Jul 11, 2004 2:49 pm Post subject: |
|
|
i've just finished putting together new and improved libffi ebuilds ... the original ones I had were "lazy", so to speak ... they should help the situation, but I'm not sure how much more
in regards to amd64, i wonder why out of the apps you tried only GNUMail exhibited problems ...
hrm, so at this point, I"m not exactly sure how to progress,but I'm going to roll another tarball by the end of the day, today (Sunday) and hope to get feedback from you and others
btw, since you're on amd64, have you upgraded to using gcc-3.4.1? If so, I"ll make sure I make a libffi based off 3.4.1 as well... _________________ jñanam bandha |
|
Back to top |
|
|
headache Apprentice
Joined: 26 May 2004 Posts: 226
|
Posted: Sun Jul 11, 2004 3:26 pm Post subject: |
|
|
Yes, I'm using 3.4.1 now.
As to whether it was only GNUMail, no. It seems like all programs crashes when I try to use the preferences page and click on any of the buttons. _________________ "I'd rather have a President who does it to a woman than one who does it to his country" -- Shirley Maclaine
Liberal (adj.): Free from bigotry; open to progress; tolerant of others. |
|
Back to top |
|
|
endymion n00b
Joined: 30 Jun 2004 Posts: 15 Location: Mons, Belgium
|
Posted: Sun Jul 11, 2004 7:49 pm Post subject: |
|
|
fafhrd wrote: | endymion -
ack, no, you can change that, sorry
I'd recommend at least gcc-3.3.3 though
thanks for that bug report |
OK, did it. I have an other question : if I emerge project-center, i need a back-end but it's always the xlib one that is merged even if I have merged the libart one. Aren't they virtual ?
I think I miss the line in virtuals. |
|
Back to top |
|
|
0n0w1c Apprentice
Joined: 02 Mar 2004 Posts: 273
|
Posted: Sun Jul 11, 2004 8:01 pm Post subject: |
|
|
fafhrd,
By your lack of response to my offer, I will take as you are not currently interested. If change your mind just let me know. Thanks again for your efforts. |
|
Back to top |
|
|
fafhrd Retired Dev
Joined: 14 May 2002 Posts: 431 Location: Williamstown, MA
|
Posted: Sun Jul 11, 2004 10:27 pm Post subject: |
|
|
0n0w1c -
oh, sorry, i was a bit preoccupied today with this ebuild stuff and other personal things .. i definitely appreciate the offer ... after I finish some paperwork and get all this stuff to work, all the packages hosted on my server will likely end up on the gentoo mirrors ... this should take care of things quite well but definitely, much thanks
endymion -
yeah, i suggest adding the line "virtual/gnustep-back gnustep-back-xlib" to /etc/make.profile/virtuals (temporarily until things are in portage) 'cause xlib back end is pretty much guaranteed to work ... you can "emerge -pv gnustep-base/gnustep-back-art" for the art backend, which is somewhat prettier, but a littler newer, so it has some rough edges...xlib actually does support AA fonts as well ... I'll post the defaults line to run when I find that command again ... either one should work AOK for you, though _________________ jñanam bandha |
|
Back to top |
|
|
cafard n00b
Joined: 28 Apr 2004 Posts: 5 Location: Eire
|
Posted: Mon Jul 12, 2004 9:25 am Post subject: |
|
|
Hi all! Here's another one interested in GNUstep! Thanks for your work fafhrd.
But... the emerge fails pretty quickly: right after failing to build the doc:
Quote: | Making all for doc machines...
makeinfo -D NO-TEXI2HTML \
-o machines.info machines.texi
./machines.texi:7: `Machine Specific' has no Up field (perhaps incorrect sectioning?).
makeinfo: Removing output file `machines.info' due to errors; use --force to preserve.
make[1]: *** [machines.info] Error 2
make: *** [machines.all.doc.variables] Error 2
!!! ERROR: gnustep-base/gnustep-make-1.9.3_pre20040630 failed.
!!! Function src_install, Line 77, Exitcode 2
!!! doc make failed
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-gnustep-base_-_gnustep-make-1.9.3_pre20040630-13060.log"
rename: /usr/share/texmf/fonts/pk/ljfour/public/cm/pk13469.tmp
open_wr: /usr/share/texmf/fonts/pk/ljfour/public/cm/pk13469.tmp
rename: /usr/share/texmf/fonts/pk/ljfour/public/cm/pk13558.tmp
open_wr: /usr/share/texmf/fonts/pk/ljfour/public/cm/pk13558.tmp
rename: /usr/share/texmf/fonts/pk/ljfour/public/cm/pk13647.tmp
open_wr: /usr/share/texmf/fonts/pk/ljfour/public/cm/pk13647.tmp
rename: /usr/share/texmf/fonts/pk/ljfour/public/cm/pk13822.tmp
open_wr: /usr/share/texmf/fonts/pk/ljfour/public/cm/pk13822.tmp
rename: /usr/share/texmf/fonts/pk/ljfour/public/cm/pk13911.tmp
open_wr: /usr/share/texmf/fonts/pk/ljfour/public/cm/pk13911.tmp
rename: /usr/share/texmf/fonts/pk/ljfour/public/cm/pk14093.tmp
open_wr: /usr/share/texmf/fonts/pk/ljfour/public/cm/pk14093.tmp
rename: /usr/share/texmf/fonts/pk/ljfour/public/cm/pk14182.tmp
open_wr: /usr/share/texmf/fonts/pk/ljfour/public/cm/pk14182.tmp
rename: /usr/share/texmf/fonts/pk/ljfour/public/cm/pk14282.tmp
open_wr: /usr/share/texmf/fonts/pk/ljfour/public/cm/pk14282.tmp
rename: /usr/share/texmf/fonts/pk/ljfour/public/cm/pk14371.tmp
open_wr: /usr/share/texmf/fonts/pk/ljfour/public/cm/pk14371.tmp
rename: /usr/share/texmf/fonts/pk/ljfour/public/cm/pk14460.tmp
open_wr: /usr/share/texmf/fonts/pk/ljfour/public/cm/pk14460.tmp
rename: /usr/share/texmf/fonts/pk/ljfour/public/cm/pk14549.tmp
open_wr: /usr/share/texmf/fonts/pk/ljfour/public/cm/pk14549.tmp
rename: /usr/share/texmf/fonts/pk/ljfour/public/cm/pk14638.tmp
open_wr: /usr/share/texmf/fonts/pk/ljfour/public/cm/pk14638.tmp
--------------------------------------------------------------------------------
|
I'm using gcc3.3.3, and though i'm not sure this helps, here's my emerge info:
Quote: | Portage 2.0.50-r9 (default-x86-1.4, gcc-3.3.3, glibc-2.3.2-r9, 2.6.4)
=================================================================
System uname: 2.6.4 i686 AMD Athlon(TM) XP 3000+
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=i686 -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -march=i686 -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://oberon/~bruno/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apm arts avi berkdb bonobo cdr crypt cups directfb encode esd foomaticdb gdbm gif gnome gphoto2 gpm gtk gtk2 guile imlib java jpeg kde ldap libg++ libwww mad mikmod motif mozilla mpeg mysql nas ncurses nls objc oggvorbis opengl oss pam pdflib perl png postgres ppds python qt quicktime readline ruby sdl slang spell ssl svga tcltk tcpd tetex truetype usb x86 xml2 xmms xv zlib"
|
Regards, |
|
Back to top |
|
|
fafhrd Retired Dev
Joined: 14 May 2002 Posts: 431 Location: Williamstown, MA
|
Posted: Mon Jul 12, 2004 2:52 pm Post subject: |
|
|
cafard -
Thanks for the feedback, I'll look into this error with doc.
Also, seriously, I'll be rolling another tar today -- I was working on a lot of different factors of this last night, and never got to finishing. _________________ jñanam bandha |
|
Back to top |
|
|
fafhrd Retired Dev
Joined: 14 May 2002 Posts: 431 Location: Williamstown, MA
|
Posted: Mon Jul 12, 2004 7:18 pm Post subject: |
|
|
here are the two new libffi ebuilds:
http://armando.xylite.com/gentoo/libffi-3.3.3.ebuild
http://armando.xylite.com/gentoo/libffi-3.4.1.ebuild
... 3.3.3 is keyword'd for ~x86, and 3.4.1 is keyworded for ~amd64 ... i'm confident the x86/3.3.3 version installs nicely and works, but I need confirmation of compilation success for the 2nd one on amd64 ... please have gcc-3.4.1 on amd64 (which I'm sure you do anyway )
new tar of actual GNUstep stuff coming, now that this is done, but it'd be nice to know if compiles, and you can re-emerge gnustep-base/gnustep-base which should finish compiling with no errors (it depends on libffi) (you may have to env-update ; source /etc/profile first)... granted on amd64 it doesn't mean that it's going to run smoothly at the moment, but we're another step towards that hopefully... _________________ jñanam bandha |
|
Back to top |
|
|
Klementas n00b
Joined: 16 Apr 2003 Posts: 47 Location: Missouri
|
Posted: Mon Jul 12, 2004 9:34 pm Post subject: |
|
|
The first libffi emerged in 2 minutes, now it takes 3 hours! This sucks!!! Why isn't there a libffi USE flag setting for the gcc ebuild if this is the only way to get libffi installed?
Also, I've changed my cflags to "-march=c3 -O2 -pipe" in the hopes that this will get programs like GWorkspace to not segfault. I'll let you know how it works. If it does, maybe the ebuilds should have a "strip-cflags" or something so I can set my cflags back to what I had; it works for my system. |
|
Back to top |
|
|
mabr n00b
Joined: 01 Sep 2003 Posts: 17
|
Posted: Mon Jul 12, 2004 9:52 pm Post subject: |
|
|
I couldn't help trying this out, great job!
I'm having problem emerging gnustep-base when using your new libffi-3.3.3, with the old one, libffi-2.0_beta-r1, it works.
During configure I get this:
Code: |
checking ffi.h presence... yes
checking for ffi.h... yes
checking callback.h usability... no
checking callback.h presence... no
checking for callback.h... no
checking "for forwarding callback in runtime"... yes
checking "FFI library usage"... libffi
checking for xml2-config... /usr/bin/xml2-config
checking for libxml - version >= 2.3.0... no
*** Could not run libxml test program, checking why...
You most likely do not want to build base without XML support.
For instance, MacOS-X compatible property lists require XML.
If you really want to build -base without XML support, add --disable-xml
to the configure arguments.
configure: error: Missing support for XML functionality.
!!! ERROR: gnustep-base/gnustep-base-1.9.3_pre20040630 failed.
!!! Function econf, Line 365, Exitcode 1
!!! econf failedGentoo Base System version 1.4.16
|
EDIT: You might need some more info figuring this out, here is a start:
Code: |
Portage 2.0.50-r8 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.7-gentoo-r9)
=================================================================
System uname: 2.6.7-gentoo-r9 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/sha
re/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /va
r/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://mirror.pudas.net/gentoo ftp://mirror.pudas.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X apm arts avi berkdb crypt cups encode foomaticdb gdbm gif gnome gpm gtk gtk2 imlib j
peg kde libg++ libwww mad mikmod motif mpeg ncurses nls oggvorbis opengl oss pam pdflib per
l png python qt quicktime readline sdl slang spell ssl svga tcpd tetex truetype x86 xml2 xmms xv zlib"
|
Last edited by mabr on Mon Jul 12, 2004 10:03 pm; edited 1 time in total |
|
Back to top |
|
|
|