After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 652228 - Flags -fno-rtti -fno-exception should be detected if the compiler accepts them
Flags -fno-rtti -fno-exception should be detected if the compiler accepts them
Status: RESOLVED OBSOLETE
Product: pango
Classification: Platform
Component: general
1.28.x
Other Solaris
: Normal normal
: ---
Assigned To: pango-maint
pango-maint
: 603799 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2011-06-09 18:56 UTC by Dagobert Michelsen
Modified: 2012-08-18 17:26 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Dagobert Michelsen 2011-06-09 18:56:01 UTC
I am compiling on Solaris 9 Sparc with Sun Studio 12 and the flags trigger other behaviour on Sun Studio then on GCC. The correctness should be tested with errwarn set during configure time. The respective lines in configure are

# Make sure we don't link to libstdc++ (needs de-gcc-fication)
CXXFLAGS="$CXXFLAGS -fno-rtti -fno-exceptions"
Comment 1 Behdad Esfahbod 2011-06-09 19:03:22 UTC
We should copy this from upstream harfbuzz repo:

# Compiler flags
AC_CANONICAL_HOST
if test "x$GCC" = "xyes"; then

        # Make sure we don't link to libstdc++
        CXXFLAGS="$CXXFLAGS -fno-rtti -fno-exceptions"

        case "$host" in
                arm-*-*)
                        # Request byte alignment on arm
                        CXXFLAGS="$CXXFLAGS -mstructure-size-boundary=8"
                ;;
        esac
fi
Comment 2 Matthias Clasen 2011-09-05 14:20:43 UTC
*** Bug 603799 has been marked as a duplicate of this bug. ***
Comment 3 Behdad Esfahbod 2012-08-18 17:26:04 UTC
We've merged the HarfBuzz branch.  Closing obsolete.