Hi all. I'm trying to build a completely static userland, and most things work fine simply having
in /etc/src.conf.
However some builds fail with undefined references to environ and __getprogname.
Usually this is fixed by adding some library to your linker flags, but I'm not sure which library should have this, I thought it was defined in libc. Out of about 700 packages or so I've been building statically, this is the error I get about 95% of the time, if something fails. Most packages are fine, and a few programs have bugs (I guess) that are only exposed when linked statically.
Thanks I advance, and congratulations to thefreebsd FreeBSD developers getting KMS for my new Intel card to work fairly well, in a pretty short time :e
Code:
LDFLAGS=-static
However some builds fail with undefined references to environ and __getprogname.
Usually this is fixed by adding some library to your linker flags, but I'm not sure which library should have this, I thought it was defined in libc. Out of about 700 packages or so I've been building statically, this is the error I get about 95% of the time, if something fails. Most packages are fine, and a few programs have bugs (I guess) that are only exposed when linked statically.
Thanks I advance, and congratulations to the