make libs at top-level fails building firefox-bin

RESOLVED FIXED in mozilla26

Status

()

Core
Build Config
RESOLVED FIXED
4 years ago
4 years ago

People

(Reporter: glandium, Assigned: glandium)

Tracking

Trunk
mozilla26
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

4 years ago
$ ./mach build libs
 0:00.10 /usr/bin/make -j8 -s libs
 0:00.20 firefox-bin
 0:00.35 Executing: /usr/bin/ccache clang++ -fcolor-diagnostics -o firefox-bin -Qunused-arguments -Qunused-arguments -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wsign-compare -Wno-invalid-offsetof -Wno-c++0x-extensions -Wno-extended-offsetof -Wno-unknown-warning-option -Wno-return-type-c-linkage -Wno-mismatched-tags -fno-exceptions -fno-strict-aliasing -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -I/home/mh/mozilla-central/build/unix/headers -pthread -pipe -DNDEBUG -DTRIMMED -g -Os -freorder-blocks -fomit-frame-pointer -lpthread -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id -B build/unix/gold -Wl,-rpath-link,obj-x86_64-unknown-linux-gnu/dist/bin -Wl,-rpath-link,/usr/local/lib -L./dist/bin -L./dist/lib -ldl -Wl,--whole-archive dist/lib/libmozglue.a dist/lib/libmemory.a -Wl,--no-whole-archive -rdynamic -lz -ldl build/unix/stdc++compat/libstdc++compat.a
 0:00.35 /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/crt1.o(.text+0x20): error: undefined reference to 'main'
 0:00.35 clang: error: linker command failed with exit code 1 (use -v to see invocation)
 0:00.36 make: *** [firefox-bin] Error 1
(Assignee)

Comment 1

4 years ago
Created attachment 799890 [details] [diff] [review]
Avoid defining PROGRAM in top-level Makefile
Attachment #799890 - Flags: review?(ted)

Updated

4 years ago
Attachment #799890 - Flags: review?(ted) → review+
(Assignee)

Updated

4 years ago
Blocks: 912832
(Assignee)

Comment 2

4 years ago
https://hg.mozilla.org/integration/mozilla-inbound/rev/84290b641e24
https://hg.mozilla.org/mozilla-central/rev/84290b641e24
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla26
You need to log in before you can comment on or make changes to this bug.