Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 195664 - openoffice-2.3.0 -finline-functions optimization
Summary: openoffice-2.3.0 -finline-functions optimization
Status: RESOLVED DUPLICATE of bug 151869
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL: http://forums.gentoo.org/viewtopic-t-...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-12 22:23 UTC by Keef Aragon
Modified: 2007-10-13 07:37 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Keef Aragon 2007-10-12 22:23:14 UTC
compiling on amd64 building of OO.o fails if the -finline-functions CFLAG (probably CXXFLAGS as the undefined references are to C++ templates) is specified.  The link is from the German Gentoo forums.


Reproducible: Always

Steps to Reproduce:
1. add -finline-functions to /etc/make.conf CXXFLAGS
2. emerge openoffice

Actual Results:  
../unxlngx6.pro/slo/image.o: In function `SbiImage::Load(SvStream&, unsigned int&)':
image.cxx:(.text+0x7b9): undefined reference to `PCodeBuffConvertor<unsigned short, unsigned int>::convert()'
image.cxx:(.text+0x7c3): undefined reference to `PCodeBuffConvertor<unsigned short, unsigned int>::convert()'
../unxlngx6.pro/slo/image.o: In function `SbiImage::Save(SvStream&, unsigned int)':
image.cxx:(.text+0x1554): undefined reference to `PCodeBuffConvertor<unsigned int, unsigned short>::convert()'
image.cxx:(.text+0x155e): undefined reference to `PCodeBuffConvertor<unsigned int, unsigned short>::convert()'
collect2: ld returned 1 exit status
dmake:  Error code 1, while making '../unxlngx6.pro/lib/libsb680lx.so'
---* tg_merge.mk *--- 

Expected Results:  
successful compile

Fixed by adding 

    filter-flags "-finline-functions"

among the other filters in the ebuild... to state the obvious.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-10-13 07:37:45 UTC

*** This bug has been marked as a duplicate of bug 151869 ***