OpenCores
URL https://opencores.org/ocsvn/or1k_old/or1k_old/trunk

Subversion Repositories or1k_old

[/] [or1k_old/] [trunk/] [linux/] [glibc/] [README.or32] - Blame information for rev 1782

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1536 robertmh
 
2
This port of Glibc is unfinished and in highly inmature stage!
3
 
4
It is based on many assembly sources from the or32 port of uClibc.
5
 
6
 
7
Build instructions
8
~~~~~~~~~~~~~~~~~~
9
 
10
In order to build, you need to overlay this sysdeps directory onto a fresh
11
glibc-2.3.1 tree.  After that, apply the patches.
12
 
13
You need a gcc-3.4 cross-compiler built without thread support.  It must be
14
patched not to prepend symbol names with an underscore (this is to avoid
15
conflict with hardcoded symbols in libgcc).
16
 
17
As for Glibc build parameters (asides from the obvious).
18
 
19
CFLAGS="-g -O1 -fno-cprop-registers -fno-unit-at-a-time -finline-functions"
20
 
21
--disable-sanity-checks (allow us to build without thread support)
22
--disable-profile
23
--disable-shared        (shared library support is filled with dummy code.
24
                        better not use it)
25
 
26
Status
27
~~~~~~
28
 
29
It builds and you can link static binaries with it, but the initialisation
30
routines contain bugs that cause SIGSEVs (this was found in places like
31
getenv() and malloc()).
32
 
33
No thread support.  No shared library support.
34
 
35
A number of files (both in sysdeps and in the patches) contain dirty hacks
36
(some are very dirty, see for yourself).  I tried to keep record of these with
37
"FIXME" tags.  A number of these hacks are derived from the fact that we don't
38
have thread support or shared library support and will probably disappear when
39
we do.
40
 
41
Only 2.3.1 is supported.  It can't be updated to more recent versions of Glibc
42
untill we have recent binutils in a working state.
43
 
44
Copyright status
45
~~~~~~~~~~~~~~~~
46
 
47
Before you add copyright-significant amount of code (around 15 unredundant
48
lines) to this port, please note that due to FSF policy your contribution can't
49
be merged in official Glibc unless you do the paperwork to assign copyright to
50
them.
51
 
52
As of importing the port, it only contains work copyrighted by me
53
(Robert Millan  ) and the person who ported uClibc.  My
54
paperwork wrt Glibc is done.  If you know who wrote the uClibc port, please let
55
me know so I can contact him/her.

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.