X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 45234DC00F5 for ; Mon, 17 Jun 2013 11:38:50 +0000 (UTC) Received: from compute2.internal (compute2.nyi.mail.srv.osa [10.202.2.42]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 5BDDF20816 for ; Mon, 17 Jun 2013 07:38:50 -0400 (EDT) Received: from web3.nyi.mail.srv.osa ([10.202.2.213]) by compute2.internal (MEProxy); Mon, 17 Jun 2013 07:38:50 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:from:to:mime-version :content-transfer-encoding:content-type:subject:date; s=smtpout; bh=B9PXA9FDb11KmcaMWdooqmQ3su8=; b=ohbzblf7OwKlfypetArvrwQZV7XL 8yIIsmpWGydHaXxWMeRQOZDqmaBAELKVDBaViEtOk8sS+TohVs4582+hzPPdT5JU aHRAng7FFM4vM+RsbP3rWe1EKMXcvwwCQeHUEUyOPJeesega30bCBfefh7EYTknw dppiy/N6OVSEwtE= Received: by web3.nyi.mail.srv.osa (Postfix, from userid 99) id 36078B00E7F; Mon, 17 Jun 2013 07:38:50 -0400 (EDT) Message-Id: <1371469130.31289.140661244826657.5DE65BF9@webmail.messagingengine.com> X-Sasl-Enc: sE4Eug+Ybu4u6N5bwZx3YiZMdsRRM8ZuE8X8CM1B6QHO 1371469130 From: Jim Pryor To: Alpine X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface - html Subject: Re: [alpine-devel] Can't build apk-tools Date: Mon, 17 Jun 2013 07:38:50 -0400 On Mon, Jun 17, 2013 at 11:52:46AM +0300, Timo Teras wrote: > That's weird. Works here nicely. What gcc/libc you are using? > > It might be due to using 'ld' and not 'gcc' for link. Or mixing object > files built with different gcc flags. Or gcc spec file mismatching the > libc build options. > > Is your libc standard, or self-built with different config? Thanks Timo. I would have suspected a self-built toolchain and called it out. No, I'm using the gcc-4.7.3-r6 and libc-0.9.33.2-r22 binary packages from edge x86. The only self-built packages I'm aware of on this machine (that are otherwise available on edge) are: busybox cryptsetup getmail less lynx msmtp mutt ncurses procmail rxvt-unicode syslinux vim xkeyboard-config I can confirm that when I ssh to a pretty vanilla system (tracking alpine 2.6/x86_64), and do: $ git clone git://git.alpinelinux.org/apk-tools $ cd apk-tools/ $ sudo apk add -t apk-make openssl-dev zlib-dev lua-dev $ make clean $ . /etc/abuild.conf $ make that does work fine, no errors. Wonder what the breaking difference is. Well, if I figure it out, I'll report. If you have any ideas/suggestions, I welcome them. On the problematic machine, changing LD to gcc in the Make.rules file no longer suffices to fix the issue. I think it used to do so, but I'm not sure of that---it's been a while since I last did this successfully. -- dubiousjim@gmail.com --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---