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]> 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/34dd9115-8d16-42d9-8b3d-6391479bbcbc%40googlegroups.com
> <https://groups.google.com/d/msgid/emscripten-discuss/34dd9115-8d16-42d9-8b3d-6391479bbcbc%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAL_va2_ORJAqgBhN97p0gJNOdHK54grqcVQ_yb53v3eCCiOLkQ%40mail.gmail.com.

Reply via email to