Hi Jiri,
could you please have a look?
Thanks,
Jakub
On 9/28/21 20:15, HelenOS wrote:
> #837: Build error on Fedora 34
> -----------------------------+-----------------------
> Reporter: Jakub Jermář | Owner: (none)
> Type: defect | Status: new
> Priority: major | Milestone:
> Component: helenos-build | Version: mainline
> Resolution: | Keywords:
> Blocker for: | Depends on:
> See also: |
> -----------------------------+-----------------------
>
> Comment (by Jakub Jermář):
>
> By comparing the command line used for translating launcher on older
> Fedora and Fedora 34, it turns out that on Fedora 34 the command line is
> missing the `-Iuspace/app/launcher` option and so the compiler doesn't
> know where to find images.h.
>
> On the old Fedora, this option is included right before the
> `-fdiagnostics-color=always` option, but is missing on Fedora 34.
>
> Good cmd line from old Fedora:
> {{{
> gcc -Iuspace/f910d3f@@app_launcher@exe
> -I../../HelenOS.clean/uspace/lib/gfximage/include
> -I../../HelenOS.clean/uspace/lib/gfx/include -Iuspace/lib/pixconv
> -I../../HelenOS.clean/uspace/lib/pixconv -Iuspace/lib/compress
> -I../../HelenOS.clean/uspace/lib/compress
> -I../../HelenOS.clean/uspace/lib/ui/include
> -I../../HelenOS.clean/uspace/lib/gfxfont/include
> -I../../HelenOS.clean/uspace/lib/riff/include
> -I../../HelenOS.clean/uspace/lib/memgfx/include
> -I../../HelenOS.clean/uspace/lib/display/include
> -I../../HelenOS.clean/uspace/lib/ipcgfx/include
> -I../../HelenOS.clean/uspace/lib/congfx/include -Iuspace/app/launcher
> -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -std=gnu11
> -imacros /home/martin/build/amd64/config.h -O3 -fexec-charset=UTF-8
> -finput-charset=UTF-8 -D_HELENOS_SOURCE -Wa,--fatal-warnings -Wall -Wextra
> -Werror-implicit-function-declaration -Wwrite-strings -Wunknown-pragmas
> -Wno-unused-parameter -ffunction-sections -fno-common -fdebug-prefix-
> map=/home/martin/HelenOS.clean=. -Wsystem-headers -fvar-tracking-
> assignments -Werror -Wmissing-prototypes -Wno-missing-braces -Wno-missing-
> field-initializers -Wno-unused-parameter -Wno-clobbered -Wno-nonnull-
> compare -fno-builtin-strftime
> -isystem../../HelenOS.clean/uspace/lib/c/../../../abi/include
> -isystem../../HelenOS.clean/uspace/lib/c/../../../abi/arch/amd64/include
> -isystem../../HelenOS.clean/uspace/lib/c/arch/amd64/include
> -isystem../../HelenOS.clean/uspace/lib/c/include -D__LE__ -fno-omit-frame-
> pointer -MD -MQ
> 'uspace/f910d3f@@app_launcher@exe/app_launcher_launcher.c.o' -MF
> 'uspace/f910d3f@@app_launcher@exe/app_launcher_launcher.c.o.d' -o
> 'uspace/f910d3f@@app_launcher@exe/app_launcher_launcher.c.o' -c
> ../../HelenOS.clean/uspace/app/launcher/launcher.c
> }}}
>
> Fedora 34:
> {{{
> gcc -Iuspace/app_launcher.p -I../helenos/uspace/lib/gfximage/include
> -I../helenos/uspace/lib/gfx/include -Iuspace/lib/pixconv
> -I../helenos/uspace/lib/pixconv -Iuspace/lib/compress
> -I../helenos/uspace/lib/compress -I../helenos/uspace/lib/ui/include
> -I../helenos/uspace/lib/gfxfont/include
> -I../helenos/uspace/lib/riff/include
> -I../helenos/uspace/lib/memgfx/include
> -I../helenos/uspace/lib/display/include
> -I../helenos/uspace/lib/ipcgfx/include
> -I../helenos/uspace/lib/congfx/include -fdiagnostics-color=always
> -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -imacros
> /home/jermar/software/HelenOS/build-amd64/config.h -O3 -fexec-
> charset=UTF-8 -finput-charset=UTF-8 -D_HELENOS_SOURCE -Wa,--fatal-warnings
> -Wall -Wextra -Werror-implicit-function-declaration -Wwrite-strings
> -Wunknown-pragmas -Wno-unused-parameter -pipe -ffunction-sections -fno-
> common -fdebug-prefix-map=/home/jermar/software/HelenOS/helenos=.
> -Wsystem-headers -fvar-tracking-assignments -Werror -Wmissing-prototypes
> -Wno-missing-braces -Wno-missing-field-initializers -Wno-unused-parameter
> -Wno-clobbered -Wno-nonnull-compare -fno-builtin-strftime
> -isystem../helenos/abi/include -isystem../helenos/abi/arch/amd64/include
> -isystem../helenos/uspace/lib/c/arch/amd64/include
> -isystem../helenos/uspace/lib/c/include -D__LE__ -fno-omit-frame-pointer
> -MD -MQ uspace/app_launcher.p/app_launcher_launcher.c.o -MF
> uspace/app_launcher.p/app_launcher_launcher.c.o.d -o
> uspace/app_launcher.p/app_launcher_launcher.c.o -c
> ../helenos/uspace/app/launcher/launcher.c
> }}}
>
>
> _______________________________________________
> HelenOS-tickets mailing list
> [email protected]
> http://lists.modry.cz/listinfo/helenos-tickets
>
_______________________________________________
HelenOS-devel mailing list
[email protected]
http://lists.modry.cz/listinfo/helenos-devel