https://bugs.documentfoundation.org/show_bug.cgi?id=97789

            Bug ID: 97789
           Summary: Build failure with gcc 5.2 and -O3: reffact.o: In
                    function `ScValidationDlg::Close()': undefined
                    reference to `ScTPValidationValue::RemoveRefDlg()'
           Product: LibreOffice
           Version: 5.1.0.3 release
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: [email protected]
          Reporter: [email protected]

Using gcc 5.2 and -O3, the LO build fails with these messages:

> [build LOC] libreoffice 
> [build LOC] top level modules: libreoffice 
> /home/jbf/LibO/lo51/workdir/CxxObject/sc/source/ui/view/reffact.o: In 
> function `ScValidationDlg::Close()': 
> reffact.cxx:(.text._ZN15ScValidationDlg5CloseEv[_ZN15ScValidationDlg5CloseEv]+0x36):
>  undefined reference to `ScTPValidationValue::RemoveRefDlg()' 
> /home/jbf/LibO/lo51/workdir/CxxObject/sc/source/ui/view/reffact.o: In 
> function `ScValidationDlg::dispose()': 
> reffact.cxx:(.text._ZN15ScValidationDlg7disposeEv[_ZN15ScValidationDlg7disposeEv]+0x10):
>  undefined reference to `ScValidationDlg::RemoveRefDlg(bool)' 
> collect2: error: ld returned 1 exit status 
> /home/jbf/LibO/lo51/sc/Library_sc.mk:10: recipe for target 
> '/home/jbf/LibO/lo51/instdir/program/libsclo.so' failed 
> make[1]: *** [/home/jbf/LibO/lo51/instdir/program/libsclo.so] Error 1 
> Makefile:244: recipe for target 'build' failed 
> make: *** [build] Error 2

This was originally reported by Jean-Baptiste Faure on the -devel ML, but it
got no replies in Dec 2015:
http://nabble.documentfoundation.org/LO-5-1-build-broken-td4169160.html

I just hit this on the 5.1.0.3 release, so it's still there. As a workaround, I
built reffact.o with -O2.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to