View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0037411 | Lazarus | Compiler | public | 2020-07-23 17:18 | 2021-02-28 21:49 |
Reporter | arent | Assigned To | Mattias Gaertner | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | assigned | Resolution | open | ||
Platform | Linux | OS | Ubuntu | ||
Product Version | 2.0.10 | ||||
Summary | 0037411: compilation WARNING is misleadingly flagged as ERROR | ||||
Description | compilation WARNING is misleadingly flagged as ERROR Compile Project, Target: /home/arent/tmp/project1: Success, Errors: 1 Error: /usr/bin/ld.bfd: warning: /home/arent/tmp/link.res contains output sections; did you forget -T? | ||||
Steps To Reproduce | Compile/Link new project with a blank form | ||||
Tags | No tags attached. | ||||
Fixed in Revision | |||||
LazTarget | - | ||||
Widgetset | |||||
Attached Files |
|
related to | 0036912 | feedback | Linker errors are not always displayed in the 'Messages' widget |
|
I tested compiling an empty project and it works without errors. Probably there are some more messages. Please right click on the Messages window to open the popup menu, Save / Save all/original messages to file. Then attach the file to this bug report. |
|
created new project: [File|New|Appiication], then [Run|Build] m.txt (605 bytes)
Hint: (11030) Start of reading config file /etc/fpc.cfg Hint: (11031) End of reading config file /etc/fpc.cfg Free Pascal Compiler version 3.0.4+dfsg-23 [2019/11/25] for x86_64 Copyright (c) 1993-2017 by Florian Klaempfl and others (1002) Target OS: Linux for x86-64 (3104) Compiling /home/arent/tmp/project1.lpr (3104) Compiling unit1.pas (9022) Compiling resource /home/arent/tmp/lib/x86_64-linux/project1.or /usr/bin/ld.bfd: warning: /home/arent/tmp/link.res contains output sections; did you forget -T? (9015) Linking /home/arent/tmp/project1 (1008) 51 lines compiled, 1.3 sec (1022) 2 hint(s) issued |
|
|
|
Just noticed that linking lazarus itself also emits the same warning - without flagging as error (9015) Linking ../lazarus /usr/bin/ld.bfd: warning: ../link.res contains output sections; did you forget -T? (9015) Linking ../startlazarus /usr/bin/ld.bfd: warning: ../link.res contains output sections; did you forget -T? |
Date Modified | Username | Field | Change |
---|---|---|---|
2020-07-23 17:18 | arent | New Issue | |
2020-07-23 18:06 | Mattias Gaertner | Assigned To | => Mattias Gaertner |
2020-07-23 18:06 | Mattias Gaertner | Status | new => feedback |
2020-07-23 18:06 | Mattias Gaertner | LazTarget | => - |
2020-07-23 18:06 | Mattias Gaertner | Note Added: 0124278 | |
2020-07-23 19:04 | arent | Note Added: 0124282 | |
2020-07-23 19:04 | arent | File Added: m.txt | |
2020-07-23 19:04 | arent | File Added: Screenshot from 2019-11-25 02-08-02.png | |
2020-07-23 19:04 | arent | Status | feedback => assigned |
2020-07-23 20:18 | arent | Note Edited: 0124282 | View Revisions |
2020-07-23 20:20 | arent | Note Added: 0124287 | |
2020-07-23 20:20 | arent | File Added: Screenshot from 2020-07-23 19-02-18.png | |
2020-08-06 14:36 | arent | Note Added: 0124615 | |
2021-02-28 21:49 | Juha Manninen | Relationship added | related to 0036912 |