This is great news everybody! Another linux success story here. I managed to compile and then run eclipse on Fedora Core 4 using gcc 3.3.4 as was suggested by Vladimir. I compiled gcc 3.3.4 [libs, gcc, g++, ...] from the gcc 3.3.4 sources [which involved playing some games with packages on the FC4 system].
I was not as successful yet on Fedora Core 5 where I'm running into link issues even with compiler version 3.3.4. Its the same one that Mark mentioned yesterday w/ gcc 3.3.6 from Debian testing [discarded references in .rodata segments]. Getting gcc 3.3.4 onto Fedora Core 4 and Fedora Core 5 is non-trivial however and for me involved uninstalling some packages that I'd rather not have to uninstall. As we all know getting the multiple compiler versions to coexist on linux is kindof painful. It will be nice when these patches start rolling in thru JIRA to the Harmony codebase to support more OS and compiler versions. As the project evolves, it will be interesting to see how frequently and fully all the variations will be able to be tested. Thanks! Chris Elford Intel Middleware Products Division -----Original Message----- From: Ivan Volosyuk [mailto:[EMAIL PROTECTED] Sent: Thursday, May 04, 2006 1:54 PM To: harmony-dev@incubator.apache.org Subject: Re: DRLVM contribution - try this out! Great! Good progress. Here is mine: gcc (GCC) 3.4.6 (Gentoo 3.4.6-r1, ssp-3.4.5-1.0, pie-8.7.9) Gcc-4.x is masked in gentoo, so I have started with gcc-3.4.6. It was harder then before. I have made number of changes in jitrino/**/Set.h to get it compile. A few more changes in other places in jitrino, and it builds and eclipse works again. I am not sure it still builds on gcc-3.3.6. All changes should be portable to 3.3.6 IMHO except for renaming "ext/stl_hash_map.h" to "ext/hash_map.h". Looks like the compile-time check for GCC version is needed here. Is it ok to attach patch here or should I use JIRA? -- Ivan On 5/4/06, Mark Hindess <[EMAIL PROTECTED]> wrote: > > > On 4 May 2006 at 21:43, "Ivan Volosyuk" <[EMAIL PROTECTED]> wrote: > > > > DRLVM compiled fine on my home computer. Eclipse works. > > Configuration: > > Gentoo stable, not much up to date. > > gcc (GCC) 3.3.6 (Gentoo 3.3.6, ssp-3.3.6-1.0, pie-8.7.8) > > Binutils: 2.16.1 > > Kernel: 2.6.15.6 > > I'm using Debian testing and I'd tried downgrading everything except > binutils which would have been a little too much trouble. So I ended up > building a chroot image with Debian sarge/stable. I then installed the > ant and ant-optional packages from testing. The build then worked! > > The key package versions required were: > > ant-optional/testing 1.6.5-5 > ant/testing 1.6.5-5 > binutils-dev/stable 2.15-6 > binutils/stable 2.15-6 > g++-3.3/stable 1:3.3.5-13 > g++/stable 4:3.3.5-3 > gcc-3.3-base/stable 1:3.3.5-13 > gcc-3.3/stable 1:3.3.5-13 > gcc/stable 4:3.3.5-3 > libstdc++5-3.3-dev/stable 1:3.3.5-13 > libstdc++5/stable 1:3.3.5-13 > > > One build issue: > > When using /usr/bin/ant compilation failed even for ant-1.6.5, I have > > compiled custom ant in home directory and it worked for me. > > > > I'm going to upgrade to Gcc 4.x and fix the compilation on it. > > Cool. Keep us posted with progress. > > Regards, > Mark. > > > On 5/4/06, Mark Hindess <[EMAIL PROTECTED]> wrote: > > > > > > > > > On 4 May 2006 at 13:58, "Andrey Chernyshev" <[EMAIL PROTECTED]> > > > wrote: > > > > > > > > Mark Hindess wrote: > > > > > Using gcc 3.3.6, I'm stuck building native of vm.jitrino with link > > > > > errors: > > > > > > > > I can suggest that link errors may be result of previous compilation > > > > with GCC 4.0 and then subsequent attempt to link with GCC 3.3.6. > > > > You may do the "build clean" first if you are changing the things > like > > > > compiler, or, manually delete the directory > > > > Harmony/build/lnx_ia32_gcc_release before rebuilding. > > > > > > Yeah, that was the first thing I tried. That got rid of some errors > but > > > left me with the ones I posted. > > > > > > > We didn't check that this can be built on a whole variety of > existing > > > > Linux distributions and different GCC versions, this would be a huge > > > > task that only Harmony can afford to do :) > > > > > > Absolutely. I'm certainly not complaining. I'm just trying to help > > > others avoid tripping over the same problems that I'm seeing ... and > > > hopefully fixing. ;-) > > > > > > > One of the configurations that worked fine was: > > > > SuSE Linux 9.2 (i586) > > > > kernel release: 2.6.8-24-smp > > > > gcc (GCC) 3.3.4 (pre 3.3.5 20040809) > > > > > > This is v. useful. Thanks. > > > > > > Hmm. That is a slightly older gcc than the version I'm using. As a > > > first step, I might try to build with that exact version. If/when I > get > > > something that works, I can start to investigate the differences. > > > > > > Regards, > > > Mark. > > > > > > > > > > > > > ------=_Part_3248_11123540.1146764639573-- > > > --------------------------------------------------------------------- Terms of use : http://incubator.apache.org/harmony/mailing.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]