This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [CT_NG] ct-ng build tries to install headers to live system


On 11/8/10, Kim HÃjgaard-Hansen <kimrhh@gmail.com> wrote:
> i can confirm it's a make issue, reverting to make-3.81 also makes my
> build succeed.
>
> On Sun, Nov 7, 2010 at 7:29 PM, Somchai Smythe
> <buraphalinuxserver@gmail.com> wrote:
>> Hello,
>>
>>     I reverted make to 3.81 to test your guess that it is a make
>> problem.  A build with 3.81 works.
>>
>>     Changing only make to make-3.82 seems to be the issue, as you
>> suspected.  Once I figured out how, I did apply the patch you asked me
>> to, but it did not solve the problem.  The build log seems to indicate
>> it did actually apply that patch.
>>
>>     Please see http://www.buraphalinux.org/~sadman/ and there are 3 files:
>>
>> 001-make-3.82.patch     (the actual patch)
>> build.log.bz2                    (the build log you requested)
>> dot_config                       (the .config file used)
>>
>>
>> On 11/6/10, Yann E. MORIN <yann.morin.1998@anciens.enib.fr> wrote:
>>> Somchai, All,
>>>
>>> On Thursday 04 November 2010 19:44:29 Somchai Smythe wrote:
>>>> Here is the end of the log file showing the issue I am having:
>>>
>>>> [ALL  ]    make[2]: Entering directory
>>>> `/home/tmp/yo/targets/src/glibc-2.9'
>>>> [ALL  ]    /home/tmp/yo/targets/tools/bin/install -c -m 644
>>>> include/limits.h /usr/include/limits.h
>>>> [ALL  ]    /usr/bin/install: cannot remove `/usr/include/limits.h':
>>>> Read-only file system
>>>
>>> Also, please see this thread:
>>>   http://sourceware.org/ml/crossgcc/2010-11/msg00027.html
>>>
>>> Regards,
>>> Yann E. MORIN.

Hello again,

1.  So is the recommended solution then to install a special old copy
of GNU make just for ct-ng that is a version less than 3.82?

2.  Can I tell ct-ng to use some other name than 'make' for the make
program, so I can install both the old make version as something like
'oldmake' and the 3.82 version that I use for everything else would
keep the name 'make'?  If so, how do I do that?

3.  Alternatively, are any of the newer glibc versions actually stable
enough to use and can be built with make-3.82 on ct-ng?   I chose 2.9
since that was the highest version available on the menu, not because
I want that particular antique version of glibc.

4.  If ct-ng will not be updated to support make-3.82 for glibc, then
perhaps ct-ng could check if the default make is GNU make > 3.81, and
if that is true (the default make is not old enough to work with ct-ng
for building glibc), then just not list building glibc as an option,
so nobody else will waste time trying to find a solution to this
issue?

JGH

--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]