[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/25151] New: writing section `.text' at huge (ie negative) file o
From: |
akobets at mail dot ru |
Subject: |
[Bug ld/25151] New: writing section `.text' at huge (ie negative) file offset |
Date: |
Wed, 30 Oct 2019 17:46:34 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=25151
Bug ID: 25151
Summary: writing section `.text' at huge (ie negative) file
offset
Product: binutils
Version: 2.33
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: ld
Assignee: unassigned at sourceware dot org
Reporter: akobets at mail dot ru
Target Milestone: ---
Ubuntu Linux 19.10, Kernel 5.3.0
prog.c
======
int start()
{
return 1;
}
======
gcc -c -mcmodel=kernel -fno-PIC -O2 prog.c
ld --oformat binary --entry start -Ttext 0xFFFFFFFFFF840000 -o prog.bin prog.o
warning: writing section `.text' at huge (ie negative) file offset
error: File truncated
This error in ld 2.32 too. But this error occur in Ubuntu Linux 19.10. There is
no error in Ubuntu Linux 19.04.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/25151] New: writing section `.text' at huge (ie negative) file offset,
akobets at mail dot ru <=