Closed Bug 930227 Opened 11 years ago Closed 11 years ago

ld: warning: ignoring file <file>, file was built for unsupported file format

Categories

(Firefox Build System :: General, defect)

All
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla27

People

(Reporter: nalexander, Assigned: glandium)

References

Details

Attachments

(2 files)

See attached log.

archo:moz ncalexan$ clang --version
Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn)
Target: x86_64-apple-darwin11.4.2
Thread model: posix
archo:moz ncalexan$ grep -- -MD objdir-droid/config/autoconf.mk
HOST_CFLAGS = -DXP_UNIX -DXP_MACOSX -DNO_X11 -MD -MP -MF $(MDDEPDIR)/$(@F).pp
HOST_CXXFLAGS = -std=gnu++0x -MD -MP -MF $(MDDEPDIR)/$(@F).pp
OS_COMPILE_CFLAGS = -include $(DEPTH)/mozilla-config.h -DMOZILLA_CLIENT -MD -MP -MF $(MDDEPDIR)/$(@F).pp
OS_COMPILE_CXXFLAGS = -DMOZILLA_CLIENT -include $(DEPTH)/mozilla-config.h -MD -MP -MF $(MDDEPDIR)/$(@F).pp
tn was seeing this too today trying to build fennec on OS X.
Host and target linkers may not support the same kind of lists expandlibs uses.
On the other hand, lists are only really needed for libxul, where the command
line length or number of arguments may overflow the kernel support. So just
don't use them for host linkage.
Attachment #821344 - Flags: review?(gps)
Assignee: nobody → mh+mozilla
Status: NEW → ASSIGNED
Attachment #821344 - Flags: review?(gps) → review+
https://hg.mozilla.org/mozilla-central/rev/36d807c66c6d
https://hg.mozilla.org/mozilla-central/rev/04fc2a77dcad
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla27
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: