| Summary: | Update request: gcc-8.3.1-0.20191101.1.mga7 | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Thomas Backlund <tmb> |
| Component: | RPM Packages | Assignee: | QA Team <qa-bugs> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | andrewsfarm, sysadmin-bugs, tarazed25 |
| Version: | 7 | Keywords: | advisory, validated_update |
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | MGA7-64-OK | ||
| Source RPM: | gcc | CVE: | |
| Status comment: | |||
|
Description
Thomas Backlund
2019-11-13 11:59:52 CET
A search for libatomic1 brought me here. Dropbox wouldn't install without libatomic.so.1. Ubuntu found that Firefox, Chromium and "swift" needed it as well. Firefox was O.K. for me without it. To satisfy Dropbox, I installed the libatomic package. CC:
(none) =>
laidlaws Mageia7, x86_64
All the packages updated cleanly.
Not a lot of point in running "Hello World" type programs when the gcc stack is already in use and working.
However I did run a noddy Fortran program because Fortran is probably not tested yet. This reads user supplied integers to calculate the sum of the cubes. Terminates on 0
$ gfortran calculate.f90
5
5
22
22.0000000
3
3.00000000
17
17.0000000
9
9.00000000
21
21.0000000
This is the sum of the positive cubes: 25578.0000
This gets QA's blessing for 64-bits.CC:
(none) =>
tarazed25 Ach!
Left out the invocation.
$ gfortran -o calculate calculate.f90
$./calculate
Script is:
PROGRAM CALCULATE
!
! Program to calculate the sum of up to n values of x**3
! where negative values are ignored.
!
IMPLICIT NONE
INTEGER I,N
REAL SUM,X,Y
READ(*,*) N
WRITE(*,*) N
SUM=0
DO I=1,N
READ(*,*) X
WRITE(*,*) X
IF (X.GE.0.0) THEN
Y=X**3
SUM=SUM+Y
END IF
END DO
WRITE(*,*) 'This is the sum of the positive cubes:',SUM
END
Doug Laidlaw
2019-11-17 00:22:12 CET
CC:
laidlaws =>
(none) Wow. I haven't done anything with Fortran for over 45 years, and have forgotten almost all I ever knew. My hat's off to you, Len. Validating. Keywords:
(none) =>
validated_update Keep it on TJ; that was lifted from IBM archives. Like you, my Fortran days are a long way back. We switched from Algol60 to Fortran IV in the late sixties then to C in 1985. I had the job of converting all the observatory's Fortran90 programs to C - several month's work. Happy days!
Thomas Backlund
2019-11-19 19:00:45 CET
Keywords:
(none) =>
advisory An update for this issue has been pushed to the Mageia Updates repository. https://advisories.mageia.org/MGAA-2019-0210.html Resolution:
(none) =>
FIXED |