bug-bash
[Top][All Lists]
Advanced

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

Re: Arithmetic expansion in rediretion word is evaluated twice


From: Oğuz
Subject: Re: Arithmetic expansion in rediretion word is evaluated twice
Date: Tue, 2 Jun 2020 08:18:32 +0300

Below is the error message from the compilation failure after git pull && make:

variables.o: In function `get_urandom':
/home/oguz/.local/src/bash/variables.c:1406: undefined reference to
`get_urandom32'
variables.o: In function `assign_random':
/home/oguz/.local/src/bash/variables.c:1356: undefined reference to `sbrand'
variables.o: In function `get_random_number':
/home/oguz/.local/src/bash/variables.c:1376: undefined reference to `brand'
/home/oguz/.local/src/bash/variables.c:1371: undefined reference to `seedrand'
/home/oguz/.local/src/bash/variables.c:1376: undefined reference to `brand'
variables.o: In function `initialize_shell_variables':
/home/oguz/.local/src/bash/variables.c:607: undefined reference to `seedrand'
/home/oguz/.local/src/bash/variables.c:608: undefined reference to `seedrand32'
collect2: error: ld returned 1 exit status
Makefile:581: recipe for target 'bash' failed
make: *** [bash] Error 1

On Mon, Jun 1, 2020 at 11:17 PM Oğuz <oguzismailuysal@gmail.com> wrote:
>
>
>
> 1 Haziran 2020 Pazartesi tarihinde Chet Ramey <chet.ramey@case.edu> yazdı:
>>
>> On 6/1/20 3:34 PM, Oğuz wrote:
>> > See:
>> >
>> >     $ unset foo
>> >     $ : <$((foo+=42))
>> >     bash: 84: No such file or directory
>> >     $ echo $foo
>> >     84
>> >
>> > Reproducible on 4.4.20 and 5.0.11, couldn't try on development version
>> > because since the last push it doesn't compile
>>
>> How about an error message from the compile failure?
>>
> It was something about underlying $RANDOM functions in variables.c, tomorrow 
> I can mail the full error messages.
>
>> --
>> ``The lyf so short, the craft so long to lerne.'' - Chaucer
>>                  ``Ars longa, vita brevis'' - Hippocrates
>> Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/
>
>
>
> --
> Oğuz
>


-- 
Oğuz



reply via email to

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