Commit Graph

519 Commits

Author SHA1 Message Date
ache
8d81fb7890 Upgrade to 4.3 2003-08-31 19:15:35 +00:00
gordon
5901302929 Stage 3 of dynamic root support. Make all the libraries needed to run
binaries in /bin and /sbin installed in /lib. Only the versioned files
reside in /lib, the .so symlink continues to live /usr/lib so the
toolchain doesn't need to be modified.
2003-08-17 08:28:46 +00:00
ache
9b6751c3cc Remove collate_range_cmp() stabilization, it conflicts with ranges 2003-08-03 04:36:09 +00:00
kan
3d589bbdc6 Including dynamically generated osreldate.h wasn't such a good
idea after all.

Fix cross-builds and ia64 builds. gnu/lib/csu/Makefile is modified to
pre-include osreldate.h and gnu/usr.bin/cc/cc_tools/auto-host.h
will avoid including sys/param.h if __FreeBSD_version is already defined.
2003-07-13 02:41:48 +00:00
kan
e16ef3051f Update bmake bits to build GCC 3.3.1-prerelease. 2003-07-11 05:37:23 +00:00
kan
365bf752c5 Update for GCC 3.3.1-pre. 2003-07-11 05:33:24 +00:00
kan
e120cc9627 Add unwind-c.c file required for -fexceptions in C sources. 2003-07-11 05:29:11 +00:00
kan
d51504c4c5 Change CFLAGS to more closely follow options used when GCC is built
from stock FSF sources.
2003-07-11 05:27:23 +00:00
ru
41e21bba17 Catch up with bsd.lib.mk,v 1.143. 2003-06-30 19:11:20 +00:00
peter
3ebd7677e2 Oops, remove hack to stop libstdc++.so being built now that gcc uses
-lgcc_pic by default on -fpic stuff.  I forgot about this here.
2003-06-26 01:30:44 +00:00
des
d84e6f299c Do not bogusly set CSTD to the empty string. 2003-06-14 13:30:32 +00:00
peter
db4799b484 Build/install the PIC version of libgcc (libcc_pic.a) for use by shared
libraries that do exception unwinding.
2003-06-13 22:07:39 +00:00
charnier
0d5348f9ea The .Fn function 2003-06-08 09:53:08 +00:00
obrien
c32790bfaf Something funky is going on here... disabling CSTD makes it go away... 2003-06-02 06:12:14 +00:00
obrien
4fb18559fe Don't set a C standard level for ObjC code. 2003-06-02 02:30:52 +00:00
obrien
c8226cb013 Use ?= before someone brings it up. 2003-06-02 02:29:26 +00:00
obrien
31eeb1fbcf crtstuff needs isn't compilable with C99 on Sparc64, so set CSTD to gnu89. 2003-06-01 22:18:05 +00:00
peter
b5e718b143 libstdc++.so breaks on amd64 due to bogons in our build, so prevent the
shared library being built for amd64.  The problem is that libstdc++.so
is produced with 'cc -shared'.  This has an internal -lgcc, which is
not PIC.  libstdc++.so uses exceptions and the dwarf2 unwinder, which
are in libgcc.a.  As a result, non-PIC code gets pulled into libstdc++.so.
This is fatal on amd64 when certain relocation types cannot be used in
PIC mode.  The official FSF solution to this is to have libgcc.so with
internal ELF symbol versioning to solve the ABI problem, but I dont want
to fight that battle yet.  I tried making libgcc_pic.a (which worked
fine), but thats not something for the 11th hour before a release.

Approved by:  re (amd64 "safe" stuff)
2003-05-24 19:38:18 +00:00
obrien
3926d43570 Use __FBSDID over rcsid[]. 2003-05-03 21:31:08 +00:00
obrien
676130c503 This is WARNS=2 clean. 2003-05-03 21:30:34 +00:00
kan
6f4ed18bfc Enable wchar_t support in libstdc++. 2003-04-29 18:10:45 +00:00
obrien
a8b06a6a44 Enable ISO-C99 compatibility -- among other things, this tells libstdc++
not to blindly undef isnan() and other functions that became macros in C99.
Enable use of newly grown C99 functions: strtof(), strtold(), wcstof()

Submitted by:	das
2003-04-25 21:17:31 +00:00
marcel
86c427b4c1 Forced non-forced commit by adding a comment mentioning what the
previous commit log should have mentioned:
PR: ia64/49081
2003-03-17 00:08:47 +00:00
marcel
e0730b13ea libobjc is linked against shared objects and since we don't have a
shared object of libobjc, we end up linking in from the archive
version. This is wrong, because we don't compile the archive version
suitable for inclusion in shared objects. On ia64 this causes actual
breakages. Compile the archive version with PIC on ia64 to avoid
the breakage there and also to avoid changing the status quo on
other architectures. If other architectures have the same problem,
we probably should start building a shared library. There's no
indication however that other architectures actually need it.

Building the archive version with PIC on ia64 does pessimize linking
complete binaries (ie fully archive), but we don't use Objective-C
ourselves and so far I haven't seen non-shared executables written
in Objective-C, so I'm sure this will be nothing but academic.

