Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120515093553.18c90a66@newbook>
Date: Tue, 15 May 2012 09:35:53 -0700
From: Isaac Dunham <idunham@...abit.com>
To: musl@...ts.openwall.com
Subject: gcc segfault at src/mman/mlockall.c

With -Os -fno-stack-protector, gcc (Ubuntu 4.4.3-4ubuntu5.1) 4.4.3
gcc -std=c99 -nostdinc -ffreestanding -ffloat-store
-frounding-math -D_XOPEN_SOURCE=700 -I./src/internal -I./include
-I./arch/i386  -pipe -fno-unwind-tables -fno-asynchronous-unwind-tables
-fomit-frame-pointer -falign-functions=1 -falign-labels=1
-falign-loops=1 -falign-jumps=1 -march=i486 -mtune=generic -Os
-fno-stack-protector -c -o src/mman/mlockall.o src/mman/mlockall.c 
cc1: internal compiler error: Segmentation fault 
Please submit a full bug report, with preprocessed source if
appropriate. See <file:///usr/share/doc/gcc-4.4/README.Bugs> for
instructions. 
make: *** [src/mman/mlockall.o] Error 1

gcc=latest gcc-4.4 package from Ubuntu

With -O3, I get 
===
gcc -std=c99 -nostdinc -ffreestanding -ffloat-store -frounding-math
-D_XOPEN_SOURCE=700 -I./src/internal -I./include -I./arch/i386  -pipe
-fno-unwind-tables -fno-asynchronous-unwind-tables -fomit-frame-pointer
-falign-functions=1 -falign-labels=1 -falign-loops=1 -falign-jumps=1
-march=i486 -mtune=generic -O3 -fno-stack-protector -c -o
src/misc/getgrouplist.o src/misc/getgrouplist.c 
cc1: internal compiler error: Segmentation fault 
Please submit a full bug report, with preprocessed source if
appropriate. See <file:///usr/share/doc/gcc-4.4/README.Bugs> for
instructions. 
make: *** [src/misc/getgrouplist.o] Error 1
===
Switching over to gcc-4.1, since I've used that without errors.

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.