[Mono-bugs] [Bug 373113] New: Builds boehm-gc incorrectly if top-level configure gets CPPFLAGS passed

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Mar 21 20:25:16 EDT 2008


           Summary: Builds boehm-gc incorrectly if top-level configure gets
                    CPPFLAGS passed
           Product: Mono: Runtime
           Version: 1.2.6
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: packaging
        AssignedTo: wberrier at novell.com
        ReportedBy: slomo at circular-chaos.org
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---

mono 1.2.6 builds boehm-gc incorrectly if one passes CPPFLAGS to the top-level
configure. This results in a build failure later as boehm-gc doesn't export all
symbols that are needed (at least when using --with-threads=__thread...
GC_thread_tls is missing then).

This is caused by the following:
the top-level configure exports CPPFLAGS so they're get passed to
libgc/configure. This works fine in general unless the top-level configure gets
CPPFLAGS passed.
In that case autoconf will call libgc/configure with those CPPFLAGS instead of
the ones that were exported by the top-level configure.


CPPFLAGS=foo ./configure => configure exports CPPFLAGS="foo -DUSE_COMPILER_TLS
etc" => configure calls libgc/configure CPPFLAGS="foo" which then overwrites
what was exported.

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list