On 2026/10/21 16:37, Thomas Dettbarn wrote:
> Alright, I will have a look.
> 
> May I trouble you for a full build log? (Preferably outside the mailing list?)

might as well send on list, it's just 45k gzipped. attached.

> And could you elaborate on "it ignores ports infrastructure" a bit?
> (What do you need?)

ports should just take opt flags from CFLAGS/CXXFLAGS and not add their
own (e.g. the -O3 here)

> Thomas
> 
> > Stuart Henderson <[email protected]> hat am 21.10.2026 09:44 CEST 
> > geschrieben:
> > 
> >  
> > build fails on i386 (looks like it's in a bundled copy of fmt),
> > also it ignores ports infrastructure and uses -O3 which it
> > shouldn't do:
> > 
> > FAILED: _deps/fmt-build/CMakeFiles/fmt.dir/src/format.cc.o
> > /pobj/yosys-0.70/bin/c++  -I/pobj/yosys-0.70/yosys-0.70/libs/fmt/include 
> > -O2 -pipe -O3 -std=gnu++20 -fPIC -Wall -Wextra -Werror=unused-variable 
> > -Werror=unused-parameter -Werror=unused-function -MD -MT 
> > _deps/fmt-build/CMakeFiles/fmt.dir/src/format.cc.o -MF 
> > _deps/fmt-build/CMakeFiles/fmt.dir/src/format.cc.o.d -o 
> > _deps/fmt-build/CMakeFiles/fmt.dir/src/format.cc.o -c 
> > /pobj/yosys-0.70/yosys-0.70/libs/fmt/src/format.cc
> > In file included from /pobj/yosys-0.70/yosys-0.70/libs/fmt/src/format.cc:8:
> > In file included from 
> > /pobj/yosys-0.70/yosys-0.70/libs/fmt/include/fmt/format-inl.h:28:
> > /pobj/yosys-0.70/yosys-0.70/libs/fmt/include/fmt/format.h:3108:14: error: 
> > invalid argument type 'uint128' to unary expression
> > 3108 |       f.f &= ~(inc - 1);
> >      |              ^~~~~~~~~~


Attachment: yosys.log.gz
Description: application/gunzip

Reply via email to