Bug 39820 - errors while compiling libc and the kernel
Summary: errors while compiling libc and the kernel
Status: RESOLVED INVALID
Alias: None
Product: gcc
Classification: Unclassified
Component: middle-end (show other bugs)
Version: 4.5.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
: 45247 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-04-19 22:08 UTC by Justin P. Mattock
Modified: 2012-12-01 05:41 UTC (History)
4 users (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Justin P. Mattock 2009-04-19 22:08:18 UTC
This is new:
libc:

In file included from regex.c:65:
regexec.c: In function 're_search_stub':
regexec.c:411: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[2]: *** [/home/a-12/LFS/gcc/glibc-build/posix/regex.o] Error 1
make[2]: Leaving directory `/home/name/LFS/gcc/glibc-20090413/posix'
make[1]: *** [posix/subdir_lib] Error 2
make[1]: Leaving directory `/home/name/LFS/gcc/glibc-20090413'
make: *** [all] Error 2


latest git:

  CC      arch/x86/mm/pgtable.o
arch/x86/mm/pgtable.c: In function 'pgd_prepopulate_pmd':
arch/x86/mm/pgtable.c:352: error: incorrect sharing of tree nodes
D.24886.pud.pgd = swapper_pg_dir[i];

swapper_pg_dir[i]
arch/x86/mm/pgtable.c:352: internal compiler error: verify_stmts failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[1]: *** [arch/x86/mm/pgtable.o] Error 1
make: *** [arch/x86/mm] Error 2


I think I'll downgrade gcc(until further notice).
Comment 1 Uroš Bizjak 2009-04-20 07:14:00 UTC
Please split this PR into two separate reports.

Also, please attach standalone preprocessed source that triggers the bug, see http://gcc.gnu.org/bugs.html.

A backtrace of the crash would also help a lot.
Comment 2 Justin P. Mattock 2009-04-20 08:06:43 UTC
Subject: Re:  errors while compiling libc and the kernel

On Mon, 2009-04-20 at 07:15 +0000, ubizjak at gmail dot com wrote:
> 

Alright,
(I'll have to read read up on the backtrace part),
from what I'm seeing so far, not good, i.g. evolution
compiled perfectly(with the latest snapshot of gcc),
but as I'm running the mail client 
I'm getting skips in the music(streaming from the intranet),
when I minimize and maximize the window.

for some reason I'm thinking it might have something to
do with libpthread(not sure though, maybe the headers
got messed up)
Anyways I'll try and supply as much info as possible.

regards,

Justin P. Mattock



Comment 3 Richard Biener 2009-04-20 09:14:44 UTC
Please attach preprocessed source and the output of -v appended to the
commandline.
Comment 4 Uroš Bizjak 2009-04-20 09:56:17 UTC
(In reply to comment #2)

> (I'll have to read read up on the backtrace part),

The backtrace is important for targets that are not so widely used (so developers sometimes won't have to build a crosscompiler to confirm the bug). On i386, it will earn you extra bonus points ;) It is the preprocessed source (standalone, and reduced as much as possible) that matters.
Comment 5 H.J. Lu 2009-04-20 14:00:18 UTC
Please report on which target and which gcc revision you have this problem.
Comment 6 Justin P. Mattock 2009-04-20 16:03:09 UTC
(In reply to comment #5)
> Please report on which target and which gcc revision you have this problem.
> 

operating system= LFS(used ubuntu for the starting of the creation,
then moved the new system over as soon as ready)

arch(tough to say) when compiling every lib/app I used  CCFLAGS(example)
CFLAGS="-march=core2 -mtune=core2 -O2 -pipe -fomit-frame-pointer" CXXFLAGS="${CFLAGS}"
MAKEOPTS="{-j3}"

I'm guessing it's setting the system at x86_32(but could be setting it at x86_64)

As for gcc: the latest snapshot(I'll have to give you the number later, seems I can't connect to the
snapshot server to supply the release number). 
Comment 7 Andrew Pinski 2012-01-10 18:38:28 UTC
(In reply to comment #3)
> Please attach preprocessed source and the output of -v appended to the
> commandline.

No feedback to this part in over 2 years so closing.
Comment 8 Justin P. Mattock 2012-01-10 18:54:37 UTC
Sounds good to me!

On Jan 10, 2012 10:39 AM, "pinskia at gcc dot gnu.org" <
gcc-bugzilla@gcc.gnu.org> wrote:

> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39820
>
> Andrew Pinski <pinskia at gcc dot gnu.org> changed:
>
>           What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>             Status|WAITING                     |RESOLVED
>         Resolution|                            |INVALID
>
> --- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-01-10
> 18:38:28 UTC ---
> (In reply to comment #3)
> > Please attach preprocessed source and the output of -v appended to the
> > commandline.
>
> No feedback to this part in over 2 years so closing.
>
> --
> Configure bugmail: http://gcc.gnu.org/bugzilla/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You reported the bug.
>
Comment 9 Kai Tietz 2012-12-01 05:41:18 UTC
*** Bug 45247 has been marked as a duplicate of this bug. ***