[PATCH uci 1/2] fuzz: Compile using libstd++

Hauke Mehrtens hauke at hauke-m.de
Sun Mar 12 14:52:50 PDT 2023


On 3/11/23 10:01, Petr Štetiar wrote:
> Hauke Mehrtens <hauke at hauke-m.de> [2023-03-09 00:18:09]:
> 
> Hi,
> 
>> It looks like libfuzzer is compiled using libstd++ on Debian Bookworm
>> and not libc++. Using libc++ causes linking errors, use libstd++
>> instead.
> 
> so maybe this should be detected and decided at runtime? Otherwise this seems
> to just support Bookworm from now and thus fail to compile elsewhere?
> 
> Cheers,
> 
> Petr

Hi Petr,

I tried this in a Debian bullseye container too and there it also works 
fine with libstd++.

What libfuzzer did you use in your container in gitlab?

An automatic detection would be nice, but I have no idea how to do it.

Hauke



More information about the openwrt-devel mailing list