X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@lists.alpinelinux.org Received: from mail-fx0-f213.google.com (mail-fx0-f213.google.com [209.85.220.213]) by lists.alpinelinux.org (Postfix) with ESMTP id 48DD61EFC26 for ; Sat, 1 Aug 2009 09:42:59 +0000 (UTC) Received: by fxm9 with SMTP id 9so1724240fxm.25 for ; Sat, 01 Aug 2009 02:42:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:cc :in-reply-to:references:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; bh=51G6JVNvskEdhA0lwQKTh+5+jTc2e5YZhXu85X4IpEo=; b=VzBk1/gOd7hagKCT7vxshzzauhRi/x8ivllC8LaYhc3h+YMS14YpcwtPBlvNXd10Ic R1hPocZ61m2+VQeQjQ1AK4g6KZZJG4gruT4sMH7pV1tdei0ZyqBNWGMvfdDzQYmwKScw xw0DiqblNNEnRfLdxDWU7uf1cisf+U5Jd4HTg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references:content-type:date :message-id:mime-version:x-mailer:content-transfer-encoding; b=UOpxThEs1LcdyEwd8rs/RYmTN7gsLN6UCovGpVqn9sAu6+oI/BzHM4N5WfifeT2vb/ FJULFY2yBsRecBt9KsQ8VJzEaZFCUG6BO8RmaZl2JwoX1VgigF2QJU8RWsuxsE9KkTWT 03LnDiXc2giXJPRrzMMD2ZI2E30xXGQNNSGnk= Received: by 10.103.5.14 with SMTP id h14mr78257mui.73.1249119778036; Sat, 01 Aug 2009 02:42:58 -0700 (PDT) Received: from ?10.65.65.1? ([90.149.199.29]) by mx.google.com with ESMTPS id 23sm16445529mun.13.2009.08.01.02.42.56 (version=SSLv3 cipher=RC4-MD5); Sat, 01 Aug 2009 02:42:57 -0700 (PDT) Subject: Re: [alpine-devel] Attempting x86_64 build From: Natanael Copa To: Mark Constable Cc: alpine-devel@lists.alpinelinux.org In-Reply-To: <4A73EA4D.7030204@renta.net> References: <4A73EA4D.7030204@renta.net> Content-Type: text/plain Date: Sat, 01 Aug 2009 11:44:08 +0200 Message-Id: <1249119848.19561.1282.camel@localhost.localdomain> X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: Mime-Version: 1.0 X-Mailer: Evolution 2.26.3 Content-Transfer-Encoding: 7bit On Sat, 2009-08-01 at 17:10 +1000, Mark Constable wrote: > I've got an x86_64 busybox/uclibc partition set up, courtesy of buildroot, > and I've started building a few packages. Cool! > nano built okay so I've moved > on to apk-tools so I can obviously start to use Alpine tools to build > and install more packages. It needs pkgconfig, zlib and openssl so I > managed to build pkgconfig and zlib but I'm stuck on openssl because it > needs perl and the buildroot target only has miniperl (or maybe none at > all, not sure) so a coule of questions... > > . would it be possible to build openssl without using perl? I doubt. And you will need perl for lot other stuff too. Everything that involves autoconf/automake and things like kernel. Bootstrapping does require perl at an early stage. > . would it be possible to build apk-tools without openssl? I think the way to do bootstrapping is use a static version of apk-tools. You could probably use a 32 bit static, or if you want, a 64 bit static built on a glibc host. It will be ugly big but it will get you started. > . should I drop back to pre v1.9 and use the scripted apk tools? No. We want fix bootstrapping for apk-tools. Does buildroot provide gcc, binutils and gnu make? Otherwise, it might be that gentoo have a stage1 or stage3 with x86_64 uclibc. They have some binary packages: http://tinderbox.x86.dev.gentoo.org/uclibc/amd64/All/ Not sure but this looks like gcc with uclibc: http://tinderbox.x86.dev.gentoo.org/cross-amd64/x86_64-gentoo-linux-uclibc/ You could probably tar -jxf make, binutils, gcc, uclibc, linux-headers, file, openssl, pax-utils, busybox to get started. Might help to have a static busybox and apk-tools to get started. > I barely know how to use the 1.9 apk toolset let alone the earlier ones. > > *** > > I've also got an Archlinux ARM chroot and managed to also build nano > but nothing else so far as their is some problem with setting time > in the provided glibc. If I manage to get enough x86_64 Alpine packages > to build, to bootstrap a clean system, I'll post a tarball and follow > the same method for ARM. I think gentoo had some ARM stages you could start from. Thanks for working on this! -nc --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---