Bug 39758 - build failure: libbasctllo.so requires DbgName_SbxBase() symbol, but it is hidden
Summary: build failure: libbasctllo.so requires DbgName_SbxBase() symbol, but it is hi...
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: BASIC (show other bugs)
Version:
(earliest affected)
Master old -3.6
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-02 03:31 UTC by Lionel Elie Mamane
Modified: 2011-08-19 00:24 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Force visibilty on symbol DbgName_SbxBase(); not a proposed fix, only work-around (408 bytes, application/octet-stream)
2011-08-02 03:31 UTC, Lionel Elie Mamane
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lionel Elie Mamane 2011-08-02 03:31:27 UTC
Created attachment 49821 [details]
Force visibilty on symbol DbgName_SbxBase(); not a proposed fix, only work-around

[ build RES ] basctlen-US
R=/home/master/src/libreoffice && S=$R/bootstrap && O=$S/solver/350/unxlngx6 && W=$S/workdir/unxlngx6 &&  mkdir -p $W/ResTarget/ $O/bin $W/ResTarget/ && RESPONSEFILE=`mktemp -t gbuild.XXXXXX` && echo "-r -p -lgen-US -fs=$W/ResTarget/basctlen-US.res -lip= -lip= -lip= -lip= -lip= -lip=$S/clone/artwork/default_images/basctl/res -lip=$S/clone/artwork/default_images/basctl -lip=$S/clone/artwork/default_images/res/en-US -lip=$S/clone/artwork/default_images/res -subMODULE=$S/clone/artwork/default_images/ -subGLOBALRES=$S/clone/artwork/default_images/res -oil=$W/ResTarget/ $W/SrsTarget/basctl/res.srs" > ${RESPONSEFILE} && LD_LIBRARY_PATH=$O/lib SOLARBINDIR=$O/bin $O/bin/rsc @${RESPONSEFILE} && rm -f ${RESPONSEFILE}
R=/home/master/src/libreoffice && S=$R/bootstrap && O=$S/solver/350/unxlngx6 && W=$S/workdir/unxlngx6 &&  mkdir -p $O/bin/ && /bin/cp --remove-destination  --force --preserve=timestamps $W/ResTarget/basctlen-US.res $O/bin/basctlen-US.res && mkdir -p $O/res/img/ && /bin/cp --remove-destination  --force --preserve=timestamps $W/ResTarget//basctlen-US.ilst $O/res/img/basctlen-US.ilst
R=/home/master/src/libreoffice && S=$R/bootstrap && O=$S/solver/350/unxlngx6 && W=$S/workdir/unxlngx6 &&  mkdir -p $W/AllLangRes/ && touch $W/AllLangRes/basctl
/home/master/src/libreoffice/bootstrap/workdir/unxlngx6/CxxObject/basctl/source/basicide/baside2.o: In function `SbxBase::IsSet(unsigned short) const':
/home/master/src/libreoffice/bootstrap/solver/350/unxlngx6/inc/basic/sbxcore.hxx:163: undefined reference to `DbgName_SbxBase()'
/home/master/src/libreoffice/bootstrap/workdir/unxlngx6/CxxObject/basctl/source/basicide/baside2.o: In function `SbxBase::IsModified() const':
/home/master/src/libreoffice/bootstrap/solver/350/unxlngx6/inc/basic/sbxcore.hxx:175: undefined reference to `DbgName_SbxBase()'
/home/master/src/libreoffice/bootstrap/workdir/unxlngx6/CxxObject/basctl/source/basicide/basobj2.o: In function `SbxBase::GetFlags() const':
/home/master/src/libreoffice/bootstrap/solver/350/unxlngx6/inc/basic/sbxcore.hxx:152: undefined reference to `DbgName_SbxBase()'
/home/master/src/libreoffice/bootstrap/workdir/unxlngx6/CxxObject/basctl/source/basicide/basobj2.o: In function `SbxBase::IsHidden() const':
/home/master/src/libreoffice/bootstrap/solver/350/unxlngx6/inc/basic/sbxcore.hxx:181: undefined reference to `DbgName_SbxBase()'
collect2: ld returned 1 exit status
make: *** [/home/master/src/libreoffice/bootstrap/workdir/unxlngx6/LinkTarget/Library/libbasctllo.so] Error 1

An objdump on workdir/unxlngx6/CxxObject/basic/source/sbx/sbxbase.o shows that this symbol is defined there, but hidden. Naturally, forcing that symbol to default (non-hidden) visibility fixes that build failure, but that's most probably no the "right fix".
Comment 1 Cor Nouws 2011-08-18 15:37:42 UTC
Hi Lionel,
Still a problem? (I only build on 32 bits, Linux)
Comment 2 Lionel Elie Mamane 2011-08-19 00:21:00 UTC
(In reply to comment #1)

> Still a problem? (I only build on 32 bits, Linux)

No. I built on another machine from pristine core, this problem has not cropped up again.
Comment 3 Cor Nouws 2011-08-19 00:24:17 UTC
thanks!