Bug 51960 - [bisected] Mesa master fails to build
Summary: [bisected] Mesa master fails to build
Status: RESOLVED NOTABUG
Alias: None
Product: Mesa
Classification: Unclassified
Component: Mesa core (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2012-07-10 19:30 UTC by Pavel Ondračka
Modified: 2012-07-18 08:33 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
build log (289.50 KB, text/plain)
2012-07-10 19:30 UTC, Pavel Ondračka
Details

Description Pavel Ondračka 2012-07-10 19:30:10 UTC
Created attachment 64082 [details]
build log

CXXLD  libdricore8.1.0.la
.libs/execmem.o: file not recognized: File truncated
collect2: error: ld returned 1 exit status
gmake[4]: *** [libdricore8.1.0.la] Error 1

Full build log attached.

I'm building with "./autogen.sh --enable-debug --with-gallium-drivers=swrast,r300 --with-dri-drivers= --disable-egl --enable-texture-float --disable-glu". 

51b0a0b33ca16599a5972c3e77607284a1b7fb9b is the first bad commit
commit 51b0a0b33ca16599a5972c3e77607284a1b7fb9b
Author: Brian Paul <brianp@vmware.com>
Date:   Tue Jun 26 14:47:19 2012 -0600

    mesa: update glext.h to version 81

I double checked the bisect, and also reverting this commit from master fixes it.
This is up to date Fedora 17, gcc (GCC) 4.7.0 20120507 (Red Hat 4.7.0-5),
Comment 1 Kristian Høgsberg 2012-07-13 15:15:02 UTC
Looks like you just have an invalid .o file in your repo.  Try make clean and make again.
Comment 2 Pavel Ondračka 2012-07-14 10:07:00 UTC
(In reply to comment #1)
> Looks like you just have an invalid .o file in your repo.  Try make clean and
> make again.

Actually it doesn't help, sorry for not mentioning this earlier. I did try make clean, make distclean, git clean -fdx, git reset --hard, none of this helps. Only reverting the mentioned commit helps.
Comment 3 Michel Dänzer 2012-07-17 10:27:43 UTC
(In reply to comment #2)
> I did try make clean, make distclean, git clean -fdx, git reset --hard, none of
> this helps. Only reverting the mentioned commit helps.

Are you using ccache or something like that? If so, the object file might be corrupted in the cache.
Comment 4 Pavel Ondračka 2012-07-18 08:33:46 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > I did try make clean, make distclean, git clean -fdx, git reset --hard, none of
> > this helps. Only reverting the mentioned commit helps.
> 
> Are you using ccache or something like that? If so, the object file might be
> corrupted in the cache.

Yeah, corrupted ccache was the issue, thanks for help and sorry for the false alarm.


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.