From: "Hannu E K Nevalainen" <garbage_collector@telia.com>
To: <cygwin@cygwin.com>
Subject: RE: binutils: Strange ld error: Error: 0-bit reloc in dll
Date: Mon, 27 Oct 2003 10:36:00 -0000 [thread overview]
Message-ID: <NGBBLLIAMFLGJEOAJCCEGEMJDFAA.garbage_collector@telia.com> (raw)
In-Reply-To: <75207414466.20031025214623@familiehaase.de>
> From: Gerrit P. Haase
> Sent: Saturday, October 25, 2003 9:46 PM
> Additional info about the statements that it happens with big object
> files:
> $ d gucharmap-unicode-info.o
> rw-r--r-- #gerrit:Admins 3.9M Oct 25 19:27 gucharmap-unicode-info.o
> 1 regular files, with a total size of 3.9M.
>
> May be that is just too big?
>
> Gerrit
! NOTE: I write this without really knowing about anything WRT ld...
! Please, take all I say with a grain of salt, auto adjust details,
! and so on ;-] - I'm here just in hope to help.
Hmm? That would be very strange IMO... assuming size is measured in bytes
it would imply a very odd usage of data types, i.e. 20 bits or some such:
$ for ((n=1;n<33;n++)) ;do v=$(( 1 << ( $n ) )) \
;echo "$n bits -> range $v";done
<snip>
16 bits -> range 65536
17 bits -> range 131072
18 bits -> range 262144
19 bits -> range 524288
20 bits -> range 1048576
21 bits -> range 2097152
22 bits -> range 4194304
23 bits -> range 8388608
24 bits -> range 16777216
<snip>
How about the sum of *.o sizes; does that step past some 'bit-boundary' in
line with whats shown above?
What datatype is used for adding up *.o sizes in ld?
Is there some legacy code in there?
I know that O.L.D. versions of MAC OS used the upper 8 bits of 32 bit
address pointers for some obscure data (remember: 24 bit address bus on some
MC68K's).
/Hannu E K Nevalainen, B.Sc. EE - 59?16.37'N, 17?12.60'E
-- printf("Timezone: %s\n", (DST)?"UTC+02":"UTC+01"); --
--END OF MESSAGE--
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
prev parent reply other threads:[~2003-10-26 12:18 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-26 1:41 Gerrit P. Haase
2003-10-26 8:18 ` Gerrit P. Haase
2003-10-27 10:36 ` Hannu E K Nevalainen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=NGBBLLIAMFLGJEOAJCCEGEMJDFAA.garbage_collector@telia.com \
--to=garbage_collector@telia.com \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).