>>> mesa3d 21.1.6 Downloading wget --passive-ftp -nd -t 3 --no-check-certificate -O '/tmp/instance-6/output-1/build/.mesa-21.1.6.tar.xz.vL7utj/output' 'https://archive.mesa3d.org/mesa-21.1.6.tar.xz' --2021-08-04 02:27:03-- https://archive.mesa3d.org/mesa-21.1.6.tar.xz Resolving archive.mesa3d.org (archive.mesa3d.org)... 2610:10:20:722:a800:ff:feda:470f, 131.252.210.176 Connecting to archive.mesa3d.org (archive.mesa3d.org)|2610:10:20:722:a800:ff:feda:470f|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 15371108 (15M) [application/x-xz] Saving to: '/tmp/instance-6/output-1/build/.mesa-21.1.6.tar.xz.vL7utj/output' 0K .......... .......... .......... .......... .......... 0% 168K 89s 50K .......... .......... .......... .......... .......... 0% 355K 65s 100K .......... .......... .......... .......... .......... 0% 340K 58s 150K .......... .......... .......... .......... .......... 1% 159M 43s 200K .......... .......... .......... .......... .......... 1% 4.16M 35s 250K .......... .......... .......... .......... .......... 1% 228M 29s 300K .......... .......... .......... .......... .......... 2% 358K 31s 350K .......... .......... .......... .......... .......... 2% 193M 27s 400K .......... .......... .......... .......... .......... 2% 203M 24s 450K .......... .......... .......... .......... .......... 3% 246M 21s 500K .......... .......... .......... .......... .......... 3% 245M 19s 550K .......... .......... .......... .......... .......... 3% 246M 18s 600K .......... .......... .......... .......... .......... 4% 343K 20s 650K .......... .......... .......... .......... .......... 4% 219M 18s 700K .......... .......... .......... .......... .......... 4% 247M 17s 750K .......... .......... .......... .......... .......... 5% 239M 16s 800K .......... .......... .......... .......... .......... 5% 163M 15s 850K .......... .......... .......... .......... .......... 5% 170M 14s 900K .......... .......... .......... .......... .......... 6% 184M 13s 950K .......... .......... .......... .......... .......... 6% 183M 12s 1000K .......... .......... .......... .......... .......... 6% 198M 12s 1050K .......... .......... .......... .......... .......... 7% 197M 11s 1100K .......... .......... .......... .......... .......... 7% 200M 11s 1150K .......... .......... .......... .......... .......... 7% 361K 12s 1200K .......... .......... .......... .......... .......... 8% 185M 11s 1250K .......... .......... .......... .......... .......... 8% 246M 11s 1300K .......... .......... .......... .......... .......... 8% 6.44M 10s 1350K .......... .......... .......... .......... .......... 9% 69.7M 10s 1400K .......... .......... .......... .......... .......... 9% 60.9M 10s 1450K .......... .......... .......... .......... .......... 9% 30.0M 9s 1500K .......... .......... .......... .......... .......... 10% 104M 9s 1550K .......... .......... .......... .......... .......... 10% 108M 9s 1600K .......... .......... .......... .......... .......... 10% 88.2M 8s 1650K .......... .......... .......... .......... .......... 11% 112M 8s 1700K .......... .......... .......... .......... .......... 11% 110M 8s 1750K .......... .......... .......... .......... .......... 11% 111M 8s 1800K .......... .......... .......... .......... .......... 12% 141M 7s 1850K .......... .......... .......... .......... .......... 12% 246M 7s 1900K .......... .......... .......... .......... .......... 12% 245M 7s 1950K .......... .......... .......... .......... .......... 13% 254M 7s 2000K .......... .......... .......... .......... .......... 13% 208M 7s 2050K .......... .......... .......... .......... .......... 13% 253M 6s 2100K .......... .......... .......... .......... .......... 14% 249M 6s 2150K .......... .......... .......... .......... .......... 14% 243M 6s 2200K .......... .......... .......... .......... .......... 14% 212M 6s 2250K .......... .......... .......... .......... .......... 15% 256M 6s 2300K .......... .......... .......... .......... .......... 15% 248M 6s 2350K .......... .......... .......... .......... .......... 15% 368K 6s 2400K .......... .......... .......... .......... .......... 16% 83.6M 6s 2450K .......... .......... .......... .......... .......... 16% 98.7M 6s 2500K .......... .......... .......... .......... .......... 16% 114M 6s 2550K .......... .......... .......... .......... .......... 17% 111M 6s 2600K .......... .......... .......... .......... .......... 17% 19.4M 6s 2650K .......... .......... .......... .......... .......... 17% 21.3M 5s 2700K .......... .......... .......... .......... .......... 18% 36.3M 5s 2750K .......... .......... .......... .......... .......... 18% 7.71M 5s 2800K .......... .......... .......... .......... .......... 18% 165M 5s 2850K .......... .......... .......... .......... .......... 19% 235M 5s 2900K .......... .......... .......... .......... .......... 19% 243M 5s 2950K .......... .......... .......... .......... .......... 19% 180M 5s 3000K .......... .......... .......... .......... .......... 20% 209M 5s 3050K .......... .......... .......... .......... .......... 20% 222M 5s 3100K .......... .......... .......... .......... .......... 20% 107M 4s 3150K .......... .......... .......... .......... .......... 21% 238M 4s 3200K .......... .......... .......... .......... .......... 21% 205M 4s 3250K .......... .......... .......... .......... .......... 21% 231M 4s 3300K .......... .......... .......... .......... .......... 22% 183M 4s 3350K .......... .......... .......... .......... .......... 22% 243M 4s 3400K .......... .......... .......... .......... .......... 22% 221M 4s 3450K .......... .......... .......... .......... .......... 23% 196M 4s 3500K .......... .......... .......... .......... .......... 23% 241M 4s 3550K .......... .......... .......... .......... .......... 23% 245M 4s 3600K .......... .......... .......... .......... .......... 24% 201M 4s 3650K .......... .......... .......... .......... .......... 24% 246M 4s 3700K .......... .......... .......... .......... .......... 24% 242M 4s 3750K .......... .......... .......... .......... .......... 25% 241M 4s 3800K .......... .......... .......... .......... .......... 25% 222M 3s 3850K .......... .......... .......... .......... .......... 25% 245M 3s 3900K .......... .......... .......... .......... .......... 26% 237M 3s 3950K .......... .......... .......... .......... .......... 26% 246M 3s 4000K .......... .......... .......... .......... .......... 26% 200M 3s 4050K .......... .......... .......... .......... .......... 27% 246M 3s 4100K .......... .......... .......... .......... .......... 27% 249M 3s 4150K .......... .......... .......... .......... .......... 27% 246M 3s 4200K .......... .......... .......... .......... .......... 28% 220M 3s 4250K .......... .......... .......... .......... .......... 28% 240M 3s 4300K .......... .......... .......... .......... .......... 28% 249M 3s 4350K .......... .......... .......... .......... .......... 29% 249M 3s 4400K .......... .......... .......... .......... .......... 29% 209M 3s 4450K .......... .......... .......... .......... .......... 29% 247M 3s 4500K .......... .......... .......... .......... .......... 30% 236M 3s 4550K .......... .......... .......... .......... .......... 30% 241M 3s 4600K .......... .......... .......... .......... .......... 30% 220M 3s 4650K .......... .......... .......... .......... .......... 31% 243M 3s 4700K .......... .......... .......... .......... .......... 31% 248M 3s 4750K .......... .......... .......... .......... .......... 31% 240M 3s 4800K .......... .......... .......... .......... .......... 32% 412K 3s 4850K .......... .......... .......... .......... .......... 32% 233M 3s 4900K .......... .......... .......... .......... .......... 32% 239M 3s 4950K .......... .......... .......... .......... .......... 33% 235M 3s 5000K .......... .......... .......... .......... .......... 33% 8.69M 3s 5050K .......... .......... .......... .......... .......... 33% 242M 3s 5100K .......... .......... .......... .......... .......... 34% 243M 3s 5150K .......... .......... .......... .......... .......... 34% 185M 3s 5200K .......... .......... .......... .......... .......... 34% 201M 2s 5250K .......... .......... .......... .......... .......... 35% 262M 2s 5300K .......... .......... .......... .......... .......... 35% 245M 2s 5350K .......... .......... .......... .......... .......... 35% 165M 2s 5400K .......... .......... .......... .......... .......... 36% 199M 2s 5450K .......... .......... .......... .......... .......... 36% 252M 2s 5500K .......... .......... .......... .......... .......... 36% 187M 2s 5550K .......... .......... .......... .......... .......... 37% 235M 2s 5600K .......... .......... .......... .......... .......... 37% 207M 2s 5650K .......... .......... .......... .......... .......... 37% 227M 2s 5700K .......... .......... .......... .......... .......... 38% 181M 2s 5750K .......... .......... .......... .......... .......... 38% 241M 2s 5800K .......... .......... .......... .......... .......... 38% 220M 2s 5850K .......... .......... .......... .......... .......... 39% 251M 2s 5900K .......... .......... .......... .......... .......... 39% 174M 2s 5950K .......... .......... .......... .......... .......... 39% 245M 2s 6000K .......... .......... .......... .......... .......... 40% 5.44M 2s 6050K .......... .......... .......... .......... .......... 40% 214M 2s 6100K .......... .......... .......... .......... .......... 40% 240M 2s 6150K .......... .......... .......... .......... .......... 41% 181M 2s 6200K .......... .......... .......... .......... .......... 41% 223M 2s 6250K .......... .......... .......... .......... .......... 41% 250M 2s 6300K .......... .......... .......... .......... .......... 42% 252M 2s 6350K .......... .......... .......... .......... .......... 42% 173M 2s 6400K .......... .......... .......... .......... .......... 42% 192M 2s 6450K .......... .......... .......... .......... .......... 43% 236M 2s 6500K .......... .......... .......... .......... .......... 43% 181M 2s 6550K .......... .......... .......... .......... .......... 43% 241M 2s 6600K .......... .......... .......... .......... .......... 44% 209M 2s 6650K .......... .......... .......... .......... .......... 44% 250M 2s 6700K .......... .......... .......... .......... .......... 44% 183M 2s 6750K .......... .......... .......... .......... .......... 45% 249M 2s 6800K .......... .......... .......... .......... .......... 45% 175M 2s 6850K .......... .......... .......... .......... .......... 45% 242M 2s 6900K .......... .......... .......... .......... .......... 46% 246M 2s 6950K .......... .......... .......... .......... .......... 46% 418K 2s 7000K .......... .......... .......... .......... .......... 46% 161M 2s 7050K .......... .......... .......... .......... .......... 47% 225M 2s 7100K .......... .......... .......... .......... .......... 47% 237M 2s 7150K .......... .......... .......... .......... .......... 47% 240M 2s 7200K .......... .......... .......... .......... .......... 48% 158M 2s 7250K .......... .......... .......... .......... .......... 48% 245M 2s 7300K .......... .......... .......... .......... .......... 48% 245M 2s 7350K .......... .......... .......... .......... .......... 49% 238M 2s 7400K .......... .......... .......... .......... .......... 49% 226M 1s 7450K .......... .......... .......... .......... .......... 49% 249M 1s 7500K .......... .......... .......... .......... .......... 50% 256M 1s 7550K .......... .......... .......... .......... .......... 50% 248M 1s 7600K .......... .......... .......... .......... .......... 50% 204M 1s 7650K .......... .......... .......... .......... .......... 51% 251M 1s 7700K .......... .......... .......... .......... .......... 51% 5.59M 1s 7750K .......... .......... .......... .......... .......... 51% 218M 1s 7800K .......... .......... .......... .......... .......... 52% 142M 1s 7850K .......... .......... .......... .......... .......... 52% 247M 1s 7900K .......... .......... .......... .......... .......... 52% 237M 1s 7950K .......... .......... .......... .......... .......... 53% 250M 1s 8000K .......... .......... .......... .......... .......... 53% 151M 1s 8050K .......... .......... .......... .......... .......... 53% 257M 1s 8100K .......... .......... .......... .......... .......... 54% 74.1M 1s 8150K .......... .......... .......... .......... .......... 54% 246M 1s 8200K .......... .......... .......... .......... .......... 54% 7.71M 1s 8250K .......... .......... .......... .......... .......... 55% 141M 1s 8300K .......... .......... .......... .......... .......... 55% 235M 1s 8350K .......... .......... .......... .......... .......... 55% 247M 1s 8400K .......... .......... .......... .......... .......... 56% 144M 1s 8450K .......... .......... .......... .......... .......... 56% 243M 1s 8500K .......... .......... .......... .......... .......... 56% 227M 1s 8550K .......... .......... .......... .......... .......... 57% 170M 1s 8600K .......... .......... .......... .......... .......... 57% 218M 1s 8650K .......... .......... .......... .......... .......... 57% 245M 1s 8700K .......... .......... .......... .......... .......... 58% 236M 1s 8750K .......... .......... .......... .......... .......... 58% 138M 1s 8800K .......... .......... .......... .......... .......... 58% 190M 1s 8850K .......... .......... .......... .......... .......... 59% 159M 1s 8900K .......... .......... .......... .......... .......... 59% 241M 1s 8950K .......... .......... .......... .......... .......... 59% 175M 1s 9000K .......... .......... .......... .......... .......... 60% 148M 1s 9050K .......... .......... .......... .......... .......... 60% 200M 1s 9100K .......... .......... .......... .......... .......... 60% 213M 1s 9150K .......... .......... .......... .......... .......... 61% 190M 1s 9200K .......... .......... .......... .......... .......... 61% 182M 1s 9250K .......... .......... .......... .......... .......... 61% 176M 1s 9300K .......... .......... .......... .......... .......... 62% 209M 1s 9350K .......... .......... .......... .......... .......... 62% 185M 1s 9400K .......... .......... .......... .......... .......... 62% 188M 1s 9450K .......... .......... .......... .......... .......... 63% 196M 1s 9500K .......... .......... .......... .......... .......... 63% 200M 1s 9550K .......... .......... .......... .......... .......... 63% 215M 1s 9600K .......... .......... .......... .......... .......... 64% 156M 1s 9650K .......... .......... .......... .......... .......... 64% 200M 1s 9700K .......... .......... .......... .......... .......... 64% 206M 1s 9750K .......... .......... .......... .......... .......... 65% 195M 1s 9800K .......... .......... .......... .......... .......... 65% 169M 1s 9850K .......... .......... .......... .......... .......... 65% 435K 1s 9900K .......... .......... .......... .......... .......... 66% 224M 1s 9950K .......... .......... .......... .......... .......... 66% 239M 1s 10000K .......... .......... .......... .......... .......... 66% 6.44M 1s 10050K .......... .......... .......... .......... .......... 67% 237M 1s 10100K .......... .......... .......... .......... .......... 67% 232M 1s 10150K .......... .......... .......... .......... .......... 67% 252M 1s 10200K .......... .......... .......... .......... .......... 68% 224M 1s 10250K .......... .......... .......... .......... .......... 68% 237M 1s 10300K .......... .......... .......... .......... .......... 68% 251M 1s 10350K .......... .......... .......... .......... .......... 69% 251M 1s 10400K .......... .......... .......... .......... .......... 69% 4.60M 1s 10450K .......... .......... .......... .......... .......... 69% 197M 1s 10500K .......... .......... .......... .......... .......... 70% 172M 1s 10550K .......... .......... .......... .......... .......... 70% 226M 1s 10600K .......... .......... .......... .......... .......... 70% 227M 1s 10650K .......... .......... .......... .......... .......... 71% 248M 1s 10700K .......... .......... .......... .......... .......... 71% 216M 1s 10750K .......... .......... .......... .......... .......... 71% 184M 1s 10800K .......... .......... .......... .......... .......... 72% 192M 1s 10850K .......... .......... .......... .......... .......... 72% 244M 1s 10900K .......... .......... .......... .......... .......... 72% 247M 1s 10950K .......... .......... .......... .......... .......... 73% 243M 1s 11000K .......... .......... .......... .......... .......... 73% 215M 1s 11050K .......... .......... .......... .......... .......... 73% 192M 1s 11100K .......... .......... .......... .......... .......... 74% 199M 1s 11150K .......... .......... .......... .......... .......... 74% 225M 1s 11200K .......... .......... .......... .......... .......... 74% 199M 1s 11250K .......... .......... .......... .......... .......... 75% 171M 1s 11300K .......... .......... .......... .......... .......... 75% 180M 1s 11350K .......... .......... .......... .......... .......... 75% 208M 1s 11400K .......... .......... .......... .......... .......... 76% 184M 1s 11450K .......... .......... .......... .......... .......... 76% 187M 0s 11500K .......... .......... .......... .......... .......... 76% 203M 0s 11550K .......... .......... .......... .......... .......... 77% 193M 0s 11600K .......... .......... .......... .......... .......... 77% 193M 0s 11650K .......... .......... .......... .......... .......... 77% 203M 0s 11700K .......... .......... .......... .......... .......... 78% 214M 0s 11750K .......... .......... .......... .......... .......... 78% 207M 0s 11800K .......... .......... .......... .......... .......... 78% 192M 0s 11850K .......... .......... .......... .......... .......... 79% 5.21M 0s 11900K .......... .......... .......... .......... .......... 79% 241M 0s 11950K .......... .......... .......... .......... .......... 79% 237M 0s 12000K .......... .......... .......... .......... .......... 80% 193M 0s 12050K .......... .......... .......... .......... .......... 80% 249M 0s 12100K .......... .......... .......... .......... .......... 80% 244M 0s 12150K .......... .......... .......... .......... .......... 81% 238M 0s 12200K .......... .......... .......... .......... .......... 81% 223M 0s 12250K .......... .......... .......... .......... .......... 81% 253M 0s 12300K .......... .......... .......... .......... .......... 82% 241M 0s 12350K .......... .......... .......... .......... .......... 82% 257M 0s 12400K .......... .......... .......... .......... .......... 82% 211M 0s 12450K .......... .......... .......... .......... .......... 83% 239M 0s 12500K .......... .......... .......... .......... .......... 83% 253M 0s 12550K .......... .......... .......... .......... .......... 83% 217M 0s 12600K .......... .......... .......... .......... .......... 84% 219M 0s 12650K .......... .......... .......... .......... .......... 84% 250M 0s 12700K .......... .......... .......... .......... .......... 84% 242M 0s 12750K .......... .......... .......... .......... .......... 85% 248M 0s 12800K .......... .......... .......... .......... .......... 85% 181M 0s 12850K .......... .......... .......... .......... .......... 85% 237M 0s 12900K .......... .......... .......... .......... .......... 86% 464K 0s 12950K .......... .......... .......... .......... .......... 86% 6.21M 0s 13000K .......... .......... .......... .......... .......... 86% 215M 0s 13050K .......... .......... .......... .......... .......... 87% 233M 0s 13100K .......... .......... .......... .......... .......... 87% 241M 0s 13150K .......... .......... .......... .......... .......... 87% 241M 0s 13200K .......... .......... .......... .......... .......... 88% 6.77M 0s 13250K .......... .......... .......... .......... .......... 88% 239M 0s 13300K .......... .......... .......... .......... .......... 88% 247M 0s 13350K .......... .......... .......... .......... .......... 89% 240M 0s 13400K .......... .......... .......... .......... .......... 89% 210M 0s 13450K .......... .......... .......... .......... .......... 89% 6.93M 0s 13500K .......... .......... .......... .......... .......... 90% 193M 0s 13550K .......... .......... .......... .......... .......... 90% 175M 0s 13600K .......... .......... .......... .......... .......... 90% 161M 0s 13650K .......... .......... .......... .......... .......... 91% 203M 0s 13700K .......... .......... .......... .......... .......... 91% 207M 0s 13750K .......... .......... .......... .......... .......... 91% 211M 0s 13800K .......... .......... .......... .......... .......... 92% 178M 0s 13850K .......... .......... .......... .......... .......... 92% 206M 0s 13900K .......... .......... .......... .......... .......... 92% 209M 0s 13950K .......... .......... .......... .......... .......... 93% 199M 0s 14000K .......... .......... .......... .......... .......... 93% 171M 0s 14050K .......... .......... .......... .......... .......... 93% 220M 0s 14100K .......... .......... .......... .......... .......... 94% 121M 0s 14150K .......... .......... .......... .......... .......... 94% 205M 0s 14200K .......... .......... .......... .......... .......... 94% 186M 0s 14250K .......... .......... .......... .......... .......... 95% 179M 0s 14300K .......... .......... .......... .......... .......... 95% 225M 0s 14350K .......... .......... .......... .......... .......... 95% 197M 0s 14400K .......... .......... .......... .......... .......... 96% 177M 0s 14450K .......... .......... .......... .......... .......... 96% 190M 0s 14500K .......... .......... .......... .......... .......... 96% 213M 0s 14550K .......... .......... .......... .......... .......... 97% 193M 0s 14600K .......... .......... .......... .......... .......... 97% 182M 0s 14650K .......... .......... .......... .......... .......... 97% 218M 0s 14700K .......... .......... .......... .......... .......... 98% 208M 0s 14750K .......... .......... .......... .......... .......... 98% 197M 0s 14800K .......... .......... .......... .......... .......... 98% 184M 0s 14850K .......... .......... .......... .......... .......... 99% 209M 0s 14900K .......... .......... .......... .......... .......... 99% 229M 0s 14950K .......... .......... .......... .......... .......... 99% 19.8M 0s 15000K .......... 100% 172M=1.8s 2021-08-04 02:27:06 (8.18 MB/s) - '/tmp/instance-6/output-1/build/.mesa-21.1.6.tar.xz.vL7utj/output' saved [15371108/15371108] mesa-21.1.6.tar.xz: OK (sha256: b1cb0122f911dfa9fe1f209a7061378c61a1448a280e711511ca72dad9999e37) mesa-21.1.6.tar.xz: OK (sha512: 5daf389aad4fe7ab3574f6af3aabc62ba8b3034004a0a0853dcc18ef6c8003d2f2195cc377dc57b30863ae4cf158149e3156247445ca2b11e401700011cb878c) >>> mesa3d 21.1.6 Extracting xzcat /tmp/instance-6/dl/mesa3d/mesa-21.1.6.tar.xz | tar --strip-components=1 -C /tmp/instance-6/output-1/build/mesa3d-21.1.6 -xf - >>> mesa3d 21.1.6 Patching Applying 0001-c99_math-import-isinf-for-uclibc-based-toolchains.patch using patch: patching file include/c99_math.h Applying 0002-meson-Set-proper-value-for-LIBCLC_INCLUDEDIR.patch using patch: patching file src/gallium/frontends/clover/meson.build Applying 0003-vc4-add-meson-option-to-disable-optional-neon-suppor.patch using patch: patching file meson_options.txt Hunk #1 succeeded at 133 (offset 10 lines). patching file src/gallium/drivers/vc4/meson.build patching file src/gallium/drivers/vc4/vc4_tiling.h Applying 0004-src-util-rand_xor-Include-stddef.h-to-fix-build-erro.patch using patch: patching file src/util/rand_xor.c >>> mesa3d 21.1.6 Configuring rm -rf /tmp/instance-6/output-1/build/mesa3d-21.1.6//build mkdir -p /tmp/instance-6/output-1/build/mesa3d-21.1.6//build sed -e 's%@TARGET_CROSS@%/tmp/instance-6/output-1/host/bin/riscv32-linux-%g' -e 's%@TARGET_ARCH@%riscv64%g' -e 's%@TARGET_CPU@%%g' -e 's%@TARGET_ENDIAN@%little%g' -e "s%@TARGET_CFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1'%g" -e "s%@TARGET_LDFLAGS@%%g" -e "s%@TARGET_CXXFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1'%g" -e 's%@HOST_DIR@%/tmp/instance-6/output-1/host%g' -e 's%@STAGING_DIR@%/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot%g' -e 's%@STATIC@%false%g' -e "/^\[binaries\]$/s:$::" -e "/^\[properties\]$/s:$::" package/meson/cross-compilation.conf.in > /tmp/instance-6/output-1/build/mesa3d-21.1.6//build/cross-compilation.conf PATH="/tmp/instance-6/output-1/host/bin:/tmp/instance-6/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" CC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" PYTHONNOUSERSITE=y /tmp/instance-6/output-1/host/bin/meson --prefix=/usr --libdir=lib --default-library=shared --buildtype=release --cross-file=/tmp/instance-6/output-1/build/mesa3d-21.1.6//build/cross-compilation.conf -Db_pie=false -Dstrip=false -Dbuild.pkg_config_path=/tmp/instance-6/output-1/host/lib/pkgconfig -Dgallium-omx=disabled -Dpower8=disabled -Dllvm=disabled -Dgallium-opencl=disabled -Dglx=disabled -Dgallium-xa=disabled -Dgallium-vc4-neon=disabled -Dshared-glapi=enabled -Dgallium-drivers=etnaviv,nouveau,tegra -Dgallium-extra-hud=true -Ddri-drivers= -Ddri3=disabled -Dvulkan-drivers= -Dosmesa=false -Dopengl=true -Dgallium-va=disabled -Dplatforms= -Dgbm=disabled -Degl=disabled -Dgles1=disabled -Dgles2=disabled -Dgallium-xvmc=disabled -Dvalgrind=disabled -Dlibunwind=disabled -Dgallium-vdpau=disabled -Dlmsensors=disabled -Dzstd=disabled /tmp/instance-6/output-1/build/mesa3d-21.1.6/ /tmp/instance-6/output-1/build/mesa3d-21.1.6//build The Meson build system Version: 0.58.2 Source dir: /tmp/instance-6/output-1/build/mesa3d-21.1.6 Build dir: /tmp/instance-6/output-1/build/mesa3d-21.1.6/build Build type: cross build Program python found: YES (/tmp/instance-6/output-1/host/bin/python) Project name: mesa Project version: 21.1.6 C compiler for the host machine: /tmp/instance-6/output-1/host/bin/riscv32-linux-gcc (gcc 10.2.0 "riscv32-linux-gcc.br_real (Buildroot 2020.08-14-ge5a2a90) 10.2.0") C linker for the host machine: /tmp/instance-6/output-1/host/bin/riscv32-linux-gcc ld.bfd 2.34 C++ compiler for the host machine: /tmp/instance-6/output-1/host/bin/riscv32-linux-g++ (gcc 10.2.0 "riscv32-linux-g++.br_real (Buildroot 2020.08-14-ge5a2a90) 10.2.0") C++ linker for the host machine: /tmp/instance-6/output-1/host/bin/riscv32-linux-g++ ld.bfd 2.34 C compiler for the build machine: /usr/bin/gcc (gcc 9.3.0 "gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0") C linker for the build machine: /usr/bin/gcc ld.bfd 2.34 C++ compiler for the build machine: /usr/bin/g++ (gcc 9.3.0 "g++ (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0") C++ linker for the build machine: /usr/bin/g++ ld.bfd 2.34 Build machine cpu family: x86_64 Build machine cpu: x86_64 Host machine cpu family: riscv64 Host machine cpu: Target machine cpu family: riscv64 Target machine cpu: Found CMake: NO Run-time dependency clang found: NO (tried cmake) Program python3 found: YES (/tmp/instance-6/output-1/host/bin/python3) Fetching value of define "ETIME" : 62 Checking for function "bswap32" : YES Checking for function "bswap64" : YES Checking for function "clz" : YES Checking for function "clzll" : YES Checking for function "ctz" : YES Checking for function "expect" : YES Checking for function "ffs" : YES Checking for function "ffsll" : YES Checking for function "popcount" : YES Checking for function "popcountll" : YES Checking for function "unreachable" : YES Checking for function "types_compatible_p" : YES Compiler for C supports function attribute const: YES Compiler for C supports function attribute flatten: YES Compiler for C supports function attribute malloc: YES Compiler for C supports function attribute pure: YES Compiler for C supports function attribute unused: YES Compiler for C supports function attribute warn_unused_result: YES Compiler for C supports function attribute weak: YES Compiler for C supports function attribute format: YES Compiler for C supports function attribute packed: YES Compiler for C supports function attribute returns_nonnull: YES Compiler for C supports function attribute alias: YES Compiler for C supports function attribute noreturn: YES Compiler for C supports function attribute visibility:hidden: YES Checking if "__uint128_t" compiles: NO Compiler for C supports arguments -Werror=implicit-function-declaration: YES Compiler for C supports arguments -Werror=missing-prototypes: YES Compiler for C supports arguments -Werror=return-type: YES Compiler for C supports arguments -Werror=empty-body: YES Compiler for C supports arguments -Werror=incompatible-pointer-types: YES Compiler for C supports arguments -Werror=int-conversion: YES Compiler for C supports arguments -Wimplicit-fallthrough: YES Compiler for C supports arguments -Werror=thread-safety: NO Compiler for C supports arguments -Wno-missing-field-initializers: YES Compiler for C supports arguments -Wno-format-truncation: YES Compiler for C supports arguments -fno-math-errno: YES Compiler for C supports arguments -fno-trapping-math: YES Compiler for C supports arguments -Qunused-arguments: NO Compiler for C supports arguments -fno-common: YES Compiler for C supports arguments -Werror=format: YES Compiler for C supports arguments -Wformat-security: YES Compiler for C++ supports arguments -Werror=return-type: YES Compiler for C++ supports arguments -Werror=empty-body: YES Compiler for C++ supports arguments -Wno-non-virtual-dtor: YES Compiler for C++ supports arguments -Wno-missing-field-initializers: YES Compiler for C++ supports arguments -Wno-format-truncation: YES Compiler for C++ supports arguments -fno-math-errno: YES Compiler for C++ supports arguments -fno-trapping-math: YES Compiler for C++ supports arguments -Qunused-arguments: NO Compiler for C++ supports arguments -flifetime-dse=1: YES Compiler for C++ supports arguments -Werror=format: YES Compiler for C++ supports arguments -Wformat-security: YES Compiler for C supports arguments -Wno-override-init: YES Compiler for C supports arguments -Wno-initializer-overrides: NO Compiler for C supports arguments -Werror=pointer-arith: YES Compiler for C++ supports arguments -Werror=pointer-arith: YES Compiler for C supports arguments -Werror=gnu-empty-initializer: NO Compiler for C++ supports arguments -Werror=gnu-empty-initializer: NO Compiler for C supports arguments -Wmicrosoft-enum-value: NO Checking if "GCC atomic builtins" compiles: YES Checking if "GCC atomic builtins required -latomic" links: NO Library atomic found: YES Checking if "GCC 64bit atomics" with dependency -latomic links: NO Library ws2_32 found: NO Header has symbol "major" : YES Header has symbol "minor" : YES Header has symbol "makedev" : YES Header has symbol "major" : NO Check usable header "xlocale.h" : NO Check usable header "linux/futex.h" : YES Check usable header "endian.h" : YES Check usable header "dlfcn.h" : YES Check usable header "execinfo.h" : YES Check usable header "sys/shm.h" : YES Check usable header "cet.h" : NO Check usable header "pthread_np.h" : NO Checking for function "strtof" : YES Checking for function "mkostemp" : YES Checking for function "timespec_get" : YES Checking for function "memfd_create" : YES Checking for function "random_r" : YES Checking for function "flock" : YES Checking for function "strtok_r" : YES Checking for function "getrandom" : YES Header has symbol "program_invocation_name" : YES Checking for function "posix_memalign" : YES Checking whether type "struct dirent" has member "d_type" : YES Checking if "strtod has locale support" links: YES Checking if "Bsymbolic" links: YES Checking if "gc-sections" links: YES Checking if "version-script" links: YES Checking if "dynamic-list" links: YES Compiler for C supports link arguments -Wl,--build-id=sha1: YES Checking for function "dlopen" : NO Library dl found: YES Checking for function "dladdr" with dependency -ldl: YES Checking for function "dl_iterate_phdr" : YES Checking for function "clock_gettime" : YES Found pkg-config: /tmp/instance-6/output-1/host/bin/pkgconf (1.6.3) Run-time dependency zlib found: YES 1.2.11 Run-time dependency threads found: YES Checking for function "pthread_setaffinity_np" with dependency threads: YES Run-time dependency expat found: YES 2.4.1 Library m found: YES Message: libdrm 2.4.102 needed because nouveau has the highest requirement Run-time dependency libdrm_nouveau found: YES 2.4.107 Run-time dependency libdrm found: YES 2.4.107 Program bison found: YES (/tmp/instance-6/output-1/host/bin/bison) Program bison found: YES 3.7.6 (/tmp/instance-6/output-1/host/bin/bison) Program flex found: YES (/tmp/instance-6/output-1/host/bin/flex) Compiler for C supports link arguments -Wl,--gc-sections: YES Compiler for C supports arguments -ffunction-sections: YES Compiler for C supports arguments -fdata-sections: YES Program nm found: YES (/usr/bin/nm) Program symbols-check.py found: YES (/usr/bin/env python /tmp/instance-6/output-1/build/mesa3d-21.1.6/bin/symbols-check.py) Program install_megadrivers.py found: YES (/tmp/instance-6/output-1/host/bin/python3 /tmp/instance-6/output-1/build/mesa3d-21.1.6/bin/install_megadrivers.py) Message: Configuration summary: prefix: /usr libdir: lib includedir: include OpenGL: yes (ES1: no ES2: no) OSMesa: no EGL: no GBM: no Vulkan drivers: no llvm: no Gallium drivers: etnaviv nouveau tegra Gallium st: mesa HUD lmsensors: no Shared-glapi: yes Build targets in project: 102 Option buildtype is: release [default: debugoptimized] Found ninja-1.10.2 at /tmp/instance-6/output-1/host/bin/ninja >>> mesa3d 21.1.6 Building PATH="/tmp/instance-6/output-1/host/bin:/tmp/instance-6/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" PYTHONNOUSERSITE=y /tmp/instance-6/output-1/host/bin/ninja -j96 -C /tmp/instance-6/output-1/build/mesa3d-21.1.6//build ninja: Entering directory `/tmp/instance-6/output-1/build/mesa3d-21.1.6//build' [1/176] Generating git_sha1.h with a custom command [2/176] Generating nir_intrinsics_indices.h with a custom command [3/176] Generating nir_intrinsics.h with a custom command [4/176] Compiling C object src/gallium/winsys/kmsro/drm/libkmsrowinsys.a.p/kmsro_drm_winsys.c.o [5/176] Compiling C object src/gallium/winsys/tegra/drm/libtegradrm.a.p/tegra_drm_winsys.c.o [6/176] Linking static target src/gallium/winsys/kmsro/drm/libkmsrowinsys.a [7/176] Linking static target src/gallium/winsys/tegra/drm/libtegradrm.a [8/176] Compiling C object src/gallium/winsys/nouveau/drm/libnouveauwinsys.a.p/nouveau_drm_winsys.c.o [9/176] Linking static target src/gallium/winsys/nouveau/drm/libnouveauwinsys.a [10/176] Compiling C object src/gallium/drivers/tegra/libtegra.a.p/tegra_screen.c.o [11/176] Compiling C object src/gallium/drivers/tegra/libtegra.a.p/tegra_context.c.o [12/176] Linking static target src/gallium/drivers/tegra/libtegra.a [13/176] Generating nir_opcodes.h with a custom command (wrapped by meson to capture output) [14/176] Generating nir_builder_opcodes.h with a custom command (wrapped by meson to capture output) [15/176] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_qmdc0c0.c.o [16/176] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_qmdc3c0.c.o [17/176] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nouveau_fence.c.o [18/176] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nouveau_heap.c.o [19/176] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nouveau_mm.c.o [20/176] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nouveau_vp3_video_bsp.c.o [21/176] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nouveau_vp3_video.c.o [22/176] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nouveau_vp3_video_vp.c.o [23/176] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_screen.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_screen.c.o /tmp/instance-6/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_screen.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_screen.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_screen.c.o -c ../src/gallium/drivers/nouveau/nv50/nv50_screen.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:42, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv50/nv50_winsys.h:11, from ../src/gallium/drivers/nouveau/nv50/nv50_context.h:13, from ../src/gallium/drivers/nouveau/nv50/nv50_screen.c:32: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [24/176] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_shader_state.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_shader_state.c.o /tmp/instance-6/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_shader_state.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_shader_state.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_shader_state.c.o -c ../src/gallium/drivers/nouveau/nv50/nv50_shader_state.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:42, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv50/nv50_winsys.h:11, from ../src/gallium/drivers/nouveau/nv50/nv50_context.h:13, from ../src/gallium/drivers/nouveau/nv50/nv50_shader_state.c:29: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [25/176] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_query_hw_sm.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_query_hw_sm.c.o /tmp/instance-6/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_query_hw_sm.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_query_hw_sm.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_query_hw_sm.c.o -c ../src/gallium/drivers/nouveau/nv50/nv50_query_hw_sm.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:42, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv50/nv50_winsys.h:11, from ../src/gallium/drivers/nouveau/nv50/nv50_context.h:13, from ../src/gallium/drivers/nouveau/nv50/nv50_query_hw_sm.c:25: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [26/176] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_compute.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_compute.c.o /tmp/instance-6/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_compute.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_compute.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_compute.c.o -c ../src/gallium/drivers/nouveau/nvc0/nvc0_compute.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:42, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nvc0/nvc0_winsys.h:11, from ../src/gallium/drivers/nouveau/nvc0/nvc0_context.h:14, from ../src/gallium/drivers/nouveau/nvc0/nvc0_compute.c:25: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in ../src/util/futex.h:40:1: error: control reaches end of non-void function [-Werror=return-type] 40 | } | ^ cc1: some warnings being treated as errors [27/176] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_query_hw_metric.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_query_hw_metric.c.o /tmp/instance-6/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_query_hw_metric.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_query_hw_metric.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_query_hw_metric.c.o -c ../src/gallium/drivers/nouveau/nv50/nv50_query_hw_metric.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:42, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv50/nv50_winsys.h:11, from ../src/gallium/drivers/nouveau/nv50/nv50_context.h:13, from ../src/gallium/drivers/nouveau/nv50/nv50_query_hw_metric.c:23: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [28/176] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nouveau_buffer.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nouveau_buffer.c.o /tmp/instance-6/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nouveau_buffer.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nouveau_buffer.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nouveau_buffer.c.o -c ../src/gallium/drivers/nouveau/nouveau_buffer.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:42, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nouveau_buffer.c:11: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in ../src/util/futex.h:40:1: error: control reaches end of non-void function [-Werror=return-type] 40 | } | ^ cc1: some warnings being treated as errors [29/176] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nouveau_screen.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nouveau_screen.c.o /tmp/instance-6/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nouveau_screen.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nouveau_screen.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nouveau_screen.c.o -c ../src/gallium/drivers/nouveau/nouveau_screen.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:42, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nouveau_screen.c:26: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [30/176] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nouveau_video.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nouveau_video.c.o /tmp/instance-6/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nouveau_video.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nouveau_video.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nouveau_video.c.o -c ../src/gallium/drivers/nouveau/nouveau_video.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:42, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nouveau_video.c:30: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [31/176] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_clear.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_clear.c.o /tmp/instance-6/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_clear.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_clear.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_clear.c.o -c ../src/gallium/drivers/nouveau/nv30/nv30_clear.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:42, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv30/nv30_winsys.h:6, from ../src/gallium/drivers/nouveau/nv30/nv30_screen.h:12, from ../src/gallium/drivers/nouveau/nv30/nv30_context.h:7, from ../src/gallium/drivers/nouveau/nv30/nv30_clear.c:32: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [32/176] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_context.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_context.c.o /tmp/instance-6/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_context.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_context.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_context.c.o -c ../src/gallium/drivers/nouveau/nv30/nv30_context.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:42, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv30/nv30_winsys.h:6, from ../src/gallium/drivers/nouveau/nv30/nv30_screen.h:12, from ../src/gallium/drivers/nouveau/nv30/nv30_context.h:7, from ../src/gallium/drivers/nouveau/nv30/nv30_context.c:33: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [33/176] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_draw.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_draw.c.o /tmp/instance-6/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_draw.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_draw.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_draw.c.o -c ../src/gallium/drivers/nouveau/nv30/nv30_draw.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:42, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv30/nv30_winsys.h:6, from ../src/gallium/drivers/nouveau/nv30/nv30_screen.h:12, from ../src/gallium/drivers/nouveau/nv30/nv30_context.h:7, from ../src/gallium/drivers/nouveau/nv30/nv30_draw.c:34: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [34/176] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_format.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_format.c.o /tmp/instance-6/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_format.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_format.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_format.c.o -c ../src/gallium/drivers/nouveau/nv30/nv30_format.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:42, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv30/nv30_winsys.h:6, from ../src/gallium/drivers/nouveau/nv30/nv30_screen.h:12, from ../src/gallium/drivers/nouveau/nv30/nv30_context.h:7, from ../src/gallium/drivers/nouveau/nv30/nv30_format.c:27: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [35/176] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_fragprog.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_fragprog.c.o /tmp/instance-6/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_fragprog.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_fragprog.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_fragprog.c.o -c ../src/gallium/drivers/nouveau/nv30/nv30_fragprog.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:42, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv30/nv30_winsys.h:6, from ../src/gallium/drivers/nouveau/nv30/nv30_screen.h:12, from ../src/gallium/drivers/nouveau/nv30/nv30_context.h:7, from ../src/gallium/drivers/nouveau/nv30/nv30_fragprog.c:31: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [36/176] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_fragtex.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_fragtex.c.o /tmp/instance-6/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_fragtex.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_fragtex.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_fragtex.c.o -c ../src/gallium/drivers/nouveau/nv30/nv30_fragtex.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:42, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv30/nv30_winsys.h:6, from ../src/gallium/drivers/nouveau/nv30/nv30_screen.h:12, from ../src/gallium/drivers/nouveau/nv30/nv30_context.h:7, from ../src/gallium/drivers/nouveau/nv30/nv30_fragtex.c:30: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [37/176] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_miptree.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_miptree.c.o /tmp/instance-6/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_miptree.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_miptree.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_miptree.c.o -c ../src/gallium/drivers/nouveau/nv30/nv30_miptree.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:42, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv30/nv30_winsys.h:6, from ../src/gallium/drivers/nouveau/nv30/nv30_screen.h:12, from ../src/gallium/drivers/nouveau/nv30/nv30_miptree.c:32: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [38/176] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_push.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_push.c.o /tmp/instance-6/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_push.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_push.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_push.c.o -c ../src/gallium/drivers/nouveau/nv30/nv30_push.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:42, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv30/nv30_winsys.h:6, from ../src/gallium/drivers/nouveau/nv30/nv30_screen.h:12, from ../src/gallium/drivers/nouveau/nv30/nv30_context.h:7, from ../src/gallium/drivers/nouveau/nv30/nv30_push.c:34: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [39/176] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_query.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_query.c.o /tmp/instance-6/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_query.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_query.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_query.c.o -c ../src/gallium/drivers/nouveau/nv30/nv30_query.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:42, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv30/nv30_winsys.h:6, from ../src/gallium/drivers/nouveau/nv30/nv30_screen.h:12, from ../src/gallium/drivers/nouveau/nv30/nv30_query.c:28: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [40/176] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_resource.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_resource.c.o /tmp/instance-6/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_resource.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_resource.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_resource.c.o -c ../src/gallium/drivers/nouveau/nv30/nv30_resource.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:42, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv30/nv30_winsys.h:6, from ../src/gallium/drivers/nouveau/nv30/nv30_screen.h:12, from ../src/gallium/drivers/nouveau/nv30/nv30_resource.c:29: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [41/176] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_screen.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_screen.c.o /tmp/instance-6/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_screen.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_screen.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_screen.c.o -c ../src/gallium/drivers/nouveau/nv30/nv30_screen.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:42, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv30/nv30_winsys.h:6, from ../src/gallium/drivers/nouveau/nv30/nv30_screen.h:12, from ../src/gallium/drivers/nouveau/nv30/nv30_screen.c:38: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [42/176] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_state.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_state.c.o /tmp/instance-6/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_state.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_state.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_state.c.o -c ../src/gallium/drivers/nouveau/nv30/nv30_state.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:42, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv30/nv30_winsys.h:6, from ../src/gallium/drivers/nouveau/nv30/nv30_screen.h:12, from ../src/gallium/drivers/nouveau/nv30/nv30_context.h:7, from ../src/gallium/drivers/nouveau/nv30/nv30_state.c:33: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [43/176] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_state_validate.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_state_validate.c.o /tmp/instance-6/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_state_validate.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_state_validate.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_state_validate.c.o -c ../src/gallium/drivers/nouveau/nv30/nv30_state_validate.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:42, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv30/nv30_winsys.h:6, from ../src/gallium/drivers/nouveau/nv30/nv30_screen.h:12, from ../src/gallium/drivers/nouveau/nv30/nv30_context.h:7, from ../src/gallium/drivers/nouveau/nv30/nv30_state_validate.c:32: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [44/176] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_texture.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_texture.c.o /tmp/instance-6/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_texture.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_texture.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_texture.c.o -c ../src/gallium/drivers/nouveau/nv30/nv30_texture.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:42, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv30/nv30_winsys.h:6, from ../src/gallium/drivers/nouveau/nv30/nv30_screen.h:12, from ../src/gallium/drivers/nouveau/nv30/nv30_context.h:7, from ../src/gallium/drivers/nouveau/nv30/nv30_texture.c:31: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [45/176] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_transfer.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_transfer.c.o /tmp/instance-6/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_transfer.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_transfer.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_transfer.c.o -c ../src/gallium/drivers/nouveau/nv30/nv30_transfer.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:42, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv30/nv30_winsys.h:6, from ../src/gallium/drivers/nouveau/nv30/nv30_screen.h:12, from ../src/gallium/drivers/nouveau/nv30/nv30_context.h:7, from ../src/gallium/drivers/nouveau/nv30/nv30_transfer.c:37: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [46/176] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_vbo.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_vbo.c.o /tmp/instance-6/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_vbo.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_vbo.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_vbo.c.o -c ../src/gallium/drivers/nouveau/nv30/nv30_vbo.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:42, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv30/nv30_winsys.h:6, from ../src/gallium/drivers/nouveau/nv30/nv30_screen.h:12, from ../src/gallium/drivers/nouveau/nv30/nv30_context.h:7, from ../src/gallium/drivers/nouveau/nv30/nv30_vbo.c:35: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [47/176] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_vertprog.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_vertprog.c.o /tmp/instance-6/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_vertprog.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_vertprog.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_vertprog.c.o -c ../src/gallium/drivers/nouveau/nv30/nv30_vertprog.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:42, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv30/nv30_winsys.h:6, from ../src/gallium/drivers/nouveau/nv30/nv30_screen.h:12, from ../src/gallium/drivers/nouveau/nv30/nv30_context.h:7, from ../src/gallium/drivers/nouveau/nv30/nv30_vertprog.c:32: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [48/176] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv40_verttex.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv40_verttex.c.o /tmp/instance-6/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv40_verttex.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv40_verttex.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv40_verttex.c.o -c ../src/gallium/drivers/nouveau/nv30/nv40_verttex.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:42, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv30/nv30_winsys.h:6, from ../src/gallium/drivers/nouveau/nv30/nv30_screen.h:12, from ../src/gallium/drivers/nouveau/nv30/nv30_context.h:7, from ../src/gallium/drivers/nouveau/nv30/nv40_verttex.c:27: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [49/176] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_compute.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_compute.c.o /tmp/instance-6/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_compute.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_compute.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_compute.c.o -c ../src/gallium/drivers/nouveau/nv50/nv50_compute.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:42, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv50/nv50_winsys.h:11, from ../src/gallium/drivers/nouveau/nv50/nv50_context.h:13, from ../src/gallium/drivers/nouveau/nv50/nv50_compute.c:28: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in ../src/util/futex.h:40:1: error: control reaches end of non-void function [-Werror=return-type] 40 | } | ^ cc1: some warnings being treated as errors [50/176] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_context.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_context.c.o /tmp/instance-6/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_context.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_context.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_context.c.o -c ../src/gallium/drivers/nouveau/nv50/nv50_context.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:42, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv50/nv50_winsys.h:11, from ../src/gallium/drivers/nouveau/nv50/nv50_context.h:13, from ../src/gallium/drivers/nouveau/nv50/nv50_context.c:27: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [51/176] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_formats.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_formats.c.o /tmp/instance-6/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_formats.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_formats.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_formats.c.o -c ../src/gallium/drivers/nouveau/nv50/nv50_formats.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:42, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv50/nv50_winsys.h:11, from ../src/gallium/drivers/nouveau/nv50/nv50_screen.h:9, from ../src/gallium/drivers/nouveau/nv50/nv50_formats.c:28: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [52/176] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_miptree.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_miptree.c.o /tmp/instance-6/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_miptree.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_miptree.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_miptree.c.o -c ../src/gallium/drivers/nouveau/nv50/nv50_miptree.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:42, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv50/nv50_winsys.h:11, from ../src/gallium/drivers/nouveau/nv50/nv50_context.h:13, from ../src/gallium/drivers/nouveau/nv50/nv50_miptree.c:28: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [53/176] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_program.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_program.c.o /tmp/instance-6/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_program.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_program.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_program.c.o -c ../src/gallium/drivers/nouveau/nv50/nv50_program.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:42, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv50/nv50_winsys.h:11, from ../src/gallium/drivers/nouveau/nv50/nv50_context.h:13, from ../src/gallium/drivers/nouveau/nv50/nv50_program.c:28: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [54/176] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_push.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_push.c.o /tmp/instance-6/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_push.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_push.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_push.c.o -c ../src/gallium/drivers/nouveau/nv50/nv50_push.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:42, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv50/nv50_winsys.h:11, from ../src/gallium/drivers/nouveau/nv50/nv50_context.h:13, from ../src/gallium/drivers/nouveau/nv50/nv50_push.c:8: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [55/176] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_query.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_query.c.o /tmp/instance-6/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_query.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_query.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_query.c.o -c ../src/gallium/drivers/nouveau/nv50/nv50_query.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:42, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv50/nv50_winsys.h:11, from ../src/gallium/drivers/nouveau/nv50/nv50_context.h:13, from ../src/gallium/drivers/nouveau/nv50/nv50_query.c:27: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [56/176] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_query_hw.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_query_hw.c.o /tmp/instance-6/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_query_hw.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_query_hw.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_query_hw.c.o -c ../src/gallium/drivers/nouveau/nv50/nv50_query_hw.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:42, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv50/nv50_winsys.h:11, from ../src/gallium/drivers/nouveau/nv50/nv50_context.h:13, from ../src/gallium/drivers/nouveau/nv50/nv50_query_hw.c:26: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [57/176] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_resource.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_resource.c.o /tmp/instance-6/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_resource.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_resource.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_resource.c.o -c ../src/gallium/drivers/nouveau/nv50/nv50_resource.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:42, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv50/nv50_resource.h:9, from ../src/gallium/drivers/nouveau/nv50/nv50_resource.c:8: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [58/176] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_state.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_state.c.o /tmp/instance-6/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_state.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_state.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_state.c.o -c ../src/gallium/drivers/nouveau/nv50/nv50_state.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:42, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv50/nv50_winsys.h:11, from ../src/gallium/drivers/nouveau/nv50/nv50_context.h:13, from ../src/gallium/drivers/nouveau/nv50/nv50_state.c:34: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:42, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv50/nv50_winsys.h:11, from ../src/gallium/drivers/nouveau/nv50/nv50_context.h:13, from ../src/gallium/drivers/nouveau/nv50/nv50_state.c:34: ../src/util/futex.h:40:1: error: control reaches end of non-void function [-Werror=return-type] 40 | } | ^ cc1: some warnings being treated as errors [59/176] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_state_validate.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_state_validate.c.o /tmp/instance-6/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_state_validate.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_state_validate.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_state_validate.c.o -c ../src/gallium/drivers/nouveau/nv50/nv50_state_validate.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:42, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv50/nv50_winsys.h:11, from ../src/gallium/drivers/nouveau/nv50/nv50_context.h:13, from ../src/gallium/drivers/nouveau/nv50/nv50_state_validate.c:4: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [60/176] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_surface.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_surface.c.o /tmp/instance-6/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_surface.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_surface.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_surface.c.o -c ../src/gallium/drivers/nouveau/nv50/nv50_surface.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:42, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv50/nv50_winsys.h:11, from ../src/gallium/drivers/nouveau/nv50/nv50_context.h:13, from ../src/gallium/drivers/nouveau/nv50/nv50_surface.c:37: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in ../src/util/futex.h:40:1: error: control reaches end of non-void function [-Werror=return-type] 40 | } | ^ cc1: some warnings being treated as errors [61/176] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_tex.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_tex.c.o /tmp/instance-6/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_tex.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_tex.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_tex.c.o -c ../src/gallium/drivers/nouveau/nv50/nv50_tex.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:42, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv50/nv50_winsys.h:11, from ../src/gallium/drivers/nouveau/nv50/nv50_context.h:13, from ../src/gallium/drivers/nouveau/nv50/nv50_tex.c:23: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [62/176] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_transfer.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_transfer.c.o /tmp/instance-6/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_transfer.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_transfer.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_transfer.c.o -c ../src/gallium/drivers/nouveau/nv50/nv50_transfer.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:42, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv50/nv50_winsys.h:11, from ../src/gallium/drivers/nouveau/nv50/nv50_context.h:13, from ../src/gallium/drivers/nouveau/nv50/nv50_transfer.c:4: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [63/176] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_vbo.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_vbo.c.o /tmp/instance-6/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_vbo.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_vbo.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_vbo.c.o -c ../src/gallium/drivers/nouveau/nv50/nv50_vbo.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:42, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv50/nv50_winsys.h:11, from ../src/gallium/drivers/nouveau/nv50/nv50_context.h:13, from ../src/gallium/drivers/nouveau/nv50/nv50_vbo.c:31: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [64/176] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv84_video_bsp.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv84_video_bsp.c.o /tmp/instance-6/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv84_video_bsp.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv84_video_bsp.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv84_video_bsp.c.o -c ../src/gallium/drivers/nouveau/nv50/nv84_video_bsp.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:42, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv50/nv50_winsys.h:11, from ../src/gallium/drivers/nouveau/nv50/nv50_context.h:13, from ../src/gallium/drivers/nouveau/nv50/nv84_video.h:34, from ../src/gallium/drivers/nouveau/nv50/nv84_video_bsp.c:23: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [65/176] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv84_video.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv84_video.c.o /tmp/instance-6/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv84_video.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv84_video.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv84_video.c.o -c ../src/gallium/drivers/nouveau/nv50/nv84_video.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:42, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv50/nv50_winsys.h:11, from ../src/gallium/drivers/nouveau/nv50/nv50_context.h:13, from ../src/gallium/drivers/nouveau/nv50/nv84_video.h:34, from ../src/gallium/drivers/nouveau/nv50/nv84_video.c:32: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [66/176] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv84_video_vp.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv84_video_vp.c.o /tmp/instance-6/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv84_video_vp.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv84_video_vp.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv84_video_vp.c.o -c ../src/gallium/drivers/nouveau/nv50/nv84_video_vp.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:42, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv50/nv50_winsys.h:11, from ../src/gallium/drivers/nouveau/nv50/nv50_context.h:13, from ../src/gallium/drivers/nouveau/nv50/nv84_video.h:34, from ../src/gallium/drivers/nouveau/nv50/nv84_video_vp.c:23: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [67/176] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv98_video_bsp.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv98_video_bsp.c.o /tmp/instance-6/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv98_video_bsp.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv98_video_bsp.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv98_video_bsp.c.o -c ../src/gallium/drivers/nouveau/nv50/nv98_video_bsp.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:42, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv50/nv50_winsys.h:11, from ../src/gallium/drivers/nouveau/nv50/nv50_context.h:13, from ../src/gallium/drivers/nouveau/nv50/nv98_video.h:23, from ../src/gallium/drivers/nouveau/nv50/nv98_video_bsp.c:23: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [68/176] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv98_video.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv98_video.c.o /tmp/instance-6/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv98_video.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv98_video.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv98_video.c.o -c ../src/gallium/drivers/nouveau/nv50/nv98_video.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:42, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv50/nv50_winsys.h:11, from ../src/gallium/drivers/nouveau/nv50/nv50_context.h:13, from ../src/gallium/drivers/nouveau/nv50/nv98_video.h:23, from ../src/gallium/drivers/nouveau/nv50/nv98_video.c:23: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [69/176] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv98_video_ppp.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv98_video_ppp.c.o /tmp/instance-6/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv98_video_ppp.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv98_video_ppp.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv98_video_ppp.c.o -c ../src/gallium/drivers/nouveau/nv50/nv98_video_ppp.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:42, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv50/nv50_winsys.h:11, from ../src/gallium/drivers/nouveau/nv50/nv50_context.h:13, from ../src/gallium/drivers/nouveau/nv50/nv98_video.h:23, from ../src/gallium/drivers/nouveau/nv50/nv98_video_ppp.c:23: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [70/176] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv98_video_vp.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv98_video_vp.c.o /tmp/instance-6/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv98_video_vp.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv98_video_vp.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv98_video_vp.c.o -c ../src/gallium/drivers/nouveau/nv50/nv98_video_vp.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:42, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv50/nv50_winsys.h:11, from ../src/gallium/drivers/nouveau/nv50/nv50_context.h:13, from ../src/gallium/drivers/nouveau/nv50/nv98_video.h:23, from ../src/gallium/drivers/nouveau/nv50/nv98_video_vp.c:23: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [71/176] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nvfx_fragprog.c.o [72/176] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_miptree.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_miptree.c.o /tmp/instance-6/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_miptree.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_miptree.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_miptree.c.o -c ../src/gallium/drivers/nouveau/nvc0/nvc0_miptree.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:42, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nvc0/nvc0_winsys.h:11, from ../src/gallium/drivers/nouveau/nvc0/nvc0_context.h:14, from ../src/gallium/drivers/nouveau/nvc0/nvc0_miptree.c:31: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [73/176] Generating shared_glapi_mapi_tmp.h with a custom command (wrapped by meson to capture output) [74/176] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_context.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_context.c.o /tmp/instance-6/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_context.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_context.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_context.c.o -c ../src/gallium/drivers/nouveau/nvc0/nvc0_context.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:42, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nvc0/nvc0_winsys.h:11, from ../src/gallium/drivers/nouveau/nvc0/nvc0_context.h:14, from ../src/gallium/drivers/nouveau/nvc0/nvc0_context.c:27: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [75/176] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_formats.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_formats.c.o /tmp/instance-6/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_formats.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_formats.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_formats.c.o -c ../src/gallium/drivers/nouveau/nvc0/nvc0_formats.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:42, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nvc0/nvc0_winsys.h:11, from ../src/gallium/drivers/nouveau/nvc0/nvc0_screen.h:11, from ../src/gallium/drivers/nouveau/nv50/nv50_formats.c:24, from ../src/gallium/drivers/nouveau/nvc0/nvc0_formats.c:25: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [76/176] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_qmda0c0.c.o [77/176] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_query_sw.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_query_sw.c.o /tmp/instance-6/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_query_sw.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_query_sw.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_query_sw.c.o -c ../src/gallium/drivers/nouveau/nvc0/nvc0_query_sw.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:42, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nvc0/nvc0_winsys.h:11, from ../src/gallium/drivers/nouveau/nvc0/nvc0_context.h:14, from ../src/gallium/drivers/nouveau/nvc0/nvc0_query_sw.c:24: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [78/176] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_query_hw_metric.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_query_hw_metric.c.o /tmp/instance-6/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_query_hw_metric.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_query_hw_metric.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_query_hw_metric.c.o -c ../src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_metric.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:42, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nvc0/nvc0_winsys.h:11, from ../src/gallium/drivers/nouveau/nvc0/nvc0_context.h:14, from ../src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_metric.c:23: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [79/176] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_resource.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_resource.c.o /tmp/instance-6/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_resource.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_resource.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_resource.c.o -c ../src/gallium/drivers/nouveau/nvc0/nvc0_resource.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:42, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nv50/nv50_resource.h:9, from ../src/gallium/drivers/nouveau/nvc0/nvc0_resource.h:5, from ../src/gallium/drivers/nouveau/nvc0/nvc0_resource.c:4: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [80/176] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_query_hw.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_query_hw.c.o /tmp/instance-6/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_query_hw.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_query_hw.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_query_hw.c.o -c ../src/gallium/drivers/nouveau/nvc0/nvc0_query_hw.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:42, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nvc0/nvc0_winsys.h:11, from ../src/gallium/drivers/nouveau/nvc0/nvc0_context.h:14, from ../src/gallium/drivers/nouveau/nvc0/nvc0_query_hw.c:26: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in ../src/util/futex.h:40:1: error: control reaches end of non-void function [-Werror=return-type] 40 | } | ^ cc1: some warnings being treated as errors [81/176] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_query.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_query.c.o /tmp/instance-6/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_query.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_query.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_query.c.o -c ../src/gallium/drivers/nouveau/nvc0/nvc0_query.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:42, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nvc0/nvc0_winsys.h:11, from ../src/gallium/drivers/nouveau/nvc0/nvc0_context.h:14, from ../src/gallium/drivers/nouveau/nvc0/nvc0_query.c:27: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [82/176] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_screen.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_screen.c.o /tmp/instance-6/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_screen.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_screen.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_screen.c.o -c ../src/gallium/drivers/nouveau/nvc0/nvc0_screen.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:42, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nvc0/nvc0_winsys.h:11, from ../src/gallium/drivers/nouveau/nvc0/nvc0_context.h:14, from ../src/gallium/drivers/nouveau/nvc0/nvc0_screen.c:35: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [83/176] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_state_validate.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_state_validate.c.o /tmp/instance-6/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_state_validate.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_state_validate.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_state_validate.c.o -c ../src/gallium/drivers/nouveau/nvc0/nvc0_state_validate.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:42, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nvc0/nvc0_winsys.h:11, from ../src/gallium/drivers/nouveau/nvc0/nvc0_context.h:14, from ../src/gallium/drivers/nouveau/nvc0/nvc0_state_validate.c:6: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in ../src/util/futex.h:40:1: error: control reaches end of non-void function [-Werror=return-type] 40 | } | ^ cc1: some warnings being treated as errors [84/176] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_shader_state.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_shader_state.c.o /tmp/instance-6/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_shader_state.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_shader_state.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_shader_state.c.o -c ../src/gallium/drivers/nouveau/nvc0/nvc0_shader_state.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:42, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nvc0/nvc0_winsys.h:11, from ../src/gallium/drivers/nouveau/nvc0/nvc0_context.h:14, from ../src/gallium/drivers/nouveau/nvc0/nvc0_shader_state.c:28: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [85/176] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nvfx_vertprog.c.o [86/176] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_query_hw_sm.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_query_hw_sm.c.o /tmp/instance-6/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_query_hw_sm.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_query_hw_sm.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_query_hw_sm.c.o -c ../src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_sm.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:42, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nvc0/nvc0_winsys.h:11, from ../src/gallium/drivers/nouveau/nvc0/nvc0_context.h:14, from ../src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_sm.c:26: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [87/176] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_tex.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_tex.c.o /tmp/instance-6/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_tex.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_tex.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_tex.c.o -c ../src/gallium/drivers/nouveau/nvc0/nvc0_tex.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:42, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nvc0/nvc0_winsys.h:11, from ../src/gallium/drivers/nouveau/nvc0/nvc0_context.h:14, from ../src/gallium/drivers/nouveau/nvc0/nvc0_tex.c:23: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in ../src/util/futex.h:40:1: error: control reaches end of non-void function [-Werror=return-type] 40 | } | ^ cc1: some warnings being treated as errors [88/176] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_state.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_state.c.o /tmp/instance-6/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_state.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_state.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_state.c.o -c ../src/gallium/drivers/nouveau/nvc0/nvc0_state.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:42, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nvc0/nvc0_winsys.h:11, from ../src/gallium/drivers/nouveau/nvc0/nvc0_context.h:14, from ../src/gallium/drivers/nouveau/nvc0/nvc0_state.c:34: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:42, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nvc0/nvc0_winsys.h:11, from ../src/gallium/drivers/nouveau/nvc0/nvc0_context.h:14, from ../src/gallium/drivers/nouveau/nvc0/nvc0_state.c:34: ../src/util/futex.h:40:1: error: control reaches end of non-void function [-Werror=return-type] 40 | } | ^ cc1: some warnings being treated as errors [89/176] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_program.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_program.c.o /tmp/instance-6/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_program.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_program.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_program.c.o -c ../src/gallium/drivers/nouveau/nvc0/nvc0_program.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:42, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nvc0/nvc0_winsys.h:11, from ../src/gallium/drivers/nouveau/nvc0/nvc0_context.h:14, from ../src/gallium/drivers/nouveau/nvc0/nvc0_program.c:29: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [90/176] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_surface.c.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_surface.c.o /tmp/instance-6/output-1/host/bin/riscv32-linux-gcc -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-6/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_surface.c.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_surface.c.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_surface.c.o -c ../src/gallium/drivers/nouveau/nvc0/nvc0_surface.c In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:42, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nvc0/nvc0_winsys.h:11, from ../src/gallium/drivers/nouveau/nvc0/nvc0_context.h:14, from ../src/gallium/drivers/nouveau/nvc0/nvc0_surface.c:36: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in In file included from ../src/util/simple_mtx.h:27, from ../src/gallium/auxiliary/util/u_range.h:42, from ../src/gallium/drivers/nouveau/nouveau_buffer.h:4, from ../src/gallium/drivers/nouveau/nvc0/nvc0_winsys.h:11, from ../src/gallium/drivers/nouveau/nvc0/nvc0_context.h:14, from ../src/gallium/drivers/nouveau/nvc0/nvc0_surface.c:36: ../src/util/futex.h:40:1: error: control reaches end of non-void function [-Werror=return-type] 40 | } | ^ cc1: some warnings being treated as errors [91/176] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_util.cpp.o [92/176] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_serialize.cpp.o [93/176] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_lowering_helper.cpp.o [94/176] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_from_common.cpp.o [95/176] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_target_nv50.cpp.o [96/176] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_target_nvc0.cpp.o [97/176] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_lowering_gm107.cpp.o [98/176] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_graph.cpp.o [99/176] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_target_gm107.cpp.o [100/176] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_target_gv100.cpp.o [101/176] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_print.cpp.o [102/176] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_build_util.cpp.o [103/176] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_lowering_gv100.cpp.o [104/176] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_target.cpp.o [105/176] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_ssa.cpp.o [106/176] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir.cpp.o [107/176] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_bb.cpp.o [108/176] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_lowering_nv50.cpp.o [109/176] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_emit_gv100.cpp.o [110/176] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_emit_nv50.cpp.o [111/176] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_emit_nvc0.cpp.o [112/176] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_emit_gk110.cpp.o [113/176] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_emit_gm107.cpp.o [114/176] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_peephole.cpp.o [115/176] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_lowering_nvc0.cpp.o [116/176] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_ra.cpp.o [117/176] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_from_nir.cpp.o [118/176] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_from_tgsi.cpp.o ninja: build stopped: subcommand failed. make: *** [package/pkg-generic.mk:270: /tmp/instance-6/output-1/build/mesa3d-21.1.6/.stamp_built] Error 1 make: Leaving directory '/tmp/instance-6/buildroot'