Bug 1845945 - frama-c: Preprocessing error on Fedora 32
Summary: frama-c: Preprocessing error on Fedora 32
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: frama-c
Version: 32
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Jerry James
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-06-10 13:27 UTC by Christophe GRENIER
Modified: 2020-06-26 00:45 UTC (History)
1 user (show)

Fixed In Version: frama-c-21.0-1.fc32
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-06-26 00:45:26 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Christophe GRENIER 2020-06-10 13:27:43 UTC
Description of problem:
Frama-c failed to parse its own stdio.h file

Version-Release number of selected component (if applicable):
frama-c-20.0-3.fc32.x86_64

How reproducible:
Always

Steps to Reproduce:
1. cat hello.c
#include <stdio.h>
  
int main(void)
{
  return 0;
}
2. frama-c hello.c -kernel-msg-key pp

Actual results:
[kernel:pp] 
  preprocessing with "gcc -E -C -I.  -I/usr/share/frama-c/libc -D__FRAMAC__ -D__FC_MACHDEP_X86_32 -dD -nostdinc -m32 hello.c"
[kernel] Parsing hello.c (with preprocessing)
[kernel:annot-error] FRAMAC_SHARE/libc/__fc_string_axiomatic.h:40: Warning: 
  unexpected token '\U00002124'
[kernel] User Error: warning annot-error treated as fatal error.
[kernel] User Error: stopping on file "hello.c" that has errors.
[kernel] Frama-C aborted: invalid user input.

Expected results:
No error

Additional info:
It may be related to gcc 10.1

Comment 1 Jerry James 2020-06-12 20:57:26 UTC
I suspect it is an incompatibility with some other component.  Frama-C 21.0 Scandium just came out.  I tried a test build of it, and it does not give this error.  Let me test it a little more and if everything looks good, I'll build updates for Fedora 32 and Rawhide.

Comment 2 Fedora Update System 2020-06-16 19:18:55 UTC
FEDORA-2020-d82e88c6d0 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-d82e88c6d0

Comment 3 Fedora Update System 2020-06-18 14:13:23 UTC
FEDORA-2020-d82e88c6d0 has been pushed to the Fedora 32 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-d82e88c6d0`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-d82e88c6d0

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2020-06-26 00:45:26 UTC
FEDORA-2020-d82e88c6d0 has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.