[Bugme-new] [Bug 41922] New: 'make headers_install' deletes system headers
bugzilla-daemon at bugzilla.kernel.org
bugzilla-daemon at bugzilla.kernel.org
Sun Aug 28 16:11:06 PDT 2011
https://bugzilla.kernel.org/show_bug.cgi?id=41922
Summary: 'make headers_install' deletes system headers
Product: Other
Version: 2.5
Kernel Version: 2.6.39.4
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: Other
AssignedTo: other_other at kernel-bugs.osdl.org
ReportedBy: r.berber at computer.org
Regression: No
Created an attachment (id=70742)
--> (https://bugzilla.kernel.org/attachment.cgi?id=70742)
Log of 'make -n headers_install ...'
With the objective of building glibc I needed the kernel headers installed so I
used the command: make headers_install INSTALL_HDR_PATH=/opt .
As can be seen in the attached file (where I used 'make -n' to reproduce the
problem) many of my system headers, unrelated to the kernel (things like
stdio.h), where deleted. The problem is in line 111.
Of course part of the problem is that I installed where the old glibc, and
other headers (many also deleted) are kept. Installing to an empty directory
works fine, but I don't see a good reason to delete files that are not going to
be replaced, and are required to build anything else.
Environment: Linux (2.6.12) with no system headers installed (i.e. nothing
under /usr/include -- its a NAS), gcc (4.5.4 prerelease), make (3.82), perl
(5.8.8).
--
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the Bugme-new
mailing list