View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0036345 | FPC | Compiler | public | 2019-11-23 09:27 | 2019-11-24 15:01 |
Reporter | Alfred | Assigned To | Florian | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | Linux x86_64 | OS | OS Version | ||
Product Version | 3.3.1 | Product Build | |||
Target Version | Fixed in Version | 3.2.0 | |||
Summary | 0036345: Error in linker script when building with sysroot. | ||||
Description | If building with sysroot (using -XR as a compiler option), the custom linker script file contains an error preventing the executable from running. (however, it does run using elevated (root) rights ...) It all boils down to these line in t_linux.pas if current_module.islibrary then add(' . = 0 + SIZEOF_HEADERS;') else add(' PROVIDE (__executable_start = 0x0400000); . = 0x0400000 + SIZEOF_HEADERS;'); add(' . = 0 + SIZEOF_HEADERS;'); <------------------------------- ERROR !!! As you can see, the last line of this code-snipped will always source the " . = 0 + SIZEOF_HEADERS;" !! | ||||
Additional Information | Same error in FPC fixes. Would be good to fix fixes too. | ||||
Tags | No tags attached. | ||||
Fixed in Revision | 43571 | ||||
FPCOldBugId | |||||
FPCTarget | - | ||||
Attached Files |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2019-11-23 09:27 | Alfred | New Issue | |
2019-11-24 13:19 | Florian | Assigned To | => Florian |
2019-11-24 13:19 | Florian | Status | new => resolved |
2019-11-24 13:19 | Florian | Resolution | open => fixed |
2019-11-24 13:19 | Florian | Fixed in Version | => 3.2.0 |
2019-11-24 13:19 | Florian | Fixed in Revision | => 43571 |
2019-11-24 13:19 | Florian | FPCTarget | => - |
2019-11-24 13:19 | Florian | Note Added: 0119473 | |
2019-11-24 15:01 | Alfred | Status | resolved => closed |
2019-11-24 15:01 | Alfred | Note Added: 0119475 |