[ Thread Index |
Date Index
| More lists.tuxfamily.org/slitaz Archives
]
- To: slitaz <slitaz@xxxxxxxxxxxxxxxxxxx>
- Subject: glibc
- From: Alexander Medvedev <devl547@xxxxxxxxx>
- Date: Sun, 25 Apr 2010 11:43:24 +0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=3ZfBkApCTlypTrIQGbWLcVpKHxZQyv3ZNVP8QZJS6tI=; b=tlt+sk802yTFyYKnlJUpNi71FJDx1rPX7lMzTNHXlf0vuuO4uiDNT8eXXhwM++omhO 9IjPzGJ927Cg/IEOHbMGmbFICBYAtdhmmccEu1RnWxP2qojkKdQJODKDIb75vxYK7dLW nW/ZqDDb259NB2g2wkqC0PixW83PwNvF2HBJo=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=x0Elg77XIGelDEENQKGGc0Ioz1EURDXdRzL8fAhEiSN6yYH1+KJHgjqiHbesqbqyvx /0zc7FMioMJEMtfqtBPykJiwdimMX3avSxrf8ZqjGYdc77pZyUvLdE/KHzUuzQ2JJ5v+ LiVU1zvVLzB/yqlXcATy8BliW+4mNMXFDwYPc=
Dont want to discuss recent glibc segfaults, but some other stuff related.
1. echo "CFLAGS += -march=i486 -mtune=native -O3 -pipe" > configparms (in glibc receipt)
Looks strange to me:
-mtune=native - optimization for pentium4 processor (bb uses it, afaik). Unneeded and may harm performance and stability.
-O3 - same here. O3 - enables ftree-vectorize (processor-related stuff) and produces larger binaries (more chance not to fit in L2/3 cache and cause a performance degradation)
2. switch to eglibc? Debian and ubuntu use it as main libc implemenntation.
It's fully compatible with glibc (drop-in), more stable and allows to do more configuration (build with -Os cflag for ex.)
With best regards, Alexander.