Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 920109 - sys-apps/memtest86-4.3.7-r4 - smp.c: error: assignment to unsigned int from unsigned int makes pointer from integer without a cast [-Wint-conversion]
Summary: sys-apps/memtest86-4.3.7-r4 - smp.c: error: assignment to unsigned int from u...
Status: RESOLVED PKGREMOVED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard: removed
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2023-12-16 10:44 UTC by Toralf Förster
Modified: 2024-10-31 21:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,16.51 KB, text/plain)
2023-12-16 10:44 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,45.78 KB, text/plain)
2023-12-16 10:44 UTC, Toralf Förster
Details
environment (environment,61.17 KB, text/plain)
2023-12-16 10:44 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,24.36 KB, application/x-xz)
2023-12-16 10:44 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,62.98 KB, text/plain)
2023-12-16 10:44 UTC, Toralf Förster
Details
sys-apps:memtest86-4.3.7-r3:20231216-010909.log (sys-apps:memtest86-4.3.7-r3:20231216-010909.log,7.81 KB, text/plain)
2023-12-16 10:44 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,16.22 KB, application/x-xz)
2023-12-16 10:44 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2023-12-16 10:44:16 UTC
smp.c:661:11: warning: passing argument 1 of memset discards volatile qualifier from pointer target type [-Wdiscarded-array-qualifiers]
  661 |    memset(&AP, 0, sizeof AP);
      |           ^~~
smp.c:164:15: note: expected void * but argument is of type volatile ap_info_t (*)[32]
  164 | memset (void *dst,
      |         ~~~~~~^~~
smp.c:728:21: error: assignment to unsigned int * from unsigned int makes pointer from integer without a cast [-Wint-conversion]
  728 |                 ptr = *(unsigned int *)tab_ptr;
      |                     ^

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib_systemd-20231213-230004

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-14 *
clang/llvm (if any):
Python 3.11.6
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

php cli (if any):
go version go1.21.5 linux/amd64

  HEAD of ::gentoo
commit cf8641f4d9921d2e7b87e1d7d6506d73618033bc
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Dec 15 23:46:48 2023 +0000

    2023-12-15 23:46:48 UTC

emerge -qpvO sys-apps/memtest86
[ebuild  N    ] sys-apps/memtest86-4.3.7-r3  USE="serial"
Comment 1 Toralf Förster gentoo-dev 2023-12-16 10:44:17 UTC
Created attachment 879576 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-16 10:44:18 UTC
Created attachment 879577 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-12-16 10:44:19 UTC
Created attachment 879578 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-12-16 10:44:20 UTC
Created attachment 879579 [details]
etc.portage.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-12-16 10:44:21 UTC
Created attachment 879580 [details]
qlist-info.txt
Comment 6 Toralf Förster gentoo-dev 2023-12-16 10:44:22 UTC
Created attachment 879581 [details]
sys-apps:memtest86-4.3.7-r3:20231216-010909.log
Comment 7 Toralf Förster gentoo-dev 2023-12-16 10:44:23 UTC
Created attachment 879582 [details]
temp.tar.xz
Comment 8 Agostino Sarubbo gentoo-dev 2024-01-05 08:50:36 UTC
gcc14_tinderbox has reproduced this issue with version 4.3.7-r4 - Updating summary.
Comment 9 Larry the Git Cow gentoo-dev 2024-04-07 12:46:50 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9870ac88a4fc63e942ec4544a8cc9ec38b73f399

commit 9870ac88a4fc63e942ec4544a8cc9ec38b73f399
Author:     Ben Kohler <bkohler@gentoo.org>
AuthorDate: 2024-04-07 12:26:02 +0000
Commit:     Ben Kohler <bkohler@gentoo.org>
CommitDate: 2024-04-07 12:46:42 +0000

    profiles: mask sys-apps/memtest86 for removal
    
    Bug: https://bugs.gentoo.org/502464
    Bug: https://bugs.gentoo.org/607494
    Bug: https://bugs.gentoo.org/628528
    Bug: https://bugs.gentoo.org/750677
    Bug: https://bugs.gentoo.org/887003
    Bug: https://bugs.gentoo.org/912973
    Bug: https://bugs.gentoo.org/920109
    
    Signed-off-by: Ben Kohler <bkohler@gentoo.org>

 profiles/package.mask | 8 ++++++++
 1 file changed, 8 insertions(+)
Comment 10 Larry the Git Cow gentoo-dev 2024-05-08 09:48:21 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b584dd49228a5c8eaa3542d0155350a4f7c02f9c

commit b584dd49228a5c8eaa3542d0155350a4f7c02f9c
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2024-05-08 09:42:35 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2024-05-08 09:42:35 +0000

    sys-apps/memtest86: Remove last-rited pkg
    
    Bug: https://bugs.gentoo.org/502464
    Bug: https://bugs.gentoo.org/607494
    Bug: https://bugs.gentoo.org/628528
    Bug: https://bugs.gentoo.org/750677
    Bug: https://bugs.gentoo.org/887003
    Bug: https://bugs.gentoo.org/912973
    Bug: https://bugs.gentoo.org/920109
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 sys-apps/memtest86/Manifest                        |  1 -
 sys-apps/memtest86/files/39_memtest86-r1           | 69 --------------------
 .../files/memtest86-4.3.3-build-nopie.patch        | 47 -------------
 .../memtest86-4.3.7-binutils-2.41-textrels.patch   | 31 ---------
 .../files/memtest86-4.3.7-io-extern-inline.patch   | 29 ---------
 .../memtest86/files/memtest86-4.3.7-no-clean.patch | 16 -----
 .../files/memtest86-4.3.7-reboot-def.patch         | 13 ----
 sys-apps/memtest86/memtest86-4.3.7-r3.ebuild       | 76 ----------------------
 sys-apps/memtest86/memtest86-4.3.7-r4.ebuild       | 76 ----------------------
 sys-apps/memtest86/metadata.xml                    | 11 ----
 10 files changed, 369 deletions(-)