X-Original-To: alpine-devel@lists.alpinelinux.org Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by lists.alpinelinux.org (Postfix) with ESMTP id 6A6C85C4C70 for ; Tue, 25 Jul 2017 15:10:59 +0000 (GMT) Received: from pps.filterd (m0098419.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id v6PFAsBv133631 for ; Tue, 25 Jul 2017 11:10:58 -0400 Received: from e17.ny.us.ibm.com (e17.ny.us.ibm.com [129.33.205.207]) by mx0b-001b2d01.pphosted.com with ESMTP id 2bx87urt31-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Tue, 25 Jul 2017 11:10:54 -0400 Received: from localhost by e17.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 25 Jul 2017 11:10:37 -0400 Received: from b01cxnp23033.gho.pok.ibm.com (9.57.198.28) by e17.ny.us.ibm.com (146.89.104.204) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Tue, 25 Jul 2017 11:10:36 -0400 Received: from b01ledav002.gho.pok.ibm.com (b01ledav002.gho.pok.ibm.com [9.57.199.107]) by b01cxnp23033.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id v6PFAUcC65994958 for ; Tue, 25 Jul 2017 15:10:35 GMT Received: from b01ledav002.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id DA80212403F for ; Tue, 25 Jul 2017 11:08:00 -0400 (EDT) Received: from [9.80.202.132] (unknown [9.80.202.132]) by b01ledav002.gho.pok.ibm.com (Postfix) with ESMTP id A0975124037 for ; Tue, 25 Jul 2017 11:08:00 -0400 (EDT) Subject: =?UTF-8?Q?Re:_[alpine-devel]_Ad=c3=a9lie_on_Alpine=2c_two_months_la?= =?UTF-8?Q?ter?= To: alpine-devel@lists.alpinelinux.org References: <5975E0C0.1030008@adelielinux.org> <57A1A151-0352-40DA-BC91-52980CEE99C3@shiz.me> <20170725090742.61793ff2@vostro> <597739E9.9080006@adelielinux.org> From: Breno Leitao Date: Tue, 25 Jul 2017 12:10:34 -0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 In-Reply-To: <597739E9.9080006@adelielinux.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 x-cbid: 17072515-0040-0000-0000-00000385778F X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00007423; HX=3.00000241; KW=3.00000007; PH=3.00000004; SC=3.00000214; SDB=6.00892721; UDB=6.00446231; IPR=6.00672885; BA=6.00005492; NDR=6.00000001; ZLA=6.00000005; ZF=6.00000009; ZB=6.00000000; ZP=6.00000000; ZH=6.00000000; ZU=6.00000002; MB=3.00016372; XFM=3.00000015; UTC=2017-07-25 15:10:36 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17072515-0041-0000-0000-000007799585 Message-Id: <498c3b7f-0363-8236-ee97-625d4a0993c3@br.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-07-25_07:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=1 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1706020000 definitions=main-1707250240 Hello, On 07/25/2017 09:30 AM, A. Wilcox wrote: > How does one bootstrap a new distro? Especially one with a slightly > different triplet (i486-*, powerpc64-*, etc) than Alpine's, not to > mention different configuration options? Should I just build a new > GCC and install it over the current one? > > I figured running bootstrap.sh would be the quickest / easiest way to > do that. But maybe I was wrong. That is what I found during the ppc64le bootstrap. During the ppc64le bootstrap time, I tried two different strategies: 1) Cross-distro compile Alpine packages from Debian/ppc64le. This strategy seemed better at that time, because I could have delayed or even avoid GCC bootstrap. I.e, I was using Debian's GCC to compile Alpine's package, and I would like to have compiled GCC from the inside an already created Alpine rootfs, without doing the GCC bootstrap process. Since Debian had Musl, it would not be a problem, I thought. 2) Use the bootstrap script and start on Alpine/x86 and starting build from the begining, i.e, doing GCC bootstrap and moving up. What I found later is that it was quite hard to avoid GLIBC contamination during the cross-distro compilation process. I was never able to get rid of the GLIBC symbols using the first strategy. When I switched to the second strategy, it was much easier to find the problem and solve them, seeing progress at every new bug. Anyway, this was my personal experience, and, as you should expect, your mileage may vary. --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---