configure test for default-visibility (GCC PR26905) fails with -mthumb

Bug #510206 reported by Matthias Klose
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gcc-4.4 (Ubuntu)
Invalid
Undecided
Unassigned
openoffice.org (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Binary package hint: openoffice.org

the following test fails when -mthumb is the default:

   if test "$HAVE_GCC_VISIBILITY_FEATURE" = "TRUE"; then
      AC_MSG_CHECKING([if gcc has a visibility bug with class-level attributes (GCC bug 26905)])
      cat >visibility.cxx <<_ACEOF
#pragma GCC visibility push(hidden)
struct __attribute__ ((visibility ("default"))) TestStruct {
  static void Init();
};
__attribute__ ((visibility ("default"))) void TestFunc() {
  TestStruct::Init();
}
_ACEOF
      if ! $CXX $CXXFLAGS $CPPFLAGS -fpic -S visibility.cxx 2>/dev/null > /dev/null; then
         gccvisbroken=yes
      else
         if $EGREP -q '@PLT|\$stub|\(PLT\)' visibility.s; then
             gccvisbroken=no;
         else
             gccvisbroken=yes;
         fi
      fi
      rm -f visibility.s

      AC_MSG_RESULT([$gccvisbroken])
      if test "$gccvisbroken" = "yes"; then
         AC_MSG_WARN([Your gcc is not -fvisibility=hidden safe. Disabling visibility])
         echo "Your gcc is not -fvisibility=hidden safe. Disabling visibility" >> warn
         unset HAVE_GCC_VISIBILITY_FEATURE
      fi
   fi

Tags: armel armv7
Matthias Klose (doko)
Changed in openoffice.org (Ubuntu):
importance: Undecided → High
milestone: none → lucid-alpha-3
status: New → Triaged
Revision history for this message
Matthias Klose (doko) wrote :

updated patch for OOo

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package openoffice.org - 1:3.2.0~rc3-1ubuntu1

---------------
openoffice.org (1:3.2.0~rc3-1ubuntu1) lucid; urgency=low

  [ Chris Cheney ]
  * Resynchronise with Debian (r1767). Remaining changes:
    - Add Launchpad integration support.
    - Add Launchpad translations support.
    - Add package openoffice.org-style-human.
    - Add some Ubuntu-specific bitmaps. Adjust broffice diversions for these.
    - Add support for compressing debs with lzma.
    - Add support for shared /usr/share/doc directories.
    - Add support to build l10n as a separate source.
    - Add support to turn off building on sparc.
    - Add Xb-Npp-xxx tags according to "firefox distro add-on suport" spec.
    - Use imagemagick instead of graphicsmagick.
    - openoffice.org-help switch to internal copy of lucene.
    - Disable gnome-vfs support since it is buggy.
    - Switch desktop files from %U to %F for gvfs fuse.
  * Resynchronise with ooo-build-3-2 (49c7530fbc9a9679c23e5349376c59545e51b030).

  [ Matthias Klose ]
  * Configuration fixes to allow backports for hardy, intrepid, jaunty
    and karmic.
  * ooo-build/patches/dev300/arm-vis.diff: The test for GCC PR26905 is wrong
    for thumb mode. Assume that it's fixed, which is the case for all default
    compilers since jaunty. LP: #510206.
  * ooo-build/patches/dev300/ubuntu-arm-thumb.diff: Update for 3.2; selectively
    build modules with -O2 to work around LP: #506358.

openoffice.org (1:3.2.0~rc3-1) experimental; urgency=low

  * OpenOffice.org 3.2.0 release candidate 3 (OOO320_m10)

  * ooo-build:
    - update (86bf4b50ea8d350ecaed08451b32f86710d611c0)

  * merge 1:3.1.1-14

openoffice.org (1:3.1.1-14) unstable; urgency=medium

  * ooo-build:
    - update (2953d9ac150d05f8774712294a792302bc15ade1)

  * debian/rules
    - fix conditionals to also add gcj-jdk builddep in non--gcj-build cases
      as we have archs needing it also for "normal" builds
    - add -Xjavasettingsunopkginstall.xml so that it doesn't end up in
      .md5sums, thanks Loic Minier
 -- Chris Cheney <email address hidden> Wed, 27 Jan 2010 09:30:00 -0600

Changed in openoffice.org (Ubuntu):
status: Triaged → Fix Released
Matthias Klose (doko)
Changed in gcc-4.4 (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.