| Summary: | [WPE][GTK] Building with -D_FORTIFY_SOURCE=n breaks gtk-doc | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Adrian Perez <aperez> |
| Component: | Tools / Tests | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED WONTFIX | ||
| Severity: | Normal | CC: | mcatanzaro |
| Priority: | P2 | ||
| Version: | WebKit Local Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
|
Description
Adrian Perez
2020-02-23 23:17:25 PST
(In reply to Adrian Perez from comment #0) > [6/61] Generating ../docs-build.stamp > FAILED: docs-build.stamp > cd /home/aperez/devel/WebKit/build-wpe-nouni && /usr/bin/cmake -E env > CC=/usr/lib/ccache/bin/clang "CFLAGS=-fdiagnostics-color=always > -fcolor-diagnostics -Wextra -Wall -Wno-parentheses-equality > -Qunused-arguments -Wwrite-strings -Wundef -Wpointer-arith > -Wmissing-format-attribute -Wformat-security -Wcast-align -flto=thin > -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-aliasing > -fno-exceptions -Wno-unused-parameter" "LDFLAGS=-stdlib=libc++ > -Wl,-O1,--sort-common -fuse-ld=lld -flto=thin > -Wl,--thinlto-jobs=3,--thinlto-cache-dir=/home/aperez/.cache/lld-thinlto,-- > thinlto-cache-policy,cache_size=0%:cache_size_bytes=1g > -Wl,--no-undefined,--as-needed,-z,relro,-z,now,-z,noexecstack" > /home/aperez/devel/WebKit/Tools/gtkdoc/generate-gtkdoc --wpe && touch > docs-build.stamp > > [...] In the command here we can see that the compiler is indeed right (how amazing that it usually is!) and the -O𝑛 flag is not being passed in the CFLAGS environment variable that is forwarded to the generate-gtkdoc script. You removed the gtk-doc, good job! |