Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <524D6B4A.4070708@barfooze.de>
Date: Thu, 03 Oct 2013 15:04:10 +0200
From: John Spencer <maillist-musl@...fooze.de>
To: Paul Schutte <sjpschutte@...il.com>
CC: sabotage@...ts.openwall.com
Subject: Re: Installing everything in opt

On 10/03/2013 02:03 PM, Paul Schutte wrote:
> root@...rage1:/mnt/sabotage# /mnt/sbuild/bin/gcc -dumpmachine
> bash: /mnt/sbuild/bin/gcc: No such file or directory
> root@...rage1:/mnt/sabotage#

and ? is the file there or not ? if it is, is it a static binary or a 
dynamic one ("file" can tell) ? if not there, look at the build logs to 
see what went wrong... or insert debug code into the template etc etc


>
>
>
> On Thu, Oct 3, 2013 at 1:35 PM, John Spencer<maillist-musl@...fooze.de>wrote:
>
>> On 10/03/2013 10:56 AM, Paul Schutte wrote:
>>
>>> Hi,
>>>
>>> Sorry for bringing this up again but I am having trouble building it
>>> without symlinks.
>>>
>>> I have in the butch_template_configure_**cached.txt file:
>>>
>>> # note that you could set similar stuff using env variables.
>>> butch_do_config_cache=true
>>> butch_do_cleanup_builddir=true
>>> butch_do_custom_destdir=false
>>> # the options below all require a custom destdir to be set.
>>> butch_do_cleanup_custom_**destdir=false
>>> butch_do_relocate=false
>>> butch_do_filelists=true
>>> butch_do_create_tarball=false
>>>
>>>
>>> 'build-stage 0' fails when getting to building musl:
>>>
>>> cat /mnt/sbuild/src/logs/build_**stage0_musl.log
>>> Wed Oct  2 14:03:13 SAST 2013: start
>>> sourcing user defined optimization config /mnt/sbuild/etc/butch-**
>>> optflags.sh
>>> Wed Oct  2 14:03:13 SAST 2013: starting to untar
>>> Wed Oct  2 14:03:13 SAST 2013: untar done
>>> Wed Oct  2 14:03:13 SAST 2013: start build
>>> checking for C compiler... /mnt/sbuild/bin/gcc
>>> checking target system type... unknown
>>> ./configure: unable to detect target arch; try ./configure --target=...
>>>
>>
>>
>> weird.
>> musl's configure uses gcc -dumpmachine to find the target arch
>> http://git.musl-libc.org/cgit/**musl/tree/configure#n218<http://git.musl-libc.org/cgit/musl/tree/configure#n218>
>>
>> so what happens when you do /mnt/sbuild/bin/gcc -dumpmachine ?
>>
>>
>>
>>>
>>> Any help will be appreciated.
>>>
>>> Regards
>>> Paul
>>>
>>>
>>>
>

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.