Re: compiling gpc on Mac OS 10.10.5 Yosemite

Peter <[email protected]> Tue, 17 Nov 2015 19:57:42 +0000
Newsgroups gmane.comp.compilers.gpc
Message-ID <[email protected]>
On 17/11/15 17:16, Schneider wrote:
> Peter:
> 
>> Also just guessing;
>> setenv GPC_CONFIG_EXTRAS "--with-arch=pentium-m --with-tune=prescott
>> --with-dwarf2"
> 
> mkdir -p -- libgcc
> if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi
> ./xgcc -B./ -B/Developer/Pascal/gpc346u4/i386-apple-darwin10/bin/ -isystem /Developer/Pascal/gpc346u4/i386-apple-darwin10/include -isystem /Developer/Pascal/gpc346u4/i386-apple-darwin10/sys-include -L/Users/schneidt/now/gpc/current/build/gcc/../ld -O2  -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include  -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -I. -I. -I../../gcc-3.4.6/gcc -I../../gcc-3.4.6/gcc/. -I../../gcc-3.4.6/gcc/../include   -DL_muldi3 -c ../../gcc-3.4.6/gcc/libgcc2.c -o libgcc/./_muldi3.o
> ../../gcc-3.4.6/gcc/libgcc2.c:0: internal compiler error: in default_no_named_section, at varasm.c:4715
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <URL:http://gcc.gnu.org/bugs.html> for instructions.
> make[3]: *** [libgcc/./_muldi3.o] Error 1
> make[2]: *** [libgcc.a] Error 2
> make[1]: *** [stage1_build] Error 2
> make: *** [bootstrap] Error 2
> 
> Wow, that blew the compiler!
> 
> Tom
> 
>   Thomas D. Schneider, Ph.D.
>   Senior Investigator
>   National Institutes of Health
>   National Cancer Institute
>   Center for Cancer Research
>   Gene Regulation and Chromosome Biology Laboratory
>   Molecular Information Theory Group
>   Frederick, Maryland  21702-1201
>   https://schneider.ncifcrf.gov (current link)
>   https://alum.mit.edu/www/toms (permanent link)
> 


Maybe use --without-stabs instead of --with-dwarf2  ?

And/Or  set one of the following to -gdwarf-2

LIBGCC2_DEBUG_CFLAGS
TARGET_LIBGCC2_CFLAGS


I recommend following Jonas' suggestion to try Xcode 6.4, at least
temporarily, to see if the debug format is the only issue, or whether
there are a raft of other problems waiting to reveal themselves.



_______________________________________________
Gpc mailing list
[email protected]
https://www.g-n-u.de/mailman/listinfo/gpc