bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: obscure bug "extern void free (void *__ptr) __attribute__ ((__nothro


From: Dale R. Worley
Subject: Re: obscure bug "extern void free (void *__ptr) __attribute__ ((__nothrow__ , __leaf__));"
Date: Thu, 21 Jan 2021 21:27:23 -0500

You could improve this bug report.  A few pointers:

Mathias Steiger <mathias.steiger@googlemail.com> writes:
> Repeat-By:
>
> git clone https://github.com/LibreELEC/LibreELEC.tv
> cd LibreELEC.tv
> ARCH=aarch64 PROJECT=Amlogic DEVICE=AMLGX ./scripts/build linux

I attempted to follow this, but the output I got was:

    $ ARCH=aarch64 PROJECT=Amlogic DEVICE=AMLGX no_proxy ./scripts/build linux
    GET      linux (archive)
    Usage: wget [OPTION]... [URL]...

    Try `wget --help' for more options.
    Usage: wget [OPTION]... [URL]...

    Try `wget --help' for more options.
    Usage: wget [OPTION]... [URL]...

    [a dozen or more times]

Does your build process actually make external web fetches?  You really
need to warn people about that if you are presenting a recipe for
duplicating a bug.

>      -> the build fails after a minute in the Autoconfig step due to 
> wrongful insertion of silenced command output into file config.status at 
> line 533
> In: build.LibreELEC-AMLGX.aarch64-9.80-devel/build/ccache-3.7.12/configure
> Go to line 6532: if diff "$cache_file" confcache >/dev/null 2>&1; then 
> :; else
> Hint: $cache_file is always /dev/null , hence the if-statement will 
> evaluate false

I understand that a line appears in config.status that you believe is
incorrect, but you don't quote what the line is (preferably with some
context around it).

You assert that it is "silenced command output", but you don't actually
know that (without dissecting the script you're running), only that it
*appears* to be silenced command output.  If you've genuinely tracked
down how it got there, you should explain your reasoning in detail.

> This diff command is the source of the insertion in 
> build.LibreELEC-AMLGX.aarch64-9.80-devel/build/ccache-3.7.12/config.status :
>          0a1,97:
>          > # This file is a shell script that caches the results of 
> configure
>          > # tests run on this system so they can be shared between 
> configure
>          ...
> Remove the line and the corresponding "fi" that closes the if-statement
>      -> script inserts "extern void free ..." instead into 
> ./config.status at line 533

You say "remove the line" but it isn't clear what line you are referring
to.

Dale



reply via email to

[Prev in Thread] Current Thread [Next in Thread]