2013/8/23 Jim Michaels <[email protected]>
> what is the size of a segment on IA32e using 64-bit flat model (that is
> what's used?)? I have been trying to read up on this, but getting nowhere
> by reading the docs.
> is it the same 64K limitation we've always had with 8086?
>
>
> I am asking because I have about 1000 lines of function which cased GCC to
> internal compiler error: Segmentation fault
> I am using x86_64-w64-mingw32-gcc-4.8-stdthread-win64_rubenvb
>
> I really like the compiler, but was surprised that I could even hit a
> limit on the function size so rapidly with 64-bit.
> and I am thinking that it's a really unfortunate limitation that's in the
> cpu if this is really the case. I am pretty sure my code is not 2GiB in
> size.
> it has a lot of strings, and at the time, those were surrounded with
> std::string() which seemed to make things tremendously worse.
>
> I have at least 2 programs which use large functions 1000+ lines long. one
> program is 10k lines long.
>
A segmentation fault does not mean you're hitting any kind of limit. It's a
compiler bug. It should also have told you how to report it, instructions
which you didn't follow.
Since you're giving no relevant information at all (preprocessed source,
compiler invocation) I can't help you.
Ruben
>
> -------------
> Jim Michaels
> [email protected] <[email protected]>
> [email protected]
> http://
> <http://renewalcomputerservices.com/>RenewalComputerServices.com<http://renewalcomputerservices.com/>
> http://JesusnJim.com <http://jesusnjim.com/> (my personal site, has
> software)
> ---
> IEC Units: Computer RAM & SSD measurements, microsoft disk size
> measurements (note: they will say GB or MB or KB or TB when it is IEC
> Units!):
> [KiB] [MiB] [GiB] [TiB]
> [2^10B=1,024^1B=1KiB]
> [2^20B=1,024^2B=1,048,576B=1MiB]
> [2^30B=1,024^3B=1,073,741,824B=1GiB]
> [2^40B=1,024^4B=1,099,511,627,776B=1TiB]
> [2^50B=1,024^5B=1,125,899,906,842,624B=1PiB]
> SI Units: Hard disk industry disk size measurements:
> [KB] [MB] [GB] [TB]
> [10^3B=1,000B=1KB]
> [10^6B=1,000,000B=1MB]
> [10^9B=1,000,000,000B=1GB]
> [10^12B=1,000,000,000,000B=1TB]
> [10^15B=1,000,000,000,000,000B=1PB]
>
>
>
> ------------------------------------------------------------------------------
> Introducing Performance Central, a new site from SourceForge and
> AppDynamics. Performance Central is your source for news, insights,
> analysis and resources for efficient Application Performance Management.
> Visit us today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
> _______________________________________________
> Mingw-w64-public mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
>
>
------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and
AppDynamics. Performance Central is your source for news, insights,
analysis and resources for efficient Application Performance Management.
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public