1 |
|
---|
2 |
|
---|
3 | R e l e a s e N o t e s G C C f o r O S / 2
|
---|
4 | +----------------------------------------------------+
|
---|
5 |
|
---|
6 | (C)'2003 InnoTek Systemberatung GmbH
|
---|
7 | http://www.innotek.de
|
---|
8 |
|
---|
9 |
|
---|
10 | v3.2.2 Beta 3 Fix 1 (private build):
|
---|
11 | ------------------------------------
|
---|
12 |
|
---|
13 | Fixes to LIBC:
|
---|
14 |
|
---|
15 | o Crash if calloc was called before main().
|
---|
16 |
|
---|
17 | o TZ parsing of timezones such as PST8EDT.
|
---|
18 |
|
---|
19 | o sigsetjmp() and siglongjmp() visibility.
|
---|
20 |
|
---|
21 |
|
---|
22 | v3.2.2 Beta 3:
|
---|
23 | --------------
|
---|
24 |
|
---|
25 | A few new features and fixes.
|
---|
26 |
|
---|
27 | o Fixed a bunch of debug info problems.
|
---|
28 |
|
---|
29 | o Added large file support.
|
---|
30 |
|
---|
31 | o Enabled high memory support for LIBC. Two new options to GCC: -Zhigh-mem
|
---|
32 | and -Zhigh-low. If the program is to be enabled for high memory use, specify
|
---|
33 | -Zhigh-mem when linking.
|
---|
34 |
|
---|
35 | Note that socket is not high memory enabled yet.
|
---|
36 |
|
---|
37 | o Made LIBC preserve the FS selector.
|
---|
38 |
|
---|
39 | o Added random() and *rand48() from BSD.
|
---|
40 |
|
---|
41 | o Fixed crash with link386 and unresolved symbols.
|
---|
42 |
|
---|
43 |
|
---|
44 | v3.2.2 Beta 2:
|
---|
45 | --------------
|
---|
46 |
|
---|
47 | A few bugfixes and a some new features (as usual).
|
---|
48 |
|
---|
49 | o Added file locking support to LIBC.
|
---|
50 |
|
---|
51 | o Fixed _System and _Optlink bugs and made _Optlink support floating
|
---|
52 | point argument passing in registers.
|
---|
53 |
|
---|
54 | o Header updates related to limits and file locking primarily.
|
---|
55 |
|
---|
56 | o Timezone fixes.
|
---|
57 |
|
---|
58 | o Fixed some CRT init trouble in regards to getenv and putenv.
|
---|
59 |
|
---|
60 | o And some other minor stuff..
|
---|
61 |
|
---|
62 |
|
---|
63 | v3.2.2 Beta 1:
|
---|
64 | --------------
|
---|
65 |
|
---|
66 | A few bugfixes and a some new features.
|
---|
67 |
|
---|
68 | o Locale support in libc.
|
---|
69 |
|
---|
70 | o Implemented a different approach to OMF and weak symbols. This new hack
|
---|
71 | performs pre-linking before invoking the OMF linker generating new .def
|
---|
72 | files if needed and an extra object file with aliases to resolve the weak
|
---|
73 | symbols correctly.
|
---|
74 | The old approach will be used used when GCC_WEAKSYMS is present in the
|
---|
75 | environment.
|
---|
76 |
|
---|
77 | Please note that due to a bug in BFD, weak symbols don't work 100%
|
---|
78 | correctly. This will be addressed as soon as we have performed the switch
|
---|
79 | to a more recent version of binutils.
|
---|
80 |
|
---|
81 | o A couple of new functions in libc, and a few corrections to existing
|
---|
82 | in respect to namespaces.
|
---|
83 |
|
---|
84 | o Addressed issues with calling conventions. We now detect incompatible
|
---|
85 | calling conventions, emitting warnings and errors where appropriate.
|
---|
86 |
|
---|
87 | o _Optlink is much better, but there are still some issues left. Passing
|
---|
88 | prototyped floating point parameters to _Optlink doesn't work. Mixing
|
---|
89 | of parameters which go into registers (eax, edx, ecx) and parameters
|
---|
90 | which don't - void foo(int eax, struct sss s, int edx) - doesn't work.
|
---|
91 | All these issues are being addressed and are expected to be fixed in
|
---|
92 | the next build.
|
---|
93 |
|
---|
94 | o Changed GCC to link with shared libc by default. This means that in
|
---|
95 | order to link with the static libc one has to specify -static.
|
---|
96 | It also means that -Zmtd or -Zcrtdll are no longer required for linking
|
---|
97 | with shared libc and can be removed from all makescripts.
|
---|
98 |
|
---|
99 | o Changed EMXOMFLD defaults to ilink from Visual Age for C++ v3.6.5 or
|
---|
100 | later (preferably later). The emxomfld usage output will instruct you
|
---|
101 | on how to use older linkers. For VAC308 and VAC365 linkers /dbgpack
|
---|
102 | is specified if debuginfo is to be generated.
|
---|
103 | Emxomf checks for EMXOMFLD_TYPE=link386 when choosing debug info level.
|
---|
104 |
|
---|
105 | o Shipping three extra libc dlls:
|
---|
106 | libc02.dbg: Unstripped version of libc02.dll. This is identical
|
---|
107 | except from the presense of debug info.
|
---|
108 | libc02.prf: Linked together from profiled enabled libraries
|
---|
109 | using kProfiler.
|
---|
110 | libc02.elh: Standard libc but linked with an external eletrical
|
---|
111 | fence heap from kLibDbg.
|
---|
112 | These libc02.* dlls can be used instead of libc02.dll. kLibDbg and
|
---|
113 | kProfiler is available in separate zip files at same location as the
|
---|
114 | rest of the Innotek GCC suite. However these external tools are
|
---|
115 | provided as is. (I might actually not find time to put them out yet.)
|
---|
116 |
|
---|
117 | o Distribution is splitted into several zips:
|
---|
118 | -core.zip: All you really need.
|
---|
119 | -dbg.zip: Map files, unstripped tools and libs, and libc02.elh.
|
---|
120 | -prf.zip: Profiling libraries and libc02.prf.
|
---|
121 | libc.zip: The runtime libraries. (included in core.)
|
---|
122 | The big zip is everything.
|
---|
123 |
|
---|
124 | v3.2.2 Alpha 3:
|
---|
125 | ---------------
|
---|
126 |
|
---|
127 | Primarily bugfixes.
|
---|
128 |
|
---|
129 | o Changed code generator for floating point truncations (double to int
|
---|
130 | casts and such) so PM can freely mess up the fpu status.
|
---|
131 |
|
---|
132 | o We were using the wrong float.h in two sense. We're now using the
|
---|
133 | correct one which includes all the PC defines and prototypes.
|
---|
134 |
|
---|
135 | o Fixed a few issues with error defines and tcpip.
|
---|
136 | Note that some of the error defines have changed value in the process
|
---|
137 | so we could become compatible with the tcpip stack and FreeBSD.
|
---|
138 |
|
---|
139 | o Corrected bugs in a number of headers.
|
---|
140 |
|
---|
141 | o Added more OS/2 prototypes and imports. There is still work left on
|
---|
142 | the header part,
|
---|
143 |
|
---|
144 | o Optimized emxomf debug info conversion.
|
---|
145 |
|
---|
146 | o Wrapped bsdselect for BSD 4.4 header mode to implement bsdselect().
|
---|
147 |
|
---|
148 | o .... what did we forget...
|
---|
149 |
|
---|
150 |
|
---|
151 | v3.2.2 Alpha 2:
|
---|
152 | ---------------
|
---|
153 |
|
---|
154 | A few bugfixes and a couple of new features.
|
---|
155 |
|
---|
156 | o The TCP/IP headers and libraries scheme have been changed.
|
---|
157 | The default is the current OS/2 tcpip toolkit (BSD 4.4 based).
|
---|
158 | To target the older OS/2 tcpip stack (BSD 4.3 based) you must
|
---|
159 | define TCPV40HDRS before including any TCP/IP headers and make
|
---|
160 | sure usr/lib/tcpipv4 is searched before usr/lib (this is to get
|
---|
161 | the right libsocket). It is recommended to use the -D compiler
|
---|
162 | option for the define and either the LIBRARY_PATH or the -L
|
---|
163 | compiler/linker option for the library.
|
---|
164 |
|
---|
165 | o There are a couple of new and updated based on FreeBSD 5.1.
|
---|
166 | sys\stdint.h and inttypes.h (and a few internal once) are new.
|
---|
167 | sys\types.h and unistd.h are the ones most heavily updated.
|
---|
168 | We're working on getting the headers and libc in a better shape
|
---|
169 | standardwise to easy compatability and portability.
|
---|
170 |
|
---|
171 | o A infinite loop in emxomf has been fixed.
|
---|
172 |
|
---|
173 | o Linker error on sopen() has been corrected.
|
---|
174 |
|
---|
175 | o .... what did we forget...
|
---|
176 |
|
---|
177 |
|
---|
178 | v3.2.2 Alpha 1:
|
---|
179 | ---------------
|
---|
180 |
|
---|
181 | This is the first release from Innotek, and it contains the Innotek LIBC.
|
---|
182 | In addition to the new LIBC there is a number of other major changes:
|
---|
183 |
|
---|
184 | o Name mangling in OMF mode have changed.
|
---|
185 | Until this release emxomf used to pretty much strip one leading '_'
|
---|
186 | from symbols when converting them to omf. This is now longer done
|
---|
187 | chiefly in order to correctly support mangling calling conventions
|
---|
188 | like __stdcall and __cdecl. This change have the following side
|
---|
189 | effects:
|
---|
190 | - _System and __cdecl no longer produces the same names and hence
|
---|
191 | all OS/2 API which are _System must be declared as _System in
|
---|
192 | order to link.
|
---|
193 | - Assembly code might need an extra underscore to work, or
|
---|
194 | perhaps change the prototypes to _System.
|
---|
195 | - Global variables are prepended and underscore, so mixing VAC and
|
---|
196 | GCC, or accessing globals from asm, take care.
|
---|
197 | (MSC v6.0 does this too, so it's not any uncommon practise.)
|
---|
198 |
|
---|
199 | The OS/2 headers which are included are all updated to use _System.
|
---|
200 |
|
---|
201 | o TCPIP headers are updated a quite a bit to match the toolkit ones
|
---|
202 | and to reflect the fact that the new libc does not a having common
|
---|
203 | handle space for files and sockets. These changes aren't 100%
|
---|
204 | completed yet, and usage probably will uncover some issues left in
|
---|
205 | there. Also for the programmer there is the following changes in
|
---|
206 | the apis provided:
|
---|
207 | - TCPV40HDRS are supported and should work like with the toolkit
|
---|
208 | headers. It will alias all functions to tcpip40_ editions
|
---|
209 | (using #defines) so we get the right imports thru -llibsocket.
|
---|
210 | - There is no support for sockets in select(). To do select on
|
---|
211 | sockets you will have to use bsdselect() or os2_select().
|
---|
212 | bsdselect() is only available for TCPV40HDRS. For
|
---|
213 | !defined(TCPV40HDRS) fd_set is in the emx/bsd format and not the
|
---|
214 | OS/2 tcpip v5.0 format.
|
---|
215 | - Socket IOCTLs are not supported by the ioctl() libc function
|
---|
216 | because of the separate handle space for sockets. For sockets
|
---|
217 | so_ioctl() and os2_ioctl() are used. os2_ioctl() is not available
|
---|
218 | when TCPV40HDRS is defined. According to the tcpref in v5.0
|
---|
219 | so_ioctl() only supports BSD ioctls.
|
---|
220 | - writev() and readv() also clashes with libc. For socket handles
|
---|
221 | use so_writev() and so_readv().
|
---|
222 |
|
---|
223 | o The prefered OMF linker is now ilink. link386 will fail with an odd
|
---|
224 | error message if you tell gcc/g++ to make debug info. Set the
|
---|
225 | EMXOMFLD_LINKER environment variable to value ilink in order to use
|
---|
226 | ilink as OMF linker.
|
---|
227 | It likely that we will change the default OMF linker to ilink in an
|
---|
228 | later version of the GCC suite.
|
---|
229 |
|
---|
230 | o .... what did we forget...
|
---|