public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
* make-3.82 and old glibc
@ 2012-11-21 17:04 Oleg Oleshko
  2012-11-23 17:48 ` Yann E. MORIN
  0 siblings, 1 reply; 2+ messages in thread
From: Oleg Oleshko @ 2012-11-21 17:04 UTC (permalink / raw)
  To: crossgcc

Hello,

in B - Known issues.txt there are a couple of points with make-3.82 and 
old glibc.
I believe we can fix both of them (or fix workarounds at least).

==================================================
First one:
glibc start files and headers fail with: [/usr/include/limits.h] Error 1

Suggested explanation:
Old glibc (and eglibc) Makefiles break with make-3.82. It has the bug 
and patch to fix:
http://savannah.gnu.org/bugs/?30723
In Arch distro make-3.82 goes with this patch, in Slackware 14 without.

Suggested workarounds:

1- rebuild your make-3.82 with above mentioned patch

2- use configparms file in glibc source or build directory, here's the idea:
http://sourceware.org/bugzilla/show_bug.cgi?id=13810#c4

==================================================
Second one:
The build fails with "mixed implicit and normal rules. Stop."

The fix for this issue is already known:
http://www.linuxfromscratch.org/patches/lfs/6.7/glibc-2.12.1-makefile_fix-1.patch

I used the patch from lfs and configparms file and tried to build glibc 
2.7 on
Arch (make-3.82), Slackware (buggy make-3.82) and Ubuntu (make-3.81). 
It's absolutely OK.

Hope, this would be useful.

Best regards,
Oleg


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: make-3.82 and old glibc
  2012-11-21 17:04 make-3.82 and old glibc Oleg Oleshko
@ 2012-11-23 17:48 ` Yann E. MORIN
  0 siblings, 0 replies; 2+ messages in thread
From: Yann E. MORIN @ 2012-11-23 17:48 UTC (permalink / raw)
  To: crossgcc; +Cc: Oleg Oleshko

Oleg, All,

On Wednesday 21 November 2012 Oleg Oleshko wrote:
> in B - Known issues.txt there are a couple of points with make-3.82 and 
> old glibc.
> I believe we can fix both of them (or fix workarounds at least).
> 
> ==================================================
> First one:
> glibc start files and headers fail with: [/usr/include/limits.h] Error 1
[--SNIP--]
> ==================================================
> Second one:
> The build fails with "mixed implicit and normal rules. Stop."

There are already two suggested workarounds for these two issues.

First, crostool-NG can build a make-3.81 for internal use. See that
same file for explanations on how to setup crosstool-NG to do that.

Second, let the user iunstall its own make-3.81, and install it in a
place that is early in the PATH, to ensure it is pcicked up before the
system make.

I would prefer *not* to patch all broken components. For example, even
some versions of the Linux kernel are broken with make-3.82. Patching
all components (known to fail) is not convenient, and we would anyway
need to keep the internal make-3.81 build for cases where the user uses
a local (eg. custom) component that is not patched in this respect.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-11-23 17:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-21 17:04 make-3.82 and old glibc Oleg Oleshko
2012-11-23 17:48 ` Yann E. MORIN

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).