public inbox for gentoo-java@lists.gentoo.org
 help / color / mirror / Atom feed
From: Andrew John Hughes <gnu_andrew@member.fsf.org>
To: Alon Bar-Lev <alon.barlev@gmail.com>
Cc: gentoo-java@lists.gentoo.org
Subject: Re: [gentoo-java] icedtea6 bootstrap
Date: Sun, 14 Sep 2008 21:38:57 +0100	[thread overview]
Message-ID: <20080914203857.GA17566@rivendell.middle-earth.co.uk> (raw)
In-Reply-To: <9e0cf0bf0809140538v70975cd1la9582c6e7ab2f0f3@mail.gmail.com>

On 15:38 Sun 14 Sep     , Alon Bar-Lev wrote:
> Hello,
> 
> I just curious... How do you see the boostrap process for normal users?
> 
> You need jdk to setup icedtea... So we have somekind of loop...

Yes, such a bootstrap issue is hardly limited to IcedTea.
The same occurs with gcc for example, and other Free Java VMs.

> Users who do not want non open source package to run on their computers should:
> 
> 1. Install gcj
> 2. Install icedtea
> 3. Reinstall icedtea so it compiles with icedtea and drop gcj dependency???
> 4. Uninstall gcj
> 

You don't need stage 3 (there is no 'gcj dependency'), and stage 4 is completely optional.
Other Free VMs can be used, but they also have bootstrap issues.

In the long run, we probably need a binary option for lower spec. machines,
as I've already said.

> Portage do not support these sequences...
> 

Well this is probably a flaw in portage then, but the solution is only
a two-step emerge process:

emerge gcj-jdk
emerge icedtea6

I don't think that's inherently difficult.

> So we have several options:
> 1. Have users do this manually.
> 2. Create a script similar to crossdev that perform the sequence.
> 3. Add a private gcj build into the compile stage of icedtea, and drop
> the jdk dependency.
> 

I don't see any problem with 1.  Why is gcj not enabled in the bootstrap
gcc on the install CDs? 

> Any thoughts?
> Alon.
> 
> ---
> 
> I am almost sure you already know that... But just for the record:
> 
>  * QA Notice: The following files contain executable stacks
>  *  Files with executable stacks will not work properly (or at all!)
>  *  on some architectures/operating systems.  A bug should be filed
>  *  at http://bugs.gentoo.org/ to make sure the file is fixed.
>  *  For more information, see http://hardened.gentoo.org/gnu-stack.xml
>  *  Please include this file in your report:
>  *  /var/tmp/portage/dev-java/icedtea6-1.2/temp/scanelf-execstack.log
>  * RWX --- --- usr/lib/icedtea6-1.2/jre/lib/i386/server/libjvm.so
>  * RWX --- --- usr/lib/icedtea6-1.2/jre/lib/i386/client/libjvm.so
> 
> 
>  * QA Notice: Package has poor programming practices which may compile
>  *            fine but exhibit random runtime failures.
>  * ../../../src/solaris/native/java/net/Inet4AddressImpl.c:385:
> warning: implicit declaration of function 'gettimeofday'
>  * ../../../src/solaris/native/java/net/Inet6AddressImpl.c:520:
> warning: implicit declaration of function 'gettimeofday'
>  * ../../../src/solaris/native/java/net/Inet4AddressImpl.c:385:
> warning: implicit declaration of function 'gettimeofday'
>  * ../../../src/solaris/native/java/net/Inet6AddressImpl.c:520:
> warning: implicit declaration of function 'gettimeofday'
> 

These are OpenJDK issues that need to be raised with Sun.

Cheers,
-- 
Andrew :)

Support Free Java!
Contribute to GNU Classpath and the OpenJDK
http://www.gnu.org/software/classpath
http://openjdk.java.net
PGP Key: 94EFD9D8 (http://subkeys.pgp.net)
Fingerprint = F8EF F1EA 401E 2E60 15FA  7927 142C 2591 94EF D9D8



  reply	other threads:[~2008-09-14 20:39 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-14 12:38 [gentoo-java] icedtea6 bootstrap Alon Bar-Lev
2008-09-14 20:38 ` Andrew John Hughes [this message]
2008-09-15  4:12   ` Alon Bar-Lev
2008-09-15  5:08     ` Alon Bar-Lev
2008-09-16 23:44       ` Andrew Cowie
2008-09-17 17:40         ` Andrew John Hughes
2008-09-17 18:19           ` Alon Bar-Lev
2008-09-17 22:01             ` Andrew John Hughes
2008-09-16  8:58     ` Andrew John Hughes
2008-09-15 11:35   ` Philipp Riegger
2008-09-15 11:42     ` Philipp Riegger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080914203857.GA17566@rivendell.middle-earth.co.uk \
    --to=gnu_andrew@member.fsf.org \
    --cc=alon.barlev@gmail.com \
    --cc=gentoo-java@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox