on FreeBSD 10, and amd64 on earlier versions.
SSP_UNSAFE is added to disable in a port if it fails to build, but
this should only be used in rare circumstances such as kernel modules.
Otherwise, the port may just be failing due to lack of respecting
LDFLAGS.
On FreeBSD 10, this uses an ldscript in /usr/lib/libc.so to pull in
libssp_nonshared.a to address issues linking on i386 [1].
On earlier FreeBSD versions the WITH_SSP knob will add -lssp_nonshared
to LDFLAGS on i386. This is not needed on amd64. However, several hundred
ports do not currently respect LDFLAGS, so this support is disabled currently
as it causes build failures if a dependency is looking for the stack_chk
symbols.
Many thanks to jlh@ for this as he had many years of patience in getting
all of the necessary pieces [1][2] in.
[1] http://svnweb.freebsd.org/base/head/lib/libc/libc.ldscript?revision=251668&view=markup
PR: ports/138228 [2]
Submitted by: jlh (bsd.ssp.mk based on)
Reviewed by: bapt
With hat: portmgr
exp-runs done: 37 over a month on 91i386,91amd64,10i386,10amd64
- Modernize Makefile header (bring it down to just two lines)
- Convert USE_GMAKE and USE_PERL5_BUILD to USES, sort the knobs
- Clean up port description and do-install: message, utilize ${FMT}
ChangeLog:
- Support for FILO
- Support for USB disks
- btext console
- Fixes for eepro100, rtl8139, sis900, tlan, tulip and via-rhine drivers
- Added drivers for mtd80x and Davicom based cards
PR: ports/101721
Submitted by: me (stas)
Approved by: maintainer timeout (3,5 months)
Without this patch GCC optimizer removes all card driver code
resulting in nonworking rom image.
There are some bugs in GCC-3.4.2, maybe updating system compiler to latest
gcc snapshot will be good idea also.
This still occurs in 7-current gcc version 3.4.4 [FreeBSD] 20050518.
So adding in the patch.
PR: 78834
Submitted by: Radim Kolar
terms of response to losses.
This makes etherboot work much smoother when nfs-loading
kernels in presence of a small amount of losses.
A similar patch will be committed shortly for tftp loads
(in the process of testing that, Doug Ambrisko and I found
a bug in FreeBSD's tftpd!).
These patches are being submitted to the etheboot developers
for integration in future releases of etherboot.
sensible defaults for FreeBSD. Specifically:
Makefile, distinfo:
upgrade to etherboot 5.0.5
pkg-descr:
improve description on installing on floppy/hd
files/patch-aa:
implement some FreeBSD-specific defaults, namely:
+ boot1a.s
use a FreeBSD partition type instead of a DOS partition type
+ makerom.c
pad the image size to multiples of 8k instead of powers of 2.
This makes the tulip image fit in the 62 sectors which are
typically unused on the first track of hard disks (other images
were already 16k so there is not a problem with them).
+ Makefile
make the disk loader bin/boot1a.bin be compiled by default
All these diffs are in the same patchfile because they are very
short, version independent (they even work with 5.0.4 and probably
earlier versions of etherboot) and will be contributed back to the
developers, so it is not worthwhile to clutter the ports subtree
with multiple patches.
Approved-by: maintainer
the ROM code from the hard disk, and an improved "tulip" driver.
Also make boot over NFS the default method. This is seems to me
more flexible in that NFS is often required for diskless
configurations, and gives slightly better control than TFTPD on
who is allowed to access the server.
Approved-by: maintainer
tricky configuration change to FreeBSD. The maintainer agrees it better
to use the Latest version of etherboot.
Submitted by: myself
Reviewed by: The maintainer.
FWIW, checkout of these things took 5+hrs, staying on the local
.freebsd.org net w/o hitting the 'net at all.
As promised,
$ time cvs ci
real 67m51.701s
user 0m1.250s
sys 0m5.345s