Bug 19479 - driCreateConfigs crashes Mesa compilation
Summary: driCreateConfigs crashes Mesa compilation
Status: RESOLVED INVALID
Alias: None
Product: Mesa
Classification: Unclassified
Component: Other (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-09 01:31 UTC by Mikhail Y. Zvyozdochkin
Modified: 2014-09-22 18:32 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Mikhail Y. Zvyozdochkin 2009-01-09 01:31:12 UTC
At git repository, driCreateConfigs function, defined in src/mesa/drivers/dri/common/utils.*, requred 9 arguments. Some using files (such as via_screen.c, swrast.c, etc.) try to call this function with only 7 arguments).

Compilation crashes:

swrast.c:181: error: too few arguments to function ‘driCreateConfigs’
Comment 1 Shunichi Fuji 2009-01-09 02:06:21 UTC
(In reply to comment #0)
> At git repository, driCreateConfigs function, defined in
> src/mesa/drivers/dri/common/utils.*, requred 9 arguments.

http://cgit.freedesktop.org/mesa/mesa/tree/src/mesa/drivers/dri/common/utils.c#n522
http://cgit.freedesktop.org/mesa/mesa/tree/src/mesa/drivers/dri/common/utils.h#n130

I couldn't confirm this ...
which branch have you used?
Comment 2 Mikhail Y. Zvyozdochkin 2009-01-09 14:50:55 UTC
> I couldn't confirm this ...
> which branch have you used?

Sorry for incomplete info.
        EGIT_REPO_URI="git://anongit.freedesktop.org/mesa/mesa"
        EGIT_BRANCH="gallium-0.2"
        EGIT_TREE="gallium-0.2"
This is a piece of ebuild from nouveau overlay...
Comment 3 Pekka Paalanen 2009-01-10 02:15:29 UTC
Please, do not file upstream bug reports based on only testing with the Mesa ebuild from the Nouveau overlay. I have no idea in what state that ebuild is, but there is a good chance it is broken. Nouveau does not support Gallium3D yet, and the same goes for the Mesa gallium3d ebuild.

Try to reproduce by building Mesa git the official way, please.

If you want to report bugs with or about the ebuild, I would suggest contacting Hanno Boeck from the ebuild's ChangeLog.
Comment 4 Mikhail Y. Zvyozdochkin 2009-01-12 14:40:50 UTC
(In reply to comment #3)
Thanks.
Comment 5 Adam Jackson 2009-08-24 12:31:39 UTC
Mass version move, cvs -> git
Comment 6 Emil Velikov 2014-09-22 18:32:00 UTC
Closing this as RESOLVED/INVALID based on comment 3 and 4.


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.