Trigger case: ports/lang/gnustep-base
2003-03-16 22:44:01 +00:00
ru
b286653bd0 Only cross-tools may use TARGET_ARCH/TARGET, everyone else
should use the normal MACHINE_ARCH/MACHINE instead.
2003-02-27 09:19:31 +00:00
kan
72c057cdd9 Update for GCC 3.2.2 2003-02-19 04:28:12 +00:00
kan
4ec0d56609 Install one more header file which is new with GCC 3.2.2. 2003-02-10 06:09:55 +00:00
kan
ef17cd4304 C++ exceptions with shared libraries are working on sparc64 now.
Build shared libstdc++so on sparc64 platform too.

Approved:	re (rwatson)
2002-12-05 17:04:03 +00:00
obrien
500c14e805 Update for Gcc 3.2.1 release.
We also have more wide char support in libc now.
2002-12-04 17:47:34 +00:00
obrien
40ebdb9335 Remove files no longer part of the gcc_3_2_anoncvs_20021009 libstdc++.
Approved by:	re(jhb)
2002-11-27 18:52:04 +00:00
kan
388f8f322a Build Objective-C runtime support library with thr-posix.c.
Submitted by:	davidc
Requested by:	obrien
2002-10-30 18:01:06 +00:00
kris
2fdf0ba50e Disallow libdialog to be used in setugid applications; it is chock full
of buffer overflows.

MFC after:      3 days
2002-10-12 20:32:03 +00:00
peter
0a7f0ba37e Zap now-unused SHLIB_MINOR 2002-09-28 00:25:32 +00:00
markm
84072d95a3 Avoid linting GNU contrib'ed stuff, even if the build engineer asked
for it (via WANT_LINT). It's Just Too Noisy.
2002-09-25 09:55:20 +00:00
kan
3d3147e47c Bmake bits for GCC 3.2.1-prerelease libstdc++.
Connect two new source and one header file to the build.

Approved by:	obrien
2002-09-17 04:23:29 +00:00
peter
a51c9b6627 Initiate deorbit burn for the i386-only a.out related support. Moves are
under way to move the remnants of the a.out toolchain to ports.  As the
comment in src/Makefile said, this stuff is deprecated and one should not
expect this to remain beyond 4.0-REL.  It has already lasted WAY beyond
that.

Notable exceptions:
gcc - I have not touched the a.out generation stuff there.
ldd/ldconfig - still have some code to interface with a.out rtld.
old as/ld/etc - I have not removed these yet, pending their move to ports.
some includes - necessary for ldd/ldconfig for now.

Tested on: i386 (extensively), alpha
2002-09-17 01:49:00 +00:00
wollman
605a22100e Quiet another annoying warning. 2002-09-09 17:44:08 +00:00
kan
5edce35840 Connect new files added with GCC 3.2.1 import to the build.
Approved by:	obrien
2002-09-01 21:21:56 +00:00
ru
a8adf98c82 Drop support for COPY, -c has been the default mode of install(1)
for a long time now.

Approved by:	bde
2002-07-29 09:40:17 +00:00
ru
cd7c90d38f s/${INSTALL} -c/${INSTALL} ${COPY}/ 2002-07-18 12:07:49 +00:00
peter
76a86b952e Bandaid for sparc64. Do not build libstdc++.so for now on sparc64.
Binaries compiled with it segfault.
2002-07-08 10:53:35 +00:00
obrien
690ea8569d Disconnect the docs until we figure out if there are any with v3. 2002-06-19 05:38:45 +00:00
dougb
1f8d67dfae In addition to exiting the dialog via ESC, the user could also have
exited via \r, \n, or ' ' (space); all of which are valid,
non-error responses.
2002-06-13 23:39:35 +00:00
mike
9b39ed7b94 Use POSIX macros for wait(2)-style status information instead of the
deprecated 4.2/4.3BSD wait union.  Fix some nearby pid_t/int
confusion.
2002-06-03 23:13:11 +00:00
obrien
4769e37d2a Turn on the math function stub stubs.
Submitted by:	Martin Blapp <mb@imp.ch>
I believe OK with:	peter
2002-06-02 17:49:08 +00:00
ru
1ea6cbb8c2 The new bsd.incs.mk is powerful enough to handle this wrinkle. 2002-05-31 11:45:34 +00:00
wollman
1bd96bef8d Add used includes of <stdlib.h>. 2002-05-30 19:49:21 +00:00
obrien
dccfdff5f9 Tweak so that .o's are written into src/contrib/gcc 2002-05-29 22:26:05 +00:00
obrien
abda074068 Build docs not out of libobc++.295 2002-05-29 21:14:48 +00:00
peter
f974920a72 Add some build glue for libstdc++. I'm not a C++ person, but this seems
to work at least for the non-hairy stuff.  The main wrinkle here is that
a whole mess of include files get installed and under different names.
An earlier version of this built a shadow include tree first in the obj
directory, but this depends on the 'make includes' functionality.

More tweaking is certainly going to be needed.
2002-05-29 00:45:51 +00:00