Skip to content

clang miscompiles emacs because it uses horribly undefined behavior #4413

@efriedma-quic

Description

@efriedma-quic
Bugzilla Link 4041
Resolution INVALID
Resolved on Feb 22, 2010 12:49
Version unspecified
OS Linux

Extended Description

A build of emacs on Linux with clang breaks in the middle; tail of the make output:
LC_ALL=C ./temacs -batch -l loadup dump
Segmentation fault
make[1]: *** [emacs] Error 139
make[1]: Leaving directory `/home/eli/emacs-22.3/src'
make: *** [src] Error 2

This is a build configured with just "CC=clang ./configure".

I'm going to try and track this down at some point, but I figured I should file it so we don't lose track of it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzillaclangClang issues not falling into any other categoryinvalidResolved as invalid, i.e. not a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions