Bug 272015 - make -j8 buildworld *** [vdev_raidz_math_sse2.o] Error code 1
Summary: make -j8 buildworld *** [vdev_raidz_math_sse2.o] Error code 1
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: bhyve (show other bugs)
Version: 13.1-STABLE
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-virtualization (Nobody)
URL:
Keywords: needs-qa
Depends on:
Blocks:
 
Reported: 2023-06-15 17:12 UTC by nbari
Modified: 2023-08-18 13:08 UTC (History)
1 user (show)

See Also:


Attachments
vdev_raidz_math_sse2-7de6a9.sh (6.57 KB, application/x-shellscript)
2023-06-15 17:12 UTC, nbari
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description nbari 2023-06-15 17:12:02 UTC
Created attachment 242796 [details]
vdev_raidz_math_sse2-7de6a9.sh

********************
*** [vdev_raidz_math_sse2.o] Error code 1

make[5]: stopped in /usr/src/cddl/lib/libzpool
--- kerberos5/lib__L ---

make[4]: stopped in /usr/src/kerberos5/lib
--- lib__L ---

make[3]: stopped in /usr/src
--- kerberos5/lib__L ---

make[3]: stopped in /usr/src
--- cddl/lib__L ---
1 error

make[5]: stopped in /usr/src/cddl/lib/libzpool

make[4]: stopped in /usr/src/cddl/lib

make[3]: stopped in /usr/src

make[2]: stopped in /usr/src

make[1]: stopped in /usr/src

make: stopped in /usr/src
Comment 1 Graham Perrin freebsd_committer freebsd_triage 2023-06-17 05:56:30 UTC
> 13.1-STABLE

Which version, exactly?


(In reply to nbari from comment #0)

I see 13.2 in the script …
Comment 2 nbari 2023-06-21 21:04:56 UTC
Sorry, it is 13.2-RELEASE FreeBSD 13.2-RELEASE releng/13.2-n254617-525ecfdad597 GENERIC amd64
Comment 3 Michael Dexter 2023-08-09 08:55:26 UTC
Looking at the patch and the output, why is this flagged as "bhyve"?
Comment 4 nbari 2023-08-16 07:48:25 UTC
because I am building within a bhyve VM
Comment 5 Michael Dexter 2023-08-16 08:08:49 UTC
What file systems are the host and VM running? ZFS on both? ZFS on the host and UFS on the VM?

If the VM is using UFS, do you think a buildworld in VM-IMAGE would reproduce it?

Just to be sure, is there any chance the build is running out of RAM at that point?
Comment 6 nbari 2023-08-16 08:10:18 UTC
Both using ZFS, VM has 16GB RAM, I think that was not the problem.
Comment 7 Michael Dexter 2023-08-16 08:36:25 UTC
Have you set primarycache=metadata on the VM?
Comment 8 nbari 2023-08-16 08:48:53 UTC
No, just did a default ZFS (auto) setup but didn't add primarycache=metadata to any dataset, any advice here? where should I add it
Comment 9 nbari 2023-08-18 13:08:24 UTC
I tried again (just in case I use this script https://gist.github.com/nbari/b711d63ea9e789248f83f188dc59eb96)  the error I am  getting now is:
 

cc -target x86_64-unknown-freebsd13.2 --sysroot=/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin  -O2 -pipe -fno-common -I/usr/sr[116/244875]
           ^                                                                                                                                                [106/244875]
/usr/src/crypto/heimdal/kadmin/util.c:268:5: warning: call to undeclared function 'get_response'; ISO C99 and later do not support implicit function declarations [-Wimp
licit-function-declaration]
        if(get_response(prompt, buf, resp, sizeof(resp)) != 0)
           ^
/usr/src/crypto/heimdal/kadmin/util.c:354:5: warning: call to undeclared function 'get_response'; ISO C99 and later do not support implicit function declarations [-Wimp
licit-function-declaration]
        if(get_response(prompt, buf, resp, sizeof(resp)) != 0)
           ^
/usr/src/crypto/heimdal/kadmin/util.c:580:1: error: static declaration of 'get_response' follows non-static declaration
get_response(const char *prompt, const char *def, char *buf, size_t len)
^
/usr/src/crypto/heimdal/kadmin/util.c:138:5: note: previous implicit declaration is here
        if(get_response("Attributes", buf, resp, sizeof(resp)) != 0)
           ^
3 warnings and 1 error generated.
*** [util.o] Error code 1

make[5]: stopped in /usr/src/kerberos5/usr.bin/kadmin
1 error

make[5]: stopped in /usr/src/kerberos5/usr.bin/kadmin

make[4]: stopped in /usr/src/kerberos5/usr.bin

make[3]: stopped in /usr/src/kerberos5

make[2]: stopped in /usr/src

make[1]: stopped in /usr/src

make: stopped in /usr/src