[comp.os.minix] Question about libpack

greg@suntan.viewlogic.com (Gregory Larkin) (03/15/91)

Hi all,

Is there a bug in libpack?  I recently remade my libc.a
with Earl's estdio.  The only error I got during the
whole process was:

(while creating the new libc.a)
lorder: _brk defined in brk.s and brksize.s

(something like that)

I did some research and the brksize.s (after libpack) looks
like this:

H_brkoze
Iendbss, _brkoze

_brkoze: Bendbss

Somehow, the "si" in the middle of "brksize" got nuked. On 
Minix, the space is replaced with a garbage character.
Anyway, lorder stops at the garbage character and sees 
"_brk" as the identifier.  This is defined in brk.s as well.

I checked V1.3 libc.a and problem is there as well.  

Is this going to cause problems, or is it OK for this to 
happen?

Thanks for any hints,

-- 
Greg Larkin (ASIC Engineer)|"This is a fragile ball we are living on; 
Viewlogic Systems, Inc.    |it's a miracle and we are destroying it.."
293 Boston Post Road West  |Peter Garrett, Midnight Oil               
Marlboro, MA 01752  (greg@Viewlogic.COM)

greg@suntan.viewlogic.com (Gregory Larkin) (03/15/91)

Hi,

As a followup to my previous post, I should say that the
/usr/test directory has problems compiling due to
unresolved references.  _begsig and _brksize both have
the "missing 'si'" problem.  _begsig becomes _beg and
_brksize becomes _brk.

_begsig problem causes the following not to link:
	test1, test3, test5, test7, test9

_brksize problem causes the following not to link:
	test6, test10, test11

These programs have been compiled in the past, why
won't they compile now??

Thanks,
-- 
Greg Larkin (ASIC Engineer)|"This is a fragile ball we are living on; 
Viewlogic Systems, Inc.    |it's a miracle and we are destroying it.."
293 Boston Post Road West  |Peter Garrett, Midnight Oil               
Marlboro, MA 01752  (greg@Viewlogic.COM)