Bug 90180 - Segmentation Fault with CLANG builder
Summary: Segmentation Fault with CLANG builder
Status: RESOLVED INVALID
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/nouveau (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium minor
Assignee: Nouveau Project
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-25 21:51 UTC by Toni Ballesta
Modified: 2015-06-04 15:00 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Backtrace normal and full (8.07 KB, text/plain)
2015-04-25 21:51 UTC, Toni Ballesta
no flags Details

Description Toni Ballesta 2015-04-25 21:51:02 UTC
Created attachment 115331 [details]
Backtrace normal and full

- Building nouveau with gcc, no problems.
- Building nouveau with clang -O0, no problems.
- Building nouveau with clang -O[1-x], the driver seems work ok, but when I close the xorg, I warned of segmentation fault.


Versions
--------
Nouveau: x11-drivers/xf86-video-nouveau-1.0.11

gcc:	gcc (Gentoo 4.8.4 p1.4, pie-0.6.1) 4.8.4
	Copyright (C) 2013 Free Software Foundation, Inc.

clang:	clang version 3.6.0 (tags/RELEASE_360/final)
	Target: x86_64-pc-linux-gnu
	Thread model: posix

Xorg:	X.Org X Server 1.16.4
	Release Date: 2014-12-20
	X Protocol Version 11, Revision 0
 
Current version of pixman: 0.32.6
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.


System
------
Linux xxx 3.14.37-gentoo #4 SMP Sat Apr 25 20:18:53 CEST 2015 x86_64 AMD Phenom(tm) II X6 1090T Processor AuthenticAMD GNU/Linux
Comment 1 Ilia Mirkin 2015-04-25 22:05:56 UTC
Did you mean to report this to the clang compiler people? Could be that nouveau does something dodgy, but if it works with gcc, difficult to care...
Comment 2 Toni Ballesta 2015-04-26 07:09:03 UTC
Thank you, Ilia. Then, I must warn to llvm.org. Is very strange that the code works in the two, but the problem only appears on one.
Comment 3 Samuel Pitoiset 2015-06-04 15:00:24 UTC
Thank you for reporting this, but it's probably not related to Nouveau.
I'm going to close this issue.


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.