yeah, it's open source, a standard test runner for C. apt install check, on 
debian systems.

https://github.com/libcheck/check

The compile fails. I'll try to compose simplified steps for reproduction.

On Wednesday, January 22, 2020 at 10:40:00 AM UTC-8, Sam Clegg wrote:
>
> Is that code open source?  It does look like it's probably a compiler 
> bug.   
>
> Does it result in failed compilation or is it just a warning?
>
> Would you mind opening an issue in the emscripten tracker with 
> reproduction steps?
>
> On Wed, Jan 22, 2020 at 10:11 AM Brian Craft <[email protected] 
> <javascript:>> wrote:
>
>> looks like maybe it's a bug in the llvm version that's in the latest sdk.
>>
>> On Wednesday, January 22, 2020 at 10:08:27 AM UTC-8, Brian Craft wrote:
>>>
>>> After updating to latest sdk to get the new backend, I'm getting compile 
>>> failures like this:
>>>
>>> inlinable function call in a function with debug info must have a !dbg 
>>> location
>>>   tail call void @free(i8* %32)
>>> inlinable function call in a function with debug info must have a !dbg 
>>> location
>>>   tail call void @free(i8* %50)
>>> inlinable function call in a function with debug info must have a !dbg 
>>> location
>>>   tail call void @free(i8* %20)
>>>
>>>
>>> while compiling the check unit test library (file check_run.c).
>>>
>>> Anyone know what causes this?
>>>
>>> Relevant lines from the build log:
>>>
>>> /bin/bash ../libtool  --tag=CC   --mode=compile 
>>> /home/ubuntu/emsdk/upstream/emscripten/emcc -DHAVE_CONFIG_H -I. 
>>> -I../../../check-0.13.0/src -I..     -g -O2 -Wextra -Wstrict-prototypes 
>>> -Wmissing-prototypes -Wwrite-strings -Wno-variadic-macros -Wimport 
>>> -Wfatal-errors -Wformat=2 -Winit-self -Wmissing-include-dirs 
>>> -Wswitch-default -Wunknown-pragmas -MT check_run.lo -MD -MP -MF 
>>> .deps/check_run.Tpo -c -o check_run.lo ../../../check-0.13.0/src/check_run.c
>>> libtool: compile:  /home/ubuntu/emsdk/upstream/emscripten/emcc 
>>> -DHAVE_CONFIG_H -I. -I../../../check-0.13.0/src -I.. -g -O2 -Wextra 
>>> -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings 
>>> -Wno-variadic-macros -Wimport -Wfatal-errors -Wformat=2 -Winit-self 
>>> -Wmissing-include-dirs -Wswitch-default -Wunknown-pragmas -MT check_run.lo 
>>> -MD -MP -MF .deps/check_run.Tpo -c ../../../check-0.13.0/src/check_run.c  
>>> -o .libs/check_run.o
>>> inlinable function call in a function with debug info must have a !dbg 
>>> location
>>>   tail call void @free(i8* %32)
>>>
>>>
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/emscripten-discuss/6b827466-0e78-4078-bea4-71daa8fda433%40googlegroups.com.

Reply via email to