Port-atari archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: install image overflow



On Wed, Aug 12, 2015 at 01:30:20AM +0900, Izumi Tsutsui wrote:
> (I'm not sure if MKREPRO handles __FILE__ pathnames in assert(3) though)

It does (forcing a /usr/src prefix IIRC).

> We can remove the first 8 assert(3) by adding -DNDEBUG in
> src/distrib/atari/floppies/common/Makefile.inc, but
> all other ones are pulled from ${DISTDIR}/usr/src/libc/libc.a.

Yeah, and that is also why MKREPRO is not easy to apply only for
the crunched binaries.

> I wonder if it's worth to move more functions from libc into
> distrib/utils/libhack to disable assert(3) in installation binaries
> for poor ports..

Or build a special -DNDEBUG libc.a for use by crunched binaries (and
maybe additionaly apply MKREPRO for that part of the build always)?

Martin


Home | Main Index | Thread Index | Old Index