Closed Bug 930227 Opened 6 years ago Closed 6 years ago
ld: warning: ignoring file <file>, file was built for unsupported file format
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
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla27
You need to log in before you can comment on or make changes to this bug.