[Ohrrpgce] Linux 64 bit night build failing

James Paige Bob at hamsterrepublic.com
Wed Jan 26 17:52:21 PST 2022


Dang, that is a weird bug!

But nice job getting it down to a test case like that! :D

On Wed, Jan 26, 2022 at 8:11 PM Ralph Versteegen <teeemcee at gmail.com> wrote:

> This compile failure finally happened to me too. Looking through the
> emitted C code I realised that not only is __builtin_va_list* wrong, but __builtin_va_list**
> is also nonsense which happened to compile to the correct assembly. After
> some difficulty I produced a testcase and filed it:
> https://sourceforge.net/p/fbc/bugs/951/
>
> The C code that fbc emits is random, but I've only seen 3 different
> possibilities. Two compile alright and the third produces that error
> message, so we can just ignore the problem and recompile when it fails.
>
> On Wed, 1 Dec 2021 at 21:33, Ralph Versteegen <teeemcee at gmail.com> wrote:
>
>> I'm baffled.
>> scons does sometimes make mistakes which have to be cleared by running a
>> second time or by cleaning (scons -c <targets>), but I've never seen
>> symptoms that look like that, nor can I imagine how it coild happen.
>>
>> On Tue, 30 Nov 2021 at 13:02, James Paige <Bob at hamsterrepublic.com>
>> wrote:
>>
>>> I saw this on my local dev machine today
>>>
>>> bc -mt -g -i /home/james/src/ohrrpgce/build/ -target linux -arch x86_64
>>> -exx -gen gcc -Wc
>>> -fno-omit-frame-pointer,-ffunction-sections,-fdata-sections,-no-pie,-Wno-builtin-declaration-mismatch,-Wno-maybe-uninitialized,-Wno-array-bounds,-Wno-missing-braces
>>> -d IS_CUSTOM -m custom -c sliceedit.bas -o build/edit-sliceedit.o
>>> fbc -mt -g -i /home/james/src/ohrrpgce/build/ -target linux -arch x86_64
>>> -exx -gen gcc -Wc
>>> -fno-omit-frame-pointer,-ffunction-sections,-fdata-sections,-no-pie,-Wno-builtin-declaration-mismatch,-Wno-maybe-uninitialized,-Wno-array-bounds,-Wno-missing-braces
>>> -d IS_CUSTOM -m custom -c slices.bas -o build/edit-slices.o
>>> /home/james/src/ohrrpgce/reload.bi: In function
>>> '_ZN6RELOAD3DOCaSERKS0_':
>>> /home/james/src/ohrrpgce/reload.bi:74:46: error: assignment to
>>> expression with array type
>>>    74 |  END TYPE
>>>       |                                              ^
>>> scons: *** [build/edit-reload.o] Error 1
>>> scons: building terminated because of errors.
>>>
>>> I did a `git svn rebase` to check for changes, but there were no changes.
>>> I did `scons` to rebuild even though I didn't expect any changes (other
>>> than it being a different date than when I built last)
>>> I got the error message above
>>> I ran `scons` a second time, and it completed successfully with no
>>> errors. Weird!
>>>
>>> ---
>>> James
>>>
>>>
>>> On Sun, Nov 21, 2021 at 7:24 AM James Paige <Bob at hamsterrepublic.com>
>>> wrote:
>>>
>>>> I haven't tried to reproduce it yet (I'm away from my computer this
>>>> weekend) but it looks like the Linux 64 bit builds are failing:
>>>>
>>>> fbc -mt -O 2 -i /home/james/src/nightly/ohrrpgce-build/wip/build/
>>>> -target linux -arch x86_64 -gen gcc -Wc -fno-omit-frame-pointer,-O2,-f
>>>> function-sections,-fdata-sections,-no-pie,-Wno-maybe-uniniti
>>>> alized,-Wno-array-bounds,-Wno-missing-braces -d IS_CUSTOM -m custom -c
>>>> reload.bas -o build/edit-reload.o
>>>> build/edit-reload.c: In function '_ZN6RELOAD3DOCaSERKS0_':
>>>> build/edit-reload.c:4564:46: error: assignment to expression with array
>>>> type
>>>>   *(__builtin_va_list*)((uint8*)THIS$1 + 8ll) =
>>>> *(__builtin_va_list*)((uint8*)__FB_RHS__$1 + 8ll);
>>>>                                               ^
>>>> scons: *** [build/edit-reload.o] Error 1
>>>> scons: building terminated because of errors
>>>>
>>> _______________________________________________
>>> Ohrrpgce mailing list
>>> ohrrpgce at lists.motherhamster.org
>>> http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
>>>
>> _______________________________________________
> Ohrrpgce mailing list
> ohrrpgce at lists.motherhamster.org
> http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.motherhamster.org/pipermail/ohrrpgce-motherhamster.org/attachments/20220126/1987b7f9/attachment.html>


More information about the Ohrrpgce mailing list