Bug 1902 - glxinfo: C++ program that forgets to use C++ target
Summary: glxinfo: C++ program that forgets to use C++ target
Status: RESOLVED NOTOURBUG
Alias: None
Product: xorg
Classification: Unclassified
Component: App/other (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Xorg Project Team
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-22 11:25 UTC by Daniel Stone
Modified: 2005-03-01 01:10 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
trivial patch (581 bytes, patch)
2004-11-22 11:25 UTC, Daniel Stone
roland.mainz: 6.8-branch-
Details | Splinter Review

Description Daniel Stone 2004-11-22 11:25:21 UTC
glxinfo is a C++ program, but uses SimpleProgramTarget (for C programs), not
SimpleCplusplusProgramTarget; patch attached.
Comment 1 Daniel Stone 2004-11-22 11:25:46 UTC
Created attachment 1355 [details] [review]
trivial patch
Comment 2 Daniel Stone 2004-12-01 11:15:39 UTC
Comment on attachment 1355 [details] [review]
trivial patch

committed to head
Comment 3 Ian Romanick 2004-12-01 11:49:03 UTC
Can someone explain this?  glxinfo is most certainly *NOT* a C++ program.  It
links with dynamic libraries that happen to use C++, but that should not matter.
 The interfaces exposed by those libraries are vanilla C.  If there is a
problem, it's either with the dependencies in libGLU.so or in the link loader.
Comment 4 Roland Mainz 2004-12-08 05:50:49 UTC
Comment on attachment 1355 [details] [review]
trivial patch

Approval request has been deferred in the 2004-12-06 release-wranglers
conference call until it's clear why this patch is needed (it may be required
for some platforms but it's not sure whether we should simply use the current
patch on all platforms).
Comment 5 Roland Mainz 2004-12-14 11:42:55 UTC
Comment on attachment 1355 [details] [review]
trivial patch

Approval for commit to the X11R6.8.x stable branch DENIED in the 2004-12-13
release-wranglers phone call (due lack of information why this patch is needed.
Please re-request approval again  if you really think this patch is important
and provide more context information (like a bunch of URLs to the original
discussion etc.)).
Comment 6 Adam Jackson 2004-12-14 12:12:36 UTC
from the patch description, it sounds like this happens when you're attempting
to use a debian userspace on top of a freebsd kernel.  something in the
userspace toolchain isn't being done properly.  libGLU needs the C++ runtime,
and _libGLU_'s transitive dependency on libstdc++ should be sufficient - is
sufficient, on any other linux or bsd platform.

NOTOURBUG, in other words, unless the GNU/kFreeBSD people can convince me otherwise.
Comment 7 Adam Jackson 2005-03-01 20:10:12 UTC
not our problem, gnu/kfreebsd toolchain bug.


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.