[LLVMbugs] [Bug 19658] New: Undefinied references in firefox build after SVN 207451

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon May 5 19:16:09 PDT 2014


http://llvm.org/bugs/show_bug.cgi?id=19658

            Bug ID: 19658
           Summary: Undefinied references in firefox build after SVN
                    207451
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: ryan.osial at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 12478
  --> http://llvm.org/bugs/attachment.cgi?id=12478&action=edit
firefox compile errors

After clang SVN r207451 (git f5563f573675f1b0b30884185cc52e611e97bd6c),
firefox-28.0 (gentoo) no longer builds. The revision prior, SVN r207446 (git
ec47c9130c83eabfa9460651da30eefeac297f62) will compile firefox.

I'm still working on a test case that's smaller than compiling all of firefox.

It seems to be related to kIID in nsID.h

/**
 * A macro to build the static const IID accessor method. The Dummy
 * template parameter only exists so that the kIID symbol will be linked
 * properly (weak symbol on linux, gnu_linkonce on mac, multiple-definitions
 * merged on windows). Dummy should always be instantiated as "int".
 */

#define NS_DECLARE_STATIC_IID_ACCESSOR(the_iid)                         \
  template <class Dummy>                                                \
  struct COMTypeInfo                                                    \
  {                                                                     \
    static const nsIID kIID NS_HIDDEN;                                  \
  };                                                                    \
  static const nsIID& GetIID() {return COMTypeInfo<int>::kIID;}

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140506/7ddf0c33/attachment.html>


More information about the llvm-bugs mailing list