https://sourceware.org/bugzilla/show_bug.cgi?id=27424
Bug ID: 27424 Summary: GCC 11 and binutils 2.36 failed to create a working Linux kernel Product: binutils Version: 2.36 Status: NEW Severity: normal Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: hjl.tools at gmail dot com CC: slyfox at inbox dot ru Target Milestone: --- GCC 11.0.0 20210213 and binutils 2.36 failed to create a working Linux kernel 5.10.16: [ 3.839976] BUG: unable to handle page fault for address: ffffffffc0256350 [ 3.840546] #PF: supervisor write access in kernel mode [ 3.841118] #PF: error_code(0x0003) - permissions violation [ 3.841675] PGD 172a15067 P4D 172a15067 PUD 172a17067 PMD 108a39067 PTE 8000000108a05021 [ 3.842254] Oops: 0003 [#1] SMP PTI [ 3.842819] CPU: 3 PID: 523 Comm: systemd-udevd Not tainted 5.10.16+ #130 [ 3.843390] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-1.fc33 04/01/2014 [ 3.843946] RIP: 0010:register_trace_event+0xe5/0x240 [ 3.844612] Code: 31 e4 eb 7f 4c 8b 65 08 48 89 ea 4c 89 ef 4c 89 e6 e8 3f 08 43 00 84 c0 0f 84 1f 01 00 00 4c 89 6d 08 48 89 6b 10 4c 89 63 18 <4d> 89 2c 24 48 8b 53 28 48 83 3a 00 0f 84 8d 00 00 00 48 83 7a 08 [ 3.845940] RSP: 0000:ffffab6c804f3c88 EFLAGS: 00010202 [ 3.846584] RAX: 0000000000000001 RBX: ffffffffc049f260 RCX: 0000000000000000 [ 3.847241] RDX: ffffffffc0256350 RSI: ffffffffc0256350 RDI: ffffffffc049f270 [ 3.847928] RBP: ffffffffbdba4d40 R08: ffffffffbdba4d40 R09: ffffffffbdba4d40 [ 3.848372] Adding 4070396k swap on /dev/zram0. Priority:100 extents:1 across:4070396k SSFS [ 3.848578] R10: ffff985540069e60 R11: 0000000000000000 R12: ffffffffc0256350 [ 3.848580] R13: ffffffffc049f270 R14: ffffffffbdb8f2a0 R15: 0000000000000002 [ 3.851411] FS: 00007f7445976380(0000) GS:ffff9856b7d80000(0000) knlGS:0000000000000000 [ 3.852165] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 3.852934] CR2: ffffffffc0256350 CR3: 00000001027a0006 CR4: 0000000000370ee0 [ 3.853974] Call Trace: [ 3.854803] trace_event_raw_init+0x9/0x20 [ 3.855584] event_init+0x2d/0x70 [ 3.856271] trace_module_notify+0x127/0x250 [ 3.857026] blocking_notifier_call_chain_robust+0x64/0xd0 [ 3.857690] ? mutex_lock+0xe/0x30 [ 3.858373] load_module+0x22ab/0x26b0 [ 3.859063] ? __do_sys_finit_module+0x98/0xe0 [ 3.859695] __do_sys_finit_module+0x98/0xe0 [ 3.860367] do_syscall_64+0x33/0x80 [ 3.861030] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 3.861639] RIP: 0033:0x7f74468f704d [ 3.862275] Code: 00 c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d fb 7d 0c 00 f7 d8 64 89 01 48 [ 3.863561] RSP: 002b:00007ffcf3f0c1b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 3.864230] RAX: ffffffffffffffda RBX: 00005605c6614d90 RCX: 00007f74468f704d [ 3.864898] RDX: 0000000000000000 RSI: 00007f7446a3435a RDI: 0000000000000014 [ 3.865508] RBP: 0000000000020000 R08: 0000000000000000 R09: 00007f7446a485b6 [ 3.866149] R10: 0000000000000014 R11: 0000000000000246 R12: 00007f7446a3435a [ 3.866743] R13: 00005605c6615a80 R14: 0000000000000000 R15: 00005605c673ea40 [ 3.867367] Modules linked in: intel_cstate(-) snd_hda_core(+) intel_uncore(-) irqbypass ac97_bus snd_hwdep rapl snd_seq snd_seq_device snd_pcm snd_timer snd i2c_i801 pcspkr i2c_smbus joydev soundcore lpc_ich virtio_balloon zram ip_tables crct10dif_pclmul crc32_pclmul crc32c_intel qxl drm_ttm_helper ttm ghash_clmulni_intel serio_raw drm_kms_helper virtio_console virtio_blk virtio_net net_failover failover cec qemu_fw_cfg drm fuse [ 3.869976] CR2: ffffffffc0256350 [ 3.870602] ---[ end trace 755bc7589d6418ce ]--- [ 3.871258] RIP: 0010:register_trace_event+0xe5/0x240 [ 3.871877] Code: 31 e4 eb 7f 4c 8b 65 08 48 89 ea 4c 89 ef 4c 89 e6 e8 3f 08 43 00 84 c0 0f 84 1f 01 00 00 4c 89 6d 08 48 89 6b 10 4c 89 63 18 <4d> 89 2c 24 48 8b 53 28 48 83 3a 00 0f 84 8d 00 00 00 48 83 7a 08 [ 3.873145] RSP: 0000:ffffab6c804f3c88 EFLAGS: 00010202 [ 3.873781] RAX: 0000000000000001 RBX: ffffffffc049f260 RCX: 0000000000000000 [ 3.874425] RDX: ffffffffc0256350 RSI: ffffffffc0256350 RDI: ffffffffc049f270 [ 3.875050] RBP: ffffffffbdba4d40 R08: ffffffffbdba4d40 R09: ffffffffbdba4d40 [ 3.875679] R10: ffff985540069e60 R11: 0000000000000000 R12: ffffffffc0256350 [ 3.876301] R13: ffffffffc049f270 R14: ffffffffbdb8f2a0 R15: 0000000000000002 [ 3.876913] FS: 00007f7445976380(0000) GS:ffff9856b7d80000(0000) knlGS:0000000000000000 [ 3.877516] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 3.878128] CR2: ffffffffc0256350 CR3: 00000001027a0006 CR4: 0000000000370ee0 Binutils 2.35 works fine. -- You are receiving this mail because: You are on the CC list for the bug.