Closed Bug 1867181 Opened 2 years ago Closed 2 years ago

[deb12] ../../binutils-source/gold/main.cc:294:24: error: variable ‘main(int, char**)::mallinfo2 m’ has initializer but incomplete type

Categories

(Firefox Build System :: Toolchains, defect, P5)

defect

Tracking

(firefox122 fixed)

RESOLVED FIXED
122 Branch
Tracking Status
firefox122 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: glandium)

References

Details

Attachments

(1 file)

Filed by: mh [at] glandium.org
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=438067591&repo=try
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/ez9RR8O0SqONq69IHj-I5w/runs/0/artifacts/public/logs/live_backing.log


[task 2023-11-29T01:38:43.732Z] ../../binutils-source/gold/main.cc:294:24: error: variable ‘main(int, char**)::mallinfo2 m’ has initializer but incomplete type
[task 2023-11-29T01:38:43.733Z]   294 |       struct mallinfo2 m = mallinfo2();
[task 2023-11-29T01:38:43.733Z]       |                        ^
[task 2023-11-29T01:38:43.733Z] ../../binutils-source/gold/main.cc:294:38: error: invalid use of incomplete type ‘struct main(int, char**)::mallinfo2’
[task 2023-11-29T01:38:43.733Z]   294 |       struct mallinfo2 m = mallinfo2();
[task 2023-11-29T01:38:43.733Z]       |                                      ^
[task 2023-11-29T01:38:43.733Z] ../../binutils-source/gold/main.cc:294:14: note: forward declaration of ‘struct main(int, char**)::mallinfo2’
[task 2023-11-29T01:38:43.733Z]   294 |       struct mallinfo2 m = mallinfo2();
[task 2023-11-29T01:38:43.733Z]       |              ^~~~~~~~~
Blocks: 1839749
Assignee: nobody → mh+mozilla
Status: NEW → ASSIGNED
Pushed by mh@glandium.org: https://hg.mozilla.org/integration/autoland/rev/43fc350794aa Set LDFLAGS to point binutils build to the sysroot libraries. r=firefox-build-system-reviewers,ahochheiden build
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 122 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: