Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 381053 - x11-drivers/nvidia-drivers-270.41.19 won't compile with sys-kernel/pf-sources-3.0.2
Summary: x11-drivers/nvidia-drivers-270.41.19 won't compile with sys-kernel/pf-sources...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-29 12:45 UTC by Dmitriy Vilkov
Modified: 2011-09-02 10:11 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
sys-kernel/pf-sources overlay (sys-kernel.tar.gz,3.80 KB, application/gzip)
2011-08-29 12:49 UTC, Dmitriy Vilkov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitriy Vilkov 2011-08-29 12:45:33 UTC
Nvidia drivers won't compile under GCC 4.5.3-r1 with sys-kernel/pf-sources-3.0.2 kernel.

Reproducible: Always
Comment 1 Dmitriy Vilkov 2011-08-29 12:49:11 UTC
Created attachment 284993 [details]
sys-kernel/pf-sources overlay

This is an overlay with patch to the kernel sys-kernel/pf-sources-3.0.2 that fixes the bug.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2011-08-31 16:04:33 UTC
Comment on attachment 284993 [details]
sys-kernel/pf-sources overlay

That's not a patch.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2011-08-31 16:05:54 UTC
Please describe the build error, attach the build log, and post your `emerge --info' output.

Also, do not attach tarballs with complete solutions, but supply the actual patch that humans can read and that does exactly what you describe.
Comment 4 Dmitriy Vilkov 2011-09-02 09:56:46 UTC
This overlay contains only a patch. I did it for people who don't like to wait a patch in the main stream.
And this patch do exactly what I described.
If you would look into this patch you will see that only one string has changed in the kernel sources. It's very trivial patch. But to get into this bug I've spent about 3 hours. It thus that at me the црщдуsystem is adjusted
Comment 5 Dmitriy Vilkov 2011-09-02 10:11:55 UTC
It thus that I have the whole (GCC, Kernel, etc) system set.
I just wanted to help you.
If you would like to reproduce the bug you will need to install GCC 4.5.3-r1, sys-kernel/pf-sources-3.0.2 or sys-kernel/pf-sources-3.0.1 and try to build the nvidia drivers. It won't compile without any messages. Then you need to go to nvidia sources and compile it manually after this you will get a message about sizeof unnamed structure or something like that i don't remember. Then just google this error message. And you will get info about some optimizations tricks in GCC because of it we have got this error.