Hi, I am new to Linux, to make the preprocessed source I modified the makefile from: "linux-4.18.1/drivers/net/ethernet/mellanox/mlx5/core" this way...
From: mlx5_core-$(CONFIG_MLX5_ESWITCH) += eswitch.o eswitch_offloads.o en_rep.o en_tc.o To: mlx5_core-$(CONFIG_MLX5_ESWITCH) += eswitch.i eswitch_offloads.i en_rep.i en_tc.i The file "en_rep.i" is attached to this post. To reproduce the bug, just call make from the "core" directory, by specifing the full path to linux root directory (the -C option): "linux-4.18.1/drivers/net/ethernet/mellanox/mlx5/core$ make -C linux-4.18.1 SUBDIRS=$(pwd)" ** Attachment added: "en_rep.i" https://bugs.launchpad.net/ubuntu/+source/gcc-defaults/+bug/1788491/+attachment/5191488/+files/en_rep.i -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1788491 Title: gcc fatal error on Linux kernel building To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gcc-defaults/+bug/1788491/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs