You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2014/08/21 03:57:01 UTC

[Issue 125475] New: Build error while compiling the component svx

https://issues.apache.org/ooo/show_bug.cgi?id=125475

          Issue ID: 125475
        Issue Type: DEFECT
           Summary: Build error while compiling the component svx
           Product: General
           Version: 4.1.0
          Hardware: PC
                OS: Linux64
            Status: CONFIRMED
          Severity: blocker
          Priority: P3
         Component: code
          Assignee: issues@openoffice.apache.org
          Reporter: samalipraveena@yahoo.com.au

while compiling svx, i got an error like this
/media/amali/source/aoo-trunk/main/solver/420/unxlngx6.pro/workdir/CxxObject/svx/source/fmcomp/fmgridif.o:
In function
`FmXGridControl::createPeer(com::sun::star::uno::Reference<com::sun::star::awt::XToolkit>
const&, com::sun::star::uno::Reference<com::sun::star::awt::XWindowPeer>
const&)':
fmgridif.cxx:(.text+0x68b2): undefined reference to `non-virtual thunk to
WindowListenerMultiplexer::acquire()'
/usr/bin/ld:
/media/amali/source/aoo-trunk/main/solver/420/unxlngx6.pro/workdir/CxxObject/svx/source/fmcomp/fmgridif.o:
relocation R_X86_64_PC32 against undefined symbol
`_ZThn48_N25WindowListenerMultiplexer7acquireEv' can not be used when making a
shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status

Though g++ compiles with -fPIC, i'm getting this error. I searched the web and
found out this is a problem for LibreOffice product, too.
I couldn't find where this WindowListenerMultiplexer class is implemented and
so i can find the definition of this function. I think it is some kind of old
code??

-- 
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.

[Issue 125475] Build error while compiling the component svx

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=125475

--- Comment #6 from Andrea Pescetti <pe...@apache.org> ---
Ariel, do you believe it makes sense to include this patch/workaround in 4.1.2?
In general we want that it is possible to build OpenOffice both on our (old)
baseline and on the most recent versions of major distributions.

-- 
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.

[Issue 125475] Build error while compiling the component svx

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=125475

samalipraveena@yahoo.com.au changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from samalipraveena@yahoo.com.au ---
Built the source using g++4.8 and didn't get this error after that; so for now,
I'm going to use g++4.8 to make the build in Ubuntu Linux14.04.

-- 
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.

[Issue 125475] Build error while compiling the component svx

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=125475

--- Comment #5 from Ariel Constenla-Haile <ar...@apache.org> ---
Created attachment 84310
  --> https://issues.apache.org/ooo/attachment.cgi?id=84310&action=edit
Hack to work around

The attached patch allows to build on latest Fedora 21 with g++ (GCC) 4.9.2
20141101 (Red Hat 4.9.2-1)

-- 
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.

[Issue 125475] Build error while compiling the component svx

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=125475

samalipraveena@yahoo.com.au changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |samalipraveena@yahoo.com.au

-- 
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.

[Issue 125475] Build error while compiling the component svx

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=125475

hdu@apache.org <hd...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hdu@apache.org
         Resolution|FIXED                       |NOT_AN_ISSUE

--- Comment #3 from hdu@apache.org <hd...@apache.org> ---
Yes, this seems to be caused by the GCC4.9 bug "devirtualization too trigger
happy" (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58678), so this not an AOO
problem. Setting the status to NOT_AN_AOO_ISSUE:

-- 
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.

[Issue 125475] Build error while compiling the component svx

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=125475

--- Comment #1 from samalipraveena@yahoo.com.au ---
I get this error because of buggy g++4.9. I built using g++4.8 and didn't get
any error again.

-- 
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.

[Issue 125475] Build error while compiling the component svx

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=125475

Andrea Pescetti <pe...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pescetti@apache.org

-- 
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.

[Issue 125475] Build error while compiling the component svx

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=125475

hdu@apache.org <hd...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |CLOSED

--- Comment #4 from hdu@apache.org <hd...@apache.org> ---
Closing the resolved issue.

-- 
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.