[LLVMbugs] [Bug 11690] New: Support building chromium in shared_library mode

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Jan 1 20:26:41 PST 2012


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

             Bug #: 11690
           Summary: Support building chromium in shared_library mode
           Product: clang
           Version: trunk
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: fischman at chromium.org
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified


With these env variables:
GYP_DEFINES='disable_nacl=1 enable_svg=0 proprietary_codecs=1
ffmpeg_branding=Chrome clang=1 clang_use_chrome_plugins=1
component=shared_library'
GYP_GENERATORS=ninja
GYP_GENERATOR_FLAGS='output_dir=ninja config=Debug'

build chromium with ninja on linux.  The component=shared_library directive
tries to build parts of chromium as .so's and the final browser links them in
dynamically.  Today this is broken because of symbol visibility problems (see
bug 10113 and bug 10038 for some history), whereas g++ does not have these
problems.

Chromium pointers:
http://code.google.com/p/chromium/wiki/LinuxBuildInstructions
http://code.google.com/p/chromium/wiki/NinjaBuild

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list