Bug 2886 - Xorg build on Solaris complains about missing C++ symbol |__1cG__CrunMdo_exit_code6F_v_| (=|void __Crun::do_exit_code()|)
Summary: Xorg build on Solaris complains about missing C++ symbol |__1cG__CrunMdo_exit...
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: * Other (show other bugs)
Version: git
Hardware: SPARC Solaris
: medium normal
Assignee: Xorg Project Team
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-02 12:39 UTC by Roland Mainz
Modified: 2007-02-22 14:26 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Roland Mainz 2005-04-02 12:39:58 UTC
While crawling through my log of todays Solaris build (Solaris 8 build with Sun
Workshop/Forte 9) I saw this:
-- snip --
Scanning miext/damage/libdamage.so ...
Scanning ../../lib/font/bitmap/module/libbitmap.so ...
Scanning ../../lib/font/Type1/module/libtype1.so ...
Scanning ../../lib/font/FreeType/module/libfreetype.so ...
Xorg : __1cG__CrunMdo_exit_code6F_v_ - not found
-- snip --

The warning is about a C++ symbol...
-- snip --
% dem __1cG__CrunMdo_exit_code6F_v_
__1cG__CrunMdo_exit_code6F_v_ == void __Crun::do_exit_code()
-- snip --
... which looks suspicious for me as the Xserver code is AFAIK all plain ANSI-C.

I am not sure whether this issue is just a warning which can safely be ignored
or a sign of something more worse...

Steps to reproduce:
% export CVSROOT=:pserver:anoncvs@cvs.freedesktop.org:/cvs/xorg
% timex nice make World 2>&1 | tee -a buildlog.log
Comment 1 Adam Jackson 2005-04-03 10:41:35 UTC
check the link line for libfreetype.so, make sure you're not using c++ to link.
Comment 2 Adam Jackson 2005-08-28 14:33:14 UTC
reopen with more info if this still happens with 6.9.
Comment 3 Alan Coopersmith 2005-08-28 15:02:54 UTC
I still see this warning in builds of CVS head on Solaris 10 x86 with the 
Sun Studio 10 compilers.   I can see the symbol in the Xorg binary:

% nm Xorg | grep -i crun
[5714]  |         0|       0|NOTY |WEAK |0    |UNDEF|__1cG__CrunMdo_exit_code6F_v_

but I don't see it in any of the .o files under xc/programs/Xserver or any of the
other files Xorg lists on the command line when linking.   I'm not sure where it's
coming from.   The only place I can find any C++ symbols is in libGLU, but that's
not linked into the server.

If it's a compiler thing, then it's a weird one, since it only appears in a
small subset of programs, mostly those having something to do with fonts - but
also xkbcomp & xcursorgen:

% find exports/bin -type l | xargs nm -A | grep Crun
exports/bin/bdftopcf: [72]      |         0|       0|NOTY |WEAK |0    |UNDEF 
|__1cG__CrunMdo_exit_code6F_v_
exports/bin/fc-cache: [86]      |         0|       0|NOTY |WEAK |0    |UNDEF 
|__1cG__CrunMdo_exit_code6F_v_
exports/bin/fc-list: [46]       |         0|       0|NOTY |WEAK |0    |UNDEF 
|__1cG__CrunMdo_exit_code6F_v_
exports/bin/mkcfm: [403]        |         0|       0|NOTY |WEAK |0    |UNDEF 
|__1cG__CrunMdo_exit_code6F_v_
exports/bin/mkfontscale: [144]  |         0|       0|NOTY |WEAK |0    |UNDEF 
|__1cG__CrunMdo_exit_code6F_v_
exports/bin/xkbcomp: [384]      |         0|       0|NOTY |WEAK |0    |UNDEF 
|__1cG__CrunMdo_exit_code6F_v_
exports/bin/xcursorgen: [51]    |         0|       0|NOTY |WEAK |0    |UNDEF 
|__1cG__CrunMdo_exit_code6F_v_
exports/bin/ucs2any: [106]      |         0|       0|NOTY |WEAK |0    |UNDEF 
|__1cG__CrunMdo_exit_code6F_v_

It doesn't seem to be causing any actual problems (it is a weak symbol after
all), but it is weird.
Comment 4 Erik Andren 2006-04-23 19:32:42 UTC
Any differences using a current version of xorg?
Comment 5 Timo Jyrinki 2007-02-22 14:26:45 UTC
Marking broken (status null/blank) bugs in xorg with no activity in a long time as fixed. Please reopen if you think it's necessary, but first do a search if a similar bug report is already filed and in a NEW/ASSIGNED state. These bugs do not currently show in most search results as they do not have any status.

Sorry for this janitorial spam, you know where to send hate mails to when your inbox gets full of bugs you're subscribed to.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.