>>> mesa3d 20.3.5 Downloading --2021-08-01 21:11:13-- https://mesa.freedesktop.org/archive/mesa-20.3.5.tar.xz Resolving mesa.freedesktop.org (mesa.freedesktop.org)... 147.75.198.156 Connecting to mesa.freedesktop.org (mesa.freedesktop.org)|147.75.198.156|:443... connected. HTTP request sent, awaiting response... 301 Moved Permanently Location: https://archive.mesa3d.org//mesa-20.3.5.tar.xz [following] --2021-08-01 21:11:13-- https://archive.mesa3d.org//mesa-20.3.5.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: 14367412 (14M) [application/x-xz] Saving to: '/tmp/instance-0/output-1/build/.mesa-20.3.5.tar.xz.hjUxWV/output' 0K .......... .......... .......... .......... .......... 0% 177K 79s 50K .......... .......... .......... .......... .......... 0% 353K 59s 100K .......... .......... .......... .......... .......... 1% 159M 39s 150K .......... .......... .......... .......... .......... 1% 357K 39s 200K .......... .......... .......... .......... .......... 1% 73.0M 31s 250K .......... .......... .......... .......... .......... 2% 112M 26s 300K .......... .......... .......... .......... .......... 2% 12.8M 22s 350K .......... .......... .......... .......... .......... 2% 243M 19s 400K .......... .......... .......... .......... .......... 3% 367K 21s 450K .......... .......... .......... .......... .......... 3% 66.5M 19s 500K .......... .......... .......... .......... .......... 3% 72.3M 17s 550K .......... .......... .......... .......... .......... 4% 70.5M 16s 600K .......... .......... .......... .......... .......... 4% 237M 15s 650K .......... .......... .......... .......... .......... 4% 11.6M 14s 700K .......... .......... .......... .......... .......... 5% 265M 13s 750K .......... .......... .......... .......... .......... 5% 266M 12s 800K .......... .......... .......... .......... .......... 6% 223M 11s 850K .......... .......... .......... .......... .......... 6% 375K 12s 900K .......... .......... .......... .......... .......... 6% 78.3M 12s 950K .......... .......... .......... .......... .......... 7% 92.3M 11s 1000K .......... .......... .......... .......... .......... 7% 199M 10s 1050K .......... .......... .......... .......... .......... 7% 206M 10s 1100K .......... .......... .......... .......... .......... 8% 22.7M 10s 1150K .......... .......... .......... .......... .......... 8% 269M 9s 1200K .......... .......... .......... .......... .......... 8% 215M 9s 1250K .......... .......... .......... .......... .......... 9% 202M 8s 1300K .......... .......... .......... .......... .......... 9% 216M 8s 1350K .......... .......... .......... .......... .......... 9% 192M 8s 1400K .......... .......... .......... .......... .......... 10% 177M 7s 1450K .......... .......... .......... .......... .......... 10% 210M 7s 1500K .......... .......... .......... .......... .......... 11% 216M 7s 1550K .......... .......... .......... .......... .......... 11% 179M 7s 1600K .......... .......... .......... .......... .......... 11% 32.3M 6s 1650K .......... .......... .......... .......... .......... 12% 261M 6s 1700K .......... .......... .......... .......... .......... 12% 378K 7s 1750K .......... .......... .......... .......... .......... 12% 101M 7s 1800K .......... .......... .......... .......... .......... 13% 31.6M 7s 1850K .......... .......... .......... .......... .......... 13% 113M 6s 1900K .......... .......... .......... .......... .......... 13% 108M 6s 1950K .......... .......... .......... .......... .......... 14% 129M 6s 2000K .......... .......... .......... .......... .......... 14% 105M 6s 2050K .......... .......... .......... .......... .......... 14% 125M 6s 2100K .......... .......... .......... .......... .......... 15% 36.8M 5s 2150K .......... .......... .......... .......... .......... 15% 116M 5s 2200K .......... .......... .......... .......... .......... 16% 94.7M 5s 2250K .......... .......... .......... .......... .......... 16% 142M 5s 2300K .......... .......... .......... .......... .......... 16% 124M 5s 2350K .......... .......... .......... .......... .......... 17% 38.0M 5s 2400K .......... .......... .......... .......... .......... 17% 109M 5s 2450K .......... .......... .......... .......... .......... 17% 129M 5s 2500K .......... .......... .......... .......... .......... 18% 211M 4s 2550K .......... .......... .......... .......... .......... 18% 236M 4s 2600K .......... .......... .......... .......... .......... 18% 191M 4s 2650K .......... .......... .......... .......... .......... 19% 233M 4s 2700K .......... .......... .......... .......... .......... 19% 216M 4s 2750K .......... .......... .......... .......... .......... 19% 212M 4s 2800K .......... .......... .......... .......... .......... 20% 163M 4s 2850K .......... .......... .......... .......... .......... 20% 217M 4s 2900K .......... .......... .......... .......... .......... 21% 198M 4s 2950K .......... .......... .......... .......... .......... 21% 208M 4s 3000K .......... .......... .......... .......... .......... 21% 179M 4s 3050K .......... .......... .......... .......... .......... 22% 217M 4s 3100K .......... .......... .......... .......... .......... 22% 8.00M 3s 3150K .......... .......... .......... .......... .......... 22% 261M 3s 3200K .......... .......... .......... .......... .......... 23% 214M 3s 3250K .......... .......... .......... .......... .......... 23% 247M 3s 3300K .......... .......... .......... .......... .......... 23% 267M 3s 3350K .......... .......... .......... .......... .......... 24% 270M 3s 3400K .......... .......... .......... .......... .......... 24% 238M 3s 3450K .......... .......... .......... .......... .......... 24% 265M 3s 3500K .......... .......... .......... .......... .......... 25% 410K 3s 3550K .......... .......... .......... .......... .......... 25% 126M 3s 3600K .......... .......... .......... .......... .......... 26% 104M 3s 3650K .......... .......... .......... .......... .......... 26% 233M 3s 3700K .......... .......... .......... .......... .......... 26% 123M 3s 3750K .......... .......... .......... .......... .......... 27% 44.8M 3s 3800K .......... .......... .......... .......... .......... 27% 111M 3s 3850K .......... .......... .......... .......... .......... 27% 114M 3s 3900K .......... .......... .......... .......... .......... 28% 124M 3s 3950K .......... .......... .......... .......... .......... 28% 126M 3s 4000K .......... .......... .......... .......... .......... 28% 34.8M 3s 4050K .......... .......... .......... .......... .......... 29% 139M 3s 4100K .......... .......... .......... .......... .......... 29% 145M 3s 4150K .......... .......... .......... .......... .......... 29% 237M 3s 4200K .......... .......... .......... .......... .......... 30% 208M 3s 4250K .......... .......... .......... .......... .......... 30% 254M 3s 4300K .......... .......... .......... .......... .......... 31% 203M 3s 4350K .......... .......... .......... .......... .......... 31% 209M 2s 4400K .......... .......... .......... .......... .......... 31% 166M 2s 4450K .......... .......... .......... .......... .......... 32% 9.81M 2s 4500K .......... .......... .......... .......... .......... 32% 190M 2s 4550K .......... .......... .......... .......... .......... 32% 228M 2s 4600K .......... .......... .......... .......... .......... 33% 207M 2s 4650K .......... .......... .......... .......... .......... 33% 217M 2s 4700K .......... .......... .......... .......... .......... 33% 262M 2s 4750K .......... .......... .......... .......... .......... 34% 255M 2s 4800K .......... .......... .......... .......... .......... 34% 176M 2s 4850K .......... .......... .......... .......... .......... 34% 262M 2s 4900K .......... .......... .......... .......... .......... 35% 265M 2s 4950K .......... .......... .......... .......... .......... 35% 266M 2s 5000K .......... .......... .......... .......... .......... 35% 178M 2s 5050K .......... .......... .......... .......... .......... 36% 267M 2s 5100K .......... .......... .......... .......... .......... 36% 268M 2s 5150K .......... .......... .......... .......... .......... 37% 271M 2s 5200K .......... .......... .......... .......... .......... 37% 177M 2s 5250K .......... .......... .......... .......... .......... 37% 246M 2s 5300K .......... .......... .......... .......... .......... 38% 257M 2s 5350K .......... .......... .......... .......... .......... 38% 34.1M 2s 5400K .......... .......... .......... .......... .......... 38% 234M 2s 5450K .......... .......... .......... .......... .......... 39% 263M 2s 5500K .......... .......... .......... .......... .......... 39% 257M 2s 5550K .......... .......... .......... .......... .......... 39% 203M 2s 5600K .......... .......... .......... .......... .......... 40% 221M 2s 5650K .......... .......... .......... .......... .......... 40% 8.32M 2s 5700K .......... .......... .......... .......... .......... 40% 263M 2s 5750K .......... .......... .......... .......... .......... 41% 249M 2s 5800K .......... .......... .......... .......... .......... 41% 245M 2s 5850K .......... .......... .......... .......... .......... 42% 261M 2s 5900K .......... .......... .......... .......... .......... 42% 267M 2s 5950K .......... .......... .......... .......... .......... 42% 272M 2s 6000K .......... .......... .......... .......... .......... 43% 218M 2s 6050K .......... .......... .......... .......... .......... 43% 273M 1s 6100K .......... .......... .......... .......... .......... 43% 274M 1s 6150K .......... .......... .......... .......... .......... 44% 263M 1s 6200K .......... .......... .......... .......... .......... 44% 244M 1s 6250K .......... .......... .......... .......... .......... 44% 259M 1s 6300K .......... .......... .......... .......... .......... 45% 439K 2s 6350K .......... .......... .......... .......... .......... 45% 244M 2s 6400K .......... .......... .......... .......... .......... 45% 178M 1s 6450K .......... .......... .......... .......... .......... 46% 6.47M 1s 6500K .......... .......... .......... .......... .......... 46% 248M 1s 6550K .......... .......... .......... .......... .......... 47% 265M 1s 6600K .......... .......... .......... .......... .......... 47% 244M 1s 6650K .......... .......... .......... .......... .......... 47% 158M 1s 6700K .......... .......... .......... .......... .......... 48% 270M 1s 6750K .......... .......... .......... .......... .......... 48% 262M 1s 6800K .......... .......... .......... .......... .......... 48% 229M 1s 6850K .......... .......... .......... .......... .......... 49% 170M 1s 6900K .......... .......... .......... .......... .......... 49% 273M 1s 6950K .......... .......... .......... .......... .......... 49% 216M 1s 7000K .......... .......... .......... .......... .......... 50% 226M 1s 7050K .......... .......... .......... .......... .......... 50% 160M 1s 7100K .......... .......... .......... .......... .......... 50% 272M 1s 7150K .......... .......... .......... .......... .......... 51% 268M 1s 7200K .......... .......... .......... .......... .......... 51% 227M 1s 7250K .......... .......... .......... .......... .......... 52% 162M 1s 7300K .......... .......... .......... .......... .......... 52% 260M 1s 7350K .......... .......... .......... .......... .......... 52% 263M 1s 7400K .......... .......... .......... .......... .......... 53% 175M 1s 7450K .......... .......... .......... .......... .......... 53% 265M 1s 7500K .......... .......... .......... .......... .......... 53% 6.61M 1s 7550K .......... .......... .......... .......... .......... 54% 264M 1s 7600K .......... .......... .......... .......... .......... 54% 159M 1s 7650K .......... .......... .......... .......... .......... 54% 240M 1s 7700K .......... .......... .......... .......... .......... 55% 259M 1s 7750K .......... .......... .......... .......... .......... 55% 255M 1s 7800K .......... .......... .......... .......... .......... 55% 244M 1s 7850K .......... .......... .......... .......... .......... 56% 270M 1s 7900K .......... .......... .......... .......... .......... 56% 275M 1s 7950K .......... .......... .......... .......... .......... 57% 268M 1s 8000K .......... .......... .......... .......... .......... 57% 214M 1s 8050K .......... .......... .......... .......... .......... 57% 271M 1s 8100K .......... .......... .......... .......... .......... 58% 268M 1s 8150K .......... .......... .......... .......... .......... 58% 275M 1s 8200K .......... .......... .......... .......... .......... 58% 235M 1s 8250K .......... .......... .......... .......... .......... 59% 245M 1s 8300K .......... .......... .......... .......... .......... 59% 268M 1s 8350K .......... .......... .......... .......... .......... 59% 256M 1s 8400K .......... .......... .......... .......... .......... 60% 9.93M 1s 8450K .......... .......... .......... .......... .......... 60% 270M 1s 8500K .......... .......... .......... .......... .......... 60% 269M 1s 8550K .......... .......... .......... .......... .......... 61% 265M 1s 8600K .......... .......... .......... .......... .......... 61% 155M 1s 8650K .......... .......... .......... .......... .......... 62% 256M 1s 8700K .......... .......... .......... .......... .......... 62% 178M 1s 8750K .......... .......... .......... .......... .......... 62% 271M 1s 8800K .......... .......... .......... .......... .......... 63% 227M 1s 8850K .......... .......... .......... .......... .......... 63% 267M 1s 8900K .......... .......... .......... .......... .......... 63% 452K 1s 8950K .......... .......... .......... .......... .......... 64% 196M 1s 9000K .......... .......... .......... .......... .......... 64% 23.1M 1s 9050K .......... .......... .......... .......... .......... 64% 269M 1s 9100K .......... .......... .......... .......... .......... 65% 276M 1s 9150K .......... .......... .......... .......... .......... 65% 209M 1s 9200K .......... .......... .......... .......... .......... 65% 212M 1s 9250K .......... .......... .......... .......... .......... 66% 268M 1s 9300K .......... .......... .......... .......... .......... 66% 273M 1s 9350K .......... .......... .......... .......... .......... 66% 14.7M 1s 9400K .......... .......... .......... .......... .......... 67% 246M 1s 9450K .......... .......... .......... .......... .......... 67% 253M 1s 9500K .......... .......... .......... .......... .......... 68% 201M 1s 9550K .......... .......... .......... .......... .......... 68% 237M 1s 9600K .......... .......... .......... .......... .......... 68% 48.5M 1s 9650K .......... .......... .......... .......... .......... 69% 48.8M 1s 9700K .......... .......... .......... .......... .......... 69% 270M 1s 9750K .......... .......... .......... .......... .......... 69% 72.3M 1s 9800K .......... .......... .......... .......... .......... 70% 239M 1s 9850K .......... .......... .......... .......... .......... 70% 24.1M 1s 9900K .......... .......... .......... .......... .......... 70% 276M 1s 9950K .......... .......... .......... .......... .......... 71% 181M 1s 10000K .......... .......... .......... .......... .......... 71% 228M 1s 10050K .......... .......... .......... .......... .......... 71% 271M 1s 10100K .......... .......... .......... .......... .......... 72% 175M 1s 10150K .......... .......... .......... .......... .......... 72% 270M 1s 10200K .......... .......... .......... .......... .......... 73% 228M 1s 10250K .......... .......... .......... .......... .......... 73% 5.38M 1s 10300K .......... .......... .......... .......... .......... 73% 182M 1s 10350K .......... .......... .......... .......... .......... 74% 193M 1s 10400K .......... .......... .......... .......... .......... 74% 143M 0s 10450K .......... .......... .......... .......... .......... 74% 204M 0s 10500K .......... .......... .......... .......... .......... 75% 197M 0s 10550K .......... .......... .......... .......... .......... 75% 203M 0s 10600K .......... .......... .......... .......... .......... 75% 188M 0s 10650K .......... .......... .......... .......... .......... 76% 199M 0s 10700K .......... .......... .......... .......... .......... 76% 191M 0s 10750K .......... .......... .......... .......... .......... 76% 231M 0s 10800K .......... .......... .......... .......... .......... 77% 151M 0s 10850K .......... .......... .......... .......... .......... 77% 260M 0s 10900K .......... .......... .......... .......... .......... 78% 210M 0s 10950K .......... .......... .......... .......... .......... 78% 196M 0s 11000K .......... .......... .......... .......... .......... 78% 177M 0s 11050K .......... .......... .......... .......... .......... 79% 11.9M 0s 11100K .......... .......... .......... .......... .......... 79% 232M 0s 11150K .......... .......... .......... .......... .......... 79% 201M 0s 11200K .......... .......... .......... .......... .......... 80% 110M 0s 11250K .......... .......... .......... .......... .......... 80% 138M 0s 11300K .......... .......... .......... .......... .......... 80% 123M 0s 11350K .......... .......... .......... .......... .......... 81% 202M 0s 11400K .......... .......... .......... .......... .......... 81% 206M 0s 11450K .......... .......... .......... .......... .......... 81% 239M 0s 11500K .......... .......... .......... .......... .......... 82% 200M 0s 11550K .......... .......... .......... .......... .......... 82% 183M 0s 11600K .......... .......... .......... .......... .......... 83% 208M 0s 11650K .......... .......... .......... .......... .......... 83% 263M 0s 11700K .......... .......... .......... .......... .......... 83% 270M 0s 11750K .......... .......... .......... .......... .......... 84% 269M 0s 11800K .......... .......... .......... .......... .......... 84% 219M 0s 11850K .......... .......... .......... .......... .......... 84% 462K 0s 11900K .......... .......... .......... .......... .......... 85% 208M 0s 11950K .......... .......... .......... .......... .......... 85% 239M 0s 12000K .......... .......... .......... .......... .......... 85% 178M 0s 12050K .......... .......... .......... .......... .......... 86% 184M 0s 12100K .......... .......... .......... .......... .......... 86% 208M 0s 12150K .......... .......... .......... .......... .......... 86% 214M 0s 12200K .......... .......... .......... .......... .......... 87% 208M 0s 12250K .......... .......... .......... .......... .......... 87% 217M 0s 12300K .......... .......... .......... .......... .......... 88% 147M 0s 12350K .......... .......... .......... .......... .......... 88% 164M 0s 12400K .......... .......... .......... .......... .......... 88% 17.0M 0s 12450K .......... .......... .......... .......... .......... 89% 123M 0s 12500K .......... .......... .......... .......... .......... 89% 126M 0s 12550K .......... .......... .......... .......... .......... 89% 129M 0s 12600K .......... .......... .......... .......... .......... 90% 135M 0s 12650K .......... .......... .......... .......... .......... 90% 138M 0s 12700K .......... .......... .......... .......... .......... 90% 161M 0s 12750K .......... .......... .......... .......... .......... 91% 37.9M 0s 12800K .......... .......... .......... .......... .......... 91% 104M 0s 12850K .......... .......... .......... .......... .......... 91% 182M 0s 12900K .......... .......... .......... .......... .......... 92% 259M 0s 12950K .......... .......... .......... .......... .......... 92% 5.64M 0s 13000K .......... .......... .......... .......... .......... 93% 112M 0s 13050K .......... .......... .......... .......... .......... 93% 108M 0s 13100K .......... .......... .......... .......... .......... 93% 119M 0s 13150K .......... .......... .......... .......... .......... 94% 10.9M 0s 13200K .......... .......... .......... .......... .......... 94% 96.3M 0s 13250K .......... .......... .......... .......... .......... 94% 114M 0s 13300K .......... .......... .......... .......... .......... 95% 122M 0s 13350K .......... .......... .......... .......... .......... 95% 117M 0s 13400K .......... .......... .......... .......... .......... 95% 108M 0s 13450K .......... .......... .......... .......... .......... 96% 84.7M 0s 13500K .......... .......... .......... .......... .......... 96% 117M 0s 13550K .......... .......... .......... .......... .......... 96% 232M 0s 13600K .......... .......... .......... .......... .......... 97% 203M 0s 13650K .......... .......... .......... .......... .......... 97% 264M 0s 13700K .......... .......... .......... .......... .......... 97% 263M 0s 13750K .......... .......... .......... .......... .......... 98% 261M 0s 13800K .......... .......... .......... .......... .......... 98% 236M 0s 13850K .......... .......... .......... .......... .......... 99% 254M 0s 13900K .......... .......... .......... .......... .......... 99% 276M 0s 13950K .......... .......... .......... .......... .......... 99% 269M 0s 14000K .......... .......... .......... 100% 233M=1.6s 2021-08-01 21:11:15 (8.66 MB/s) - '/tmp/instance-0/output-1/build/.mesa-20.3.5.tar.xz.hjUxWV/output' saved [14367412/14367412] mesa-20.3.5.tar.xz: OK (sha256: 909a72df63dfa3c0844ccf44a26ac028d148297ed333ab51560893923d7691ce) mesa-20.3.5.tar.xz: OK (sha512: 481e710ed80d8f215a8d541cfe51b960862c2403c2b9e7e6932c8236b8decb5d478871d6c73559d6d795ada143803764f3a93b2329588c80f62e2e5ec98c78a9) >>> mesa3d 20.3.5 Extracting xzcat /tmp/instance-0/dl/mesa3d/mesa-20.3.5.tar.xz | tar --strip-components=1 -C /tmp/instance-0/output-1/build/mesa3d-20.3.5 -xf - >>> mesa3d 20.3.5 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 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 20.3.5 Configuring rm -rf /tmp/instance-0/output-1/build/mesa3d-20.3.5//build mkdir -p /tmp/instance-0/output-1/build/mesa3d-20.3.5//build sed -e 's%@TARGET_CROSS@%/tmp/instance-0/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', '-D_FORTIFY_SOURCE=2'%g" -e "s%@TARGET_LDFLAGS@%%g" -e "s%@TARGET_CXXFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=2'%g" -e 's%@HOST_DIR@%/tmp/instance-0/output-1/host%g' -e 's%@STAGING_DIR@%/tmp/instance-0/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-0/output-1/build/mesa3d-20.3.5//build/cross-compilation.conf PATH="/tmp/instance-0/output-1/host/bin:/tmp/instance-0/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-0/output-1/host/bin/meson --prefix=/usr --libdir=lib --default-library=shared --buildtype=release --cross-file=/tmp/instance-0/output-1/build/mesa3d-20.3.5//build/cross-compilation.conf -Dstrip=false -Dbuild.pkg_config_path=/tmp/instance-0/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=virgl -Dgallium-extra-hud=true -Ddri3=disabled -Dshared-glapi=enabled -Dglx-direct=true -Ddri-drivers=nouveau -Dvulkan-drivers= -Dosmesa=none -Dopengl=true -Dgallium-va=disabled -Dplatforms=wayland -Dgbm=enabled -Degl=enabled -Dgles1=disabled -Dgles2=disabled -Dgallium-xvmc=disabled -Dvalgrind=disabled -Dlibunwind=disabled -Dgallium-vdpau=disabled -Dlmsensors=disabled -Dzstd=disabled /tmp/instance-0/output-1/build/mesa3d-20.3.5/ /tmp/instance-0/output-1/build/mesa3d-20.3.5//build The Meson build system Version: 0.56.2 Source dir: /tmp/instance-0/output-1/build/mesa3d-20.3.5 Build dir: /tmp/instance-0/output-1/build/mesa3d-20.3.5/build Build type: cross build Program python found: YES (/tmp/instance-0/output-1/host/bin/python) Project name: mesa Project version: 20.3.5 C compiler for the host machine: /tmp/instance-0/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-0/output-1/host/bin/riscv32-linux-gcc ld.bfd 2.34 C++ compiler for the host machine: /tmp/instance-0/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-0/output-1/host/bin/riscv32-linux-g++ ld.bfd 2.34 Using 'CC_FOR_BUILD' from environment with value: '/usr/bin/gcc' 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 Using 'CXX_FOR_BUILD' from environment with value: '/usr/bin/g++' 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: x86_64 Host machine cpu: x86_64 Target machine cpu family: riscv64 Target machine cpu: Program python3 found: YES (/tmp/instance-0/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 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 -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=vla: YES Compiler for C++ supports arguments -Werror=vla: 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-0/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.104 Run-time dependency libdrm found: YES 2.4.104 Program bison found: YES (/tmp/instance-0/output-1/host/bin/bison) Program bison found: YES 3.7.1 (/tmp/instance-0/output-1/host/bin/bison) Program flex found: YES (/tmp/instance-0/output-1/host/bin/flex) Found pkg-config: /tmp/instance-0/output-1/host/bin/pkg-config (1.6.3) Build-time dependency wayland-scanner found: YES 1.18.0 Program /tmp/instance-0/output-1/host/bin/wayland-scanner found: YES (/tmp/instance-0/output-1/host/bin/wayland-scanner) Run-time dependency wayland-protocols found: YES 1.20 Run-time dependency wayland-client found: YES 1.18.0 Run-time dependency wayland-server found: YES 1.18.0 Run-time dependency wayland-egl-backend found: YES 3 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-0/output-1/build/mesa3d-20.3.5/bin/symbols-check.py) Program install_megadrivers.py found: YES (/tmp/instance-0/output-1/host/bin/python3 /tmp/instance-0/output-1/build/mesa3d-20.3.5/bin/install_megadrivers.py) Program /tmp/instance-0/output-1/build/mesa3d-20.3.5/bin/install_megadrivers.py found: YES (/tmp/instance-0/output-1/host/bin/python3 /tmp/instance-0/output-1/build/mesa3d-20.3.5/bin/install_megadrivers.py) Checking for function "mincore" : YES Program /tmp/instance-0/output-1/build/mesa3d-20.3.5/bin/install_megadrivers.py found: YES (/tmp/instance-0/output-1/host/bin/python3 /tmp/instance-0/output-1/build/mesa3d-20.3.5/bin/install_megadrivers.py) Message: Configuration summary: prefix: /usr libdir: lib includedir: include OpenGL: yes (ES1: no ES2: no) OSMesa: no DRI platform: drm DRI drivers: nouveau DRI driver dir: /usr/lib/dri EGL: yes EGL drivers: builtin:egl_dri2 GBM: yes EGL/Vulkan/VL platforms: wayland surfaceless drm Vulkan drivers: no llvm: no Gallium drivers: virgl Gallium st: mesa HUD lmsensors: no Shared-glapi: yes Build targets in project: 109 Option buildtype is: release [default: debugoptimized] Found ninja-1.10.2 at /tmp/instance-0/output-1/host/bin/ninja >>> mesa3d 20.3.5 Building PATH="/tmp/instance-0/output-1/host/bin:/tmp/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" PYTHONNOUSERSITE=y /tmp/instance-0/output-1/host/bin/ninja -j96 -C /tmp/instance-0/output-1/build/mesa3d-20.3.5//build ninja: Entering directory `/tmp/instance-0/output-1/build/mesa3d-20.3.5//build' [1/1020] Generating git_sha1.h with a custom command [2/1020] Generating u_format_pack.h with a custom command (wrapped by meson to capture output) [3/1020] Generating u_format_table.c with a custom command (wrapped by meson to capture output) [4/1020] Compiling C object src/util/libmesa_util.a.p/anon_file.c.o [5/1020] Compiling C object src/util/libmesa_util.a.p/debug.c.o [6/1020] Compiling C object src/util/libmesa_util.a.p/blob.c.o [7/1020] Compiling C object src/util/libmesa_util.a.p/bitscan.c.o [8/1020] Compiling C object src/util/libmesa_util.a.p/build_id.c.o [9/1020] Compiling C object src/util/libmesa_util.a.p/crc32.c.o [10/1020] Compiling C object src/util/libmesa_util.a.p/dag.c.o [11/1020] Compiling C object src/util/libmesa_util.a.p/vma.c.o [12/1020] Compiling C object src/util/libmesa_util.a.p/u_debug_stack.c.o [13/1020] Compiling C object src/util/libmesa_util.a.p/u_debug_memory.c.o [14/1020] Compiling C object src/util/libmesa_util.a.p/double.c.o [15/1020] Compiling C object src/util/libmesa_util.a.p/fast_idiv_by_const.c.o [16/1020] Compiling C object src/util/libmesa_util.a.p/half_float.c.o [17/1020] Compiling C object src/util/libmesa_util.a.p/hash_table.c.o [18/1020] Compiling C object src/util/libmesa_util.a.p/u_idalloc.c.o [19/1020] Compiling C object src/util/libmesa_util.a.p/log.c.o [20/1020] Compiling C object src/util/libmesa_util.a.p/memstream.c.o [21/1020] Compiling C object src/util/libmesa_util.a.p/mesa-sha1.c.o [22/1020] Compiling C object src/util/libmesa_util.a.p/os_time.c.o [23/1020] Compiling C object src/util/libmesa_util.a.p/os_file.c.o [24/1020] Compiling C object src/util/libmesa_util.a.p/os_misc.c.o [25/1020] Compiling C object src/util/libmesa_util.a.p/os_socket.c.o [26/1020] Compiling C object src/util/libmesa_util.a.p/u_process.c.o [27/1020] Compiling C object src/util/libmesa_util.a.p/sha1_sha1.c.o [28/1020] Compiling C object src/util/libmesa_util.a.p/ralloc.c.o [29/1020] Compiling C object src/util/libmesa_util.a.p/rand_xor.c.o [30/1020] Compiling C object src/util/libmesa_util.a.p/rb_tree.c.o [31/1020] Compiling C object src/util/libmesa_util.a.p/register_allocate.c.o [32/1020] Compiling C object src/util/libmesa_util.a.p/rgtc.c.o [33/1020] Compiling C object src/util/libmesa_util.a.p/set.c.o [34/1020] Compiling C object src/util/libmesa_util.a.p/slab.c.o [35/1020] Compiling C object src/util/libmesa_util.a.p/softfloat.c.o [36/1020] Compiling C object src/util/libmesa_util.a.p/sparse_array.c.o [37/1020] Compiling C object src/util/libmesa_util.a.p/string_buffer.c.o [38/1020] Compiling C object src/util/libmesa_util.a.p/strtod.c.o [39/1020] Compiling C object src/util/libmesa_util.a.p/u_vector.c.o [40/1020] Compiling C object src/util/libmesa_util.a.p/u_math.c.o [41/1020] Compiling C object src/util/libmesa_util.a.p/u_mm.c.o [42/1020] Compiling C object src/util/libmesa_util.a.p/u_debug.c.o [43/1020] Compiling C object src/util/libmesa_util.a.p/u_cpu_detect.c.o [44/1020] Compiling C object src/util/libxmlconfig.a.p/xmlconfig.c.o [45/1020] Compiling C object src/util/libmesa_util.a.p/u_debug_symbol.c.o [46/1020] Generating spirv_info.c with a custom command [47/1020] Generating vtn_generator_ids.h with a custom command [48/1020] Generating vtn_gather_types.c with a custom command [49/1020] Generating nir_intrinsics.h with a custom command [50/1020] Generating nir_intrinsic.c with a custom command [51/1020] Generating glcpp-lex.c with a custom command [52/1020] Generating glsl_lexer_cpp with a custom command [53/1020] Generating wayland-drm-protocol.c with a custom command [54/1020] Generating wayland-drm-client-protocol.h with a custom command [55/1020] Generating wayland-drm-server-protocol.h with a custom command [56/1020] Generating linux-dmabuf-unstable-v1-client-protocol.h with a custom command [57/1020] Generating mesa_lex with a custom command [58/1020] Generating linux-dmabuf-unstable-v1-protocol.c with a custom command [59/1020] Compiling C object src/util/libmesa_util.a.p/disk_cache.c.o FAILED: src/util/libmesa_util.a.p/disk_cache.c.o /tmp/instance-0/output-1/host/bin/riscv32-linux-gcc -Isrc/util/libmesa_util.a.p -Isrc/util -I../src/util -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="20.3.5"' '-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 -DHAVE_DRM_PLATFORM -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_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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -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 -D_FORTIFY_SOURCE=2 -fPIC -pthread -Werror=pointer-arith -Werror=vla -MD -MQ src/util/libmesa_util.a.p/disk_cache.c.o -MF src/util/libmesa_util.a.p/disk_cache.c.o.d -o src/util/libmesa_util.a.p/disk_cache.c.o -c ../src/util/disk_cache.c In file included from ../src/util/u_queue.h:38, from ../src/util/disk_cache_os.h:27, from ../src/util/disk_cache.c:49: ../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/1020] Compiling C object src/util/libmesa_util.a.p/disk_cache_os.c.o FAILED: src/util/libmesa_util.a.p/disk_cache_os.c.o /tmp/instance-0/output-1/host/bin/riscv32-linux-gcc -Isrc/util/libmesa_util.a.p -Isrc/util -I../src/util -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="20.3.5"' '-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 -DHAVE_DRM_PLATFORM -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_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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -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 -D_FORTIFY_SOURCE=2 -fPIC -pthread -Werror=pointer-arith -Werror=vla -MD -MQ src/util/libmesa_util.a.p/disk_cache_os.c.o -MF src/util/libmesa_util.a.p/disk_cache_os.c.o.d -o src/util/libmesa_util.a.p/disk_cache_os.c.o -c ../src/util/disk_cache_os.c In file included from ../src/util/u_queue.h:38, from ../src/util/disk_cache_os.h:27, from ../src/util/disk_cache_os.c:208: ../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 [61/1020] Compiling C object src/util/libmesa_util.a.p/u_atomic.c.o ../src/util/u_atomic.c:38:1: warning: conflicting types for built-in function '__sync_add_and_fetch_8'; expected 'long long unsigned int(volatile void *, long long unsigned int)' [-Wbuiltin-declaration-mismatch] 38 | __sync_add_and_fetch_8(uint64_t *ptr, uint64_t val) | ^~~~~~~~~~~~~~~~~~~~~~ ../src/util/u_atomic.c:51:1: warning: conflicting types for built-in function '__sync_sub_and_fetch_8'; expected 'long long unsigned int(volatile void *, long long unsigned int)' [-Wbuiltin-declaration-mismatch] 51 | __sync_sub_and_fetch_8(uint64_t *ptr, uint64_t val) | ^~~~~~~~~~~~~~~~~~~~~~ ../src/util/u_atomic.c:64:1: warning: conflicting types for built-in function '__sync_val_compare_and_swap_8'; expected 'long long unsigned int(volatile void *, long long unsigned int, long long unsigned int)' [-Wbuiltin-declaration-mismatch] 64 | __sync_val_compare_and_swap_8(uint64_t *ptr, uint64_t oldval, uint64_t newval) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [62/1020] Compiling C object src/util/libmesa_util.a.p/u_queue.c.o FAILED: src/util/libmesa_util.a.p/u_queue.c.o /tmp/instance-0/output-1/host/bin/riscv32-linux-gcc -Isrc/util/libmesa_util.a.p -Isrc/util -I../src/util -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="20.3.5"' '-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 -DHAVE_DRM_PLATFORM -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_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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -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 -D_FORTIFY_SOURCE=2 -fPIC -pthread -Werror=pointer-arith -Werror=vla -MD -MQ src/util/libmesa_util.a.p/u_queue.c.o -MF src/util/libmesa_util.a.p/u_queue.c.o.d -o src/util/libmesa_util.a.p/u_queue.c.o -c ../src/util/u_queue.c In file included from ../src/util/u_queue.h:38, from ../src/util/u_queue.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 In file included from ../src/util/u_queue.h:38, from ../src/util/u_queue.c:27: ../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 [63/1020] Generating ir_expression_operation.h with a custom command (wrapped by meson to capture output) [64/1020] Generating nir_builder_opcodes.h with a custom command (wrapped by meson to capture output) [65/1020] Generating nir_opcodes.h with a custom command (wrapped by meson to capture output) [66/1020] Generating nir_opcodes.c with a custom command (wrapped by meson to capture output) [67/1020] Generating glcpp-parse.[ch] with a custom command [68/1020] Generating glsl_parser with a custom command [69/1020] Generating float64_glsl.h with a custom command [70/1020] Generating program_parse_tab.[ch] with a custom command [71/1020] Generating format_fallback.c with a custom command [72/1020] Compiling C object src/gallium/winsys/sw/wrapper/libwsw.a.p/wrapper_sw_winsys.c.o [73/1020] Compiling C object src/gallium/winsys/sw/dri/libswdri.a.p/dri_sw_winsys.c.o [74/1020] Compiling C object src/gallium/auxiliary/pipe-loader/libpipe_loader_static.a.p/pipe_loader_drm.c.o [75/1020] Compiling C object src/util/format/libmesa_format.a.p/u_format.c.o [76/1020] Compiling C object src/util/format/libmesa_format.a.p/u_format_etc.c.o [77/1020] Compiling C object src/util/format/libmesa_format.a.p/u_format_tests.c.o [78/1020] Compiling C object src/util/format/libmesa_format.a.p/u_format_latc.c.o [79/1020] Compiling C object src/util/format/libmesa_format.a.p/u_format_other.c.o [80/1020] Compiling C object src/util/format/libmesa_format.a.p/u_format_rgtc.c.o [81/1020] Compiling C object src/util/format/libmesa_format.a.p/u_format_zs.c.o [82/1020] Compiling C object src/gallium/auxiliary/pipe-loader/libpipe_loader_static.a.p/pipe_loader.c.o [83/1020] Compiling C object src/gallium/auxiliary/pipe-loader/libpipe_loader_static.a.p/pipe_loader_sw.c.o [84/1020] Compiling C object src/mesa/drivers/dri/common/libmegadriver_stub.a.p/megadriver_stub.c.o [85/1020] Compiling C object src/loader/libloader.a.p/loader.c.o [86/1020] Linking static target src/util/libxmlconfig.a [87/1020] Compiling C object src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_bufferobj.c.o FAILED: src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_bufferobj.c.o /tmp/instance-0/output-1/host/bin/riscv32-linux-gcc -Isrc/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p -Isrc/mesa/drivers/dri/nouveau -I../src/mesa/drivers/dri/nouveau -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mesa/drivers/dri/common -I../src/mesa/drivers/dri/common -Isrc/util -I../src/util -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="20.3.5"' '-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 -DHAVE_DRM_PLATFORM -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_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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -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 -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_bufferobj.c.o -MF src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_bufferobj.c.o.d -o src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_bufferobj.c.o -c ../src/mesa/drivers/dri/nouveau/nouveau_bufferobj.c In file included from ../src/util/u_queue.h:38, from ../src/mesa/main/glthread.h:51, from ../src/mesa/main/mtypes.h:42, from ../src/mesa/drivers/dri/nouveau/nouveau_driver.h:31, from ../src/mesa/drivers/dri/nouveau/nouveau_bufferobj.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 [88/1020] Compiling C object src/mesa/drivers/dri/common/libdricommon.a.p/dri_util.c.o FAILED: src/mesa/drivers/dri/common/libdricommon.a.p/dri_util.c.o /tmp/instance-0/output-1/host/bin/riscv32-linux-gcc -Isrc/mesa/drivers/dri/common/libdricommon.a.p -Isrc/mesa/drivers/dri/common -I../src/mesa/drivers/dri/common -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/util -I../src/util -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="20.3.5"' '-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 -DHAVE_DRM_PLATFORM -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_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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -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 -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ src/mesa/drivers/dri/common/libdricommon.a.p/dri_util.c.o -MF src/mesa/drivers/dri/common/libdricommon.a.p/dri_util.c.o.d -o src/mesa/drivers/dri/common/libdricommon.a.p/dri_util.c.o -c ../src/mesa/drivers/dri/common/dri_util.c In file included from ../src/util/u_queue.h:38, from ../src/mesa/main/glthread.h:51, from ../src/mesa/main/mtypes.h:42, from ../src/mesa/main/extensions.h:39, from ../src/mesa/main/context.h:54, from ../src/mesa/drivers/dri/common/utils.h:33, from ../src/mesa/drivers/dri/common/dri_util.c:44: ../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 [89/1020] Compiling C object src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_context.c.o FAILED: src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_context.c.o /tmp/instance-0/output-1/host/bin/riscv32-linux-gcc -Isrc/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p -Isrc/mesa/drivers/dri/nouveau -I../src/mesa/drivers/dri/nouveau -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mesa/drivers/dri/common -I../src/mesa/drivers/dri/common -Isrc/util -I../src/util -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="20.3.5"' '-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 -DHAVE_DRM_PLATFORM -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_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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -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 -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_context.c.o -MF src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_context.c.o.d -o src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_context.c.o -c ../src/mesa/drivers/dri/nouveau/nouveau_context.c In file included from ../src/util/u_queue.h:38, from ../src/mesa/main/glthread.h:51, from ../src/mesa/main/mtypes.h:42, from ../src/mesa/drivers/dri/nouveau/nouveau_driver.h:31, from ../src/mesa/drivers/dri/nouveau/nouveau_context.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/1020] Compiling C object src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_driver.c.o FAILED: src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_driver.c.o /tmp/instance-0/output-1/host/bin/riscv32-linux-gcc -Isrc/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p -Isrc/mesa/drivers/dri/nouveau -I../src/mesa/drivers/dri/nouveau -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mesa/drivers/dri/common -I../src/mesa/drivers/dri/common -Isrc/util -I../src/util -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="20.3.5"' '-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 -DHAVE_DRM_PLATFORM -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_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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -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 -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_driver.c.o -MF src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_driver.c.o.d -o src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_driver.c.o -c ../src/mesa/drivers/dri/nouveau/nouveau_driver.c In file included from ../src/util/u_queue.h:38, from ../src/mesa/main/glthread.h:51, from ../src/mesa/main/mtypes.h:42, from ../src/mesa/drivers/dri/nouveau/nouveau_driver.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 [91/1020] Compiling C object src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_fbo.c.o FAILED: src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_fbo.c.o /tmp/instance-0/output-1/host/bin/riscv32-linux-gcc -Isrc/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p -Isrc/mesa/drivers/dri/nouveau -I../src/mesa/drivers/dri/nouveau -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mesa/drivers/dri/common -I../src/mesa/drivers/dri/common -Isrc/util -I../src/util -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="20.3.5"' '-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 -DHAVE_DRM_PLATFORM -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_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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -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 -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_fbo.c.o -MF src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_fbo.c.o.d -o src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_fbo.c.o -c ../src/mesa/drivers/dri/nouveau/nouveau_fbo.c In file included from ../src/util/u_queue.h:38, from ../src/mesa/main/glthread.h:51, from ../src/mesa/main/mtypes.h:42, from ../src/mesa/drivers/dri/nouveau/nouveau_driver.h:31, from ../src/mesa/drivers/dri/nouveau/nouveau_fbo.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 [92/1020] Compiling C object src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_span.c.o FAILED: src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_span.c.o /tmp/instance-0/output-1/host/bin/riscv32-linux-gcc -Isrc/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p -Isrc/mesa/drivers/dri/nouveau -I../src/mesa/drivers/dri/nouveau -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mesa/drivers/dri/common -I../src/mesa/drivers/dri/common -Isrc/util -I../src/util -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="20.3.5"' '-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 -DHAVE_DRM_PLATFORM -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_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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -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 -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_span.c.o -MF src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_span.c.o.d -o src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_span.c.o -c ../src/mesa/drivers/dri/nouveau/nouveau_span.c In file included from ../src/util/u_queue.h:38, from ../src/mesa/main/glthread.h:51, from ../src/mesa/main/mtypes.h:42, from ../src/mesa/drivers/dri/nouveau/nouveau_driver.h:31, from ../src/mesa/drivers/dri/nouveau/nouveau_span.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 [93/1020] Compiling C object src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv04_surface.c.o FAILED: src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv04_surface.c.o /tmp/instance-0/output-1/host/bin/riscv32-linux-gcc -Isrc/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p -Isrc/mesa/drivers/dri/nouveau -I../src/mesa/drivers/dri/nouveau -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mesa/drivers/dri/common -I../src/mesa/drivers/dri/common -Isrc/util -I../src/util -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="20.3.5"' '-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 -DHAVE_DRM_PLATFORM -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_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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -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 -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv04_surface.c.o -MF src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv04_surface.c.o.d -o src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv04_surface.c.o -c ../src/mesa/drivers/dri/nouveau/nv04_surface.c In file included from ../src/util/u_queue.h:38, from ../src/mesa/main/glthread.h:51, from ../src/mesa/main/mtypes.h:42, from ../src/mesa/drivers/dri/nouveau/nouveau_driver.h:31, from ../src/mesa/drivers/dri/nouveau/nv04_surface.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 [94/1020] Generating format_info.h with a custom command (wrapped by meson to capture output) [95/1020] Compiling C object src/util/format/libmesa_format.a.p/u_format_yuv.c.o [96/1020] Compiling C object src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_state.c.o FAILED: src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_state.c.o /tmp/instance-0/output-1/host/bin/riscv32-linux-gcc -Isrc/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p -Isrc/mesa/drivers/dri/nouveau -I../src/mesa/drivers/dri/nouveau -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mesa/drivers/dri/common -I../src/mesa/drivers/dri/common -Isrc/util -I../src/util -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="20.3.5"' '-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 -DHAVE_DRM_PLATFORM -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_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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -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 -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_state.c.o -MF src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_state.c.o.d -o src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_state.c.o -c ../src/mesa/drivers/dri/nouveau/nouveau_state.c In file included from ../src/util/u_queue.h:38, from ../src/mesa/main/glthread.h:51, from ../src/mesa/main/mtypes.h:42, from ../src/mesa/drivers/dri/nouveau/nouveau_driver.h:31, from ../src/mesa/drivers/dri/nouveau/nouveau_state.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 [97/1020] Compiling C object src/loader/libloader.a.p/pci_id_driver_map.c.o [98/1020] Generating nir_constant_expressions.c with a custom command (wrapped by meson to capture output) [99/1020] Compiling C object src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv10_state_raster.c.o FAILED: src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv10_state_raster.c.o /tmp/instance-0/output-1/host/bin/riscv32-linux-gcc -Isrc/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p -Isrc/mesa/drivers/dri/nouveau -I../src/mesa/drivers/dri/nouveau -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mesa/drivers/dri/common -I../src/mesa/drivers/dri/common -Isrc/util -I../src/util -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="20.3.5"' '-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 -DHAVE_DRM_PLATFORM -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_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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -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 -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv10_state_raster.c.o -MF src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv10_state_raster.c.o.d -o src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv10_state_raster.c.o -c ../src/mesa/drivers/dri/nouveau/nv10_state_raster.c In file included from ../src/util/u_queue.h:38, from ../src/mesa/main/glthread.h:51, from ../src/mesa/main/mtypes.h:42, from ../src/mesa/drivers/dri/nouveau/nouveau_driver.h:31, from ../src/mesa/drivers/dri/nouveau/nv10_state_raster.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 [100/1020] Compiling C object src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_scratch.c.o FAILED: src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_scratch.c.o /tmp/instance-0/output-1/host/bin/riscv32-linux-gcc -Isrc/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p -Isrc/mesa/drivers/dri/nouveau -I../src/mesa/drivers/dri/nouveau -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mesa/drivers/dri/common -I../src/mesa/drivers/dri/common -Isrc/util -I../src/util -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="20.3.5"' '-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 -DHAVE_DRM_PLATFORM -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_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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -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 -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_scratch.c.o -MF src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_scratch.c.o.d -o src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_scratch.c.o -c ../src/mesa/drivers/dri/nouveau/nouveau_scratch.c In file included from ../src/util/u_queue.h:38, from ../src/mesa/main/glthread.h:51, from ../src/mesa/main/mtypes.h:42, from ../src/mesa/drivers/dri/nouveau/nouveau_driver.h:31, from ../src/mesa/drivers/dri/nouveau/nouveau_scratch.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 [101/1020] Generating ir_expression_operation_constant.h with a custom command (wrapped by meson to capture output) [102/1020] Compiling C object src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv04_render.c.o FAILED: src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv04_render.c.o /tmp/instance-0/output-1/host/bin/riscv32-linux-gcc -Isrc/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p -Isrc/mesa/drivers/dri/nouveau -I../src/mesa/drivers/dri/nouveau -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mesa/drivers/dri/common -I../src/mesa/drivers/dri/common -Isrc/util -I../src/util -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="20.3.5"' '-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 -DHAVE_DRM_PLATFORM -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_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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -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 -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv04_render.c.o -MF src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv04_render.c.o.d -o src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv04_render.c.o -c ../src/mesa/drivers/dri/nouveau/nv04_render.c In file included from ../src/util/u_queue.h:38, from ../src/mesa/main/glthread.h:51, from ../src/mesa/main/mtypes.h:42, from ../src/mesa/drivers/dri/nouveau/nouveau_driver.h:31, from ../src/mesa/drivers/dri/nouveau/nv04_render.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 [103/1020] Compiling C object src/gbm/libgbm.so.1.0.0.p/main_backend.c.o [104/1020] Compiling C object src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv10_state_frag.c.o FAILED: src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv10_state_frag.c.o /tmp/instance-0/output-1/host/bin/riscv32-linux-gcc -Isrc/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p -Isrc/mesa/drivers/dri/nouveau -I../src/mesa/drivers/dri/nouveau -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mesa/drivers/dri/common -I../src/mesa/drivers/dri/common -Isrc/util -I../src/util -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="20.3.5"' '-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 -DHAVE_DRM_PLATFORM -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_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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -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 -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv10_state_frag.c.o -MF src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv10_state_frag.c.o.d -o src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv10_state_frag.c.o -c ../src/mesa/drivers/dri/nouveau/nv10_state_frag.c In file included from ../src/util/u_queue.h:38, from ../src/mesa/main/glthread.h:51, from ../src/mesa/main/mtypes.h:42, from ../src/mesa/drivers/dri/nouveau/nouveau_driver.h:31, from ../src/mesa/drivers/dri/nouveau/nv10_state_frag.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 [105/1020] Compiling C object src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_array.c.o FAILED: src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_array.c.o /tmp/instance-0/output-1/host/bin/riscv32-linux-gcc -Isrc/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p -Isrc/mesa/drivers/dri/nouveau -I../src/mesa/drivers/dri/nouveau -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mesa/drivers/dri/common -I../src/mesa/drivers/dri/common -Isrc/util -I../src/util -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="20.3.5"' '-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 -DHAVE_DRM_PLATFORM -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_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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -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 -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_array.c.o -MF src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_array.c.o.d -o src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_array.c.o -c ../src/mesa/drivers/dri/nouveau/nouveau_array.c In file included from ../src/util/u_queue.h:38, from ../src/mesa/main/glthread.h:51, from ../src/mesa/main/mtypes.h:42, from ../src/mesa/main/bufferobj.h:32, from ../src/mesa/drivers/dri/nouveau/nouveau_array.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 [106/1020] Compiling C object src/egl/wayland/wayland-drm/libwayland_drm.a.p/wayland-drm.c.o [107/1020] Compiling C object src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_screen.c.o FAILED: src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_screen.c.o /tmp/instance-0/output-1/host/bin/riscv32-linux-gcc -Isrc/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p -Isrc/mesa/drivers/dri/nouveau -I../src/mesa/drivers/dri/nouveau -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mesa/drivers/dri/common -I../src/mesa/drivers/dri/common -Isrc/util -I../src/util -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="20.3.5"' '-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 -DHAVE_DRM_PLATFORM -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_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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -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 -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_screen.c.o -MF src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_screen.c.o.d -o src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_screen.c.o -c ../src/mesa/drivers/dri/nouveau/nouveau_screen.c In file included from ../src/util/u_queue.h:38, from ../src/mesa/main/glthread.h:51, from ../src/mesa/main/mtypes.h:42, from ../src/mesa/drivers/dri/nouveau/nouveau_driver.h:31, from ../src/mesa/drivers/dri/nouveau/nouveau_screen.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 [108/1020] Compiling C object src/egl/wayland/wayland-drm/libwayland_drm.a.p/meson-generated_.._wayland-drm-protocol.c.o [109/1020] Generating ir_expression_operation_strings.h with a custom command (wrapped by meson to capture output) [110/1020] Compiling C object src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_surface.c.o FAILED: src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_surface.c.o /tmp/instance-0/output-1/host/bin/riscv32-linux-gcc -Isrc/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p -Isrc/mesa/drivers/dri/nouveau -I../src/mesa/drivers/dri/nouveau -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mesa/drivers/dri/common -I../src/mesa/drivers/dri/common -Isrc/util -I../src/util -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="20.3.5"' '-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 -DHAVE_DRM_PLATFORM -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_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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -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 -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_surface.c.o -MF src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_surface.c.o.d -o src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_surface.c.o -c ../src/mesa/drivers/dri/nouveau/nouveau_surface.c In file included from ../src/util/u_queue.h:38, from ../src/mesa/main/glthread.h:51, from ../src/mesa/main/mtypes.h:42, from ../src/mesa/drivers/dri/nouveau/nouveau_driver.h:31, from ../src/mesa/drivers/dri/nouveau/nouveau_surface.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 [111/1020] Compiling C object src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv20_state_frag.c.o FAILED: src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv20_state_frag.c.o /tmp/instance-0/output-1/host/bin/riscv32-linux-gcc -Isrc/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p -Isrc/mesa/drivers/dri/nouveau -I../src/mesa/drivers/dri/nouveau -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mesa/drivers/dri/common -I../src/mesa/drivers/dri/common -Isrc/util -I../src/util -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="20.3.5"' '-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 -DHAVE_DRM_PLATFORM -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_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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -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 -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv20_state_frag.c.o -MF src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv20_state_frag.c.o.d -o src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv20_state_frag.c.o -c ../src/mesa/drivers/dri/nouveau/nv20_state_frag.c In file included from ../src/util/u_queue.h:38, from ../src/mesa/main/glthread.h:51, from ../src/mesa/main/mtypes.h:42, from ../src/mesa/drivers/dri/nouveau/nouveau_driver.h:31, from ../src/mesa/drivers/dri/nouveau/nv20_state_frag.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 [112/1020] Compiling C object src/mesa/drivers/dri/common/libdricommon.a.p/utils.c.o FAILED: src/mesa/drivers/dri/common/libdricommon.a.p/utils.c.o /tmp/instance-0/output-1/host/bin/riscv32-linux-gcc -Isrc/mesa/drivers/dri/common/libdricommon.a.p -Isrc/mesa/drivers/dri/common -I../src/mesa/drivers/dri/common -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/util -I../src/util -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="20.3.5"' '-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 -DHAVE_DRM_PLATFORM -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_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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -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 -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ src/mesa/drivers/dri/common/libdricommon.a.p/utils.c.o -MF src/mesa/drivers/dri/common/libdricommon.a.p/utils.c.o.d -o src/mesa/drivers/dri/common/libdricommon.a.p/utils.c.o -c ../src/mesa/drivers/dri/common/utils.c In file included from ../src/util/u_queue.h:38, from ../src/mesa/main/glthread.h:51, from ../src/mesa/main/mtypes.h:42, from ../src/mesa/drivers/dri/common/utils.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 [113/1020] Compiling C object src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv04_context.c.o FAILED: src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv04_context.c.o /tmp/instance-0/output-1/host/bin/riscv32-linux-gcc -Isrc/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p -Isrc/mesa/drivers/dri/nouveau -I../src/mesa/drivers/dri/nouveau -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mesa/drivers/dri/common -I../src/mesa/drivers/dri/common -Isrc/util -I../src/util -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="20.3.5"' '-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 -DHAVE_DRM_PLATFORM -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_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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -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 -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv04_context.c.o -MF src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv04_context.c.o.d -o src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv04_context.c.o -c ../src/mesa/drivers/dri/nouveau/nv04_context.c In file included from ../src/util/u_queue.h:38, from ../src/mesa/main/glthread.h:51, from ../src/mesa/main/mtypes.h:42, from ../src/mesa/drivers/dri/nouveau/nouveau_driver.h:31, from ../src/mesa/drivers/dri/nouveau/nv04_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 [114/1020] Compiling C object src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv10_context.c.o FAILED: src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv10_context.c.o /tmp/instance-0/output-1/host/bin/riscv32-linux-gcc -Isrc/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p -Isrc/mesa/drivers/dri/nouveau -I../src/mesa/drivers/dri/nouveau -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mesa/drivers/dri/common -I../src/mesa/drivers/dri/common -Isrc/util -I../src/util -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="20.3.5"' '-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 -DHAVE_DRM_PLATFORM -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_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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -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 -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv10_context.c.o -MF src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv10_context.c.o.d -o src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv10_context.c.o -c ../src/mesa/drivers/dri/nouveau/nv10_context.c In file included from ../src/util/u_queue.h:38, from ../src/mesa/main/glthread.h:51, from ../src/mesa/main/mtypes.h:42, from ../src/mesa/main/state.h:29, from ../src/mesa/drivers/dri/nouveau/nv10_context.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 [115/1020] Compiling C object src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv20_state_tex.c.o FAILED: src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv20_state_tex.c.o /tmp/instance-0/output-1/host/bin/riscv32-linux-gcc -Isrc/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p -Isrc/mesa/drivers/dri/nouveau -I../src/mesa/drivers/dri/nouveau -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mesa/drivers/dri/common -I../src/mesa/drivers/dri/common -Isrc/util -I../src/util -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="20.3.5"' '-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 -DHAVE_DRM_PLATFORM -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_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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -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 -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv20_state_tex.c.o -MF src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv20_state_tex.c.o.d -o src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv20_state_tex.c.o -c ../src/mesa/drivers/dri/nouveau/nv20_state_tex.c In file included from ../src/util/u_queue.h:38, from ../src/mesa/main/glthread.h:51, from ../src/mesa/main/mtypes.h:42, from ../src/mesa/drivers/dri/nouveau/nouveau_driver.h:31, from ../src/mesa/drivers/dri/nouveau/nv20_state_tex.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 [116/1020] Generating enums.c with a custom command (wrapped by meson to capture output) [117/1020] Compiling C object src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv04_state_frag.c.o FAILED: src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv04_state_frag.c.o /tmp/instance-0/output-1/host/bin/riscv32-linux-gcc -Isrc/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p -Isrc/mesa/drivers/dri/nouveau -I../src/mesa/drivers/dri/nouveau -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mesa/drivers/dri/common -I../src/mesa/drivers/dri/common -Isrc/util -I../src/util -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="20.3.5"' '-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 -DHAVE_DRM_PLATFORM -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_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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -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 -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv04_state_frag.c.o -MF src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv04_state_frag.c.o.d -o src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv04_state_frag.c.o -c ../src/mesa/drivers/dri/nouveau/nv04_state_frag.c In file included from ../src/util/u_queue.h:38, from ../src/mesa/main/glthread.h:51, from ../src/mesa/main/mtypes.h:42, from ../src/mesa/drivers/dri/nouveau/nouveau_driver.h:31, from ../src/mesa/drivers/dri/nouveau/nv04_state_frag.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 [118/1020] Compiling C object src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_texture.c.o FAILED: src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_texture.c.o /tmp/instance-0/output-1/host/bin/riscv32-linux-gcc -Isrc/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p -Isrc/mesa/drivers/dri/nouveau -I../src/mesa/drivers/dri/nouveau -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mesa/drivers/dri/common -I../src/mesa/drivers/dri/common -Isrc/util -I../src/util -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="20.3.5"' '-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 -DHAVE_DRM_PLATFORM -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_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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -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 -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_texture.c.o -MF src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_texture.c.o.d -o src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_texture.c.o -c ../src/mesa/drivers/dri/nouveau/nouveau_texture.c In file included from ../src/util/u_queue.h:38, from ../src/mesa/main/glthread.h:51, from ../src/mesa/main/mtypes.h:42, from ../src/mesa/drivers/dri/nouveau/nouveau_driver.h:31, from ../src/mesa/drivers/dri/nouveau/nouveau_texture.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 [119/1020] Compiling C object src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv10_state_fb.c.o FAILED: src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv10_state_fb.c.o /tmp/instance-0/output-1/host/bin/riscv32-linux-gcc -Isrc/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p -Isrc/mesa/drivers/dri/nouveau -I../src/mesa/drivers/dri/nouveau -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mesa/drivers/dri/common -I../src/mesa/drivers/dri/common -Isrc/util -I../src/util -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="20.3.5"' '-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 -DHAVE_DRM_PLATFORM -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_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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -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 -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv10_state_fb.c.o -MF src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv10_state_fb.c.o.d -o src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv10_state_fb.c.o -c ../src/mesa/drivers/dri/nouveau/nv10_state_fb.c In file included from ../src/util/u_queue.h:38, from ../src/mesa/main/glthread.h:51, from ../src/mesa/main/mtypes.h:42, from ../src/mesa/drivers/dri/nouveau/nouveau_driver.h:31, from ../src/mesa/drivers/dri/nouveau/nv10_state_fb.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 [120/1020] Compiling C object src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv20_context.c.o FAILED: src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv20_context.c.o /tmp/instance-0/output-1/host/bin/riscv32-linux-gcc -Isrc/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p -Isrc/mesa/drivers/dri/nouveau -I../src/mesa/drivers/dri/nouveau -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mesa/drivers/dri/common -I../src/mesa/drivers/dri/common -Isrc/util -I../src/util -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="20.3.5"' '-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 -DHAVE_DRM_PLATFORM -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_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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -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 -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv20_context.c.o -MF src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv20_context.c.o.d -o src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv20_context.c.o -c ../src/mesa/drivers/dri/nouveau/nv20_context.c In file included from ../src/util/u_queue.h:38, from ../src/mesa/main/glthread.h:51, from ../src/mesa/main/mtypes.h:42, from ../src/mesa/drivers/dri/nouveau/nouveau_driver.h:31, from ../src/mesa/drivers/dri/nouveau/nv20_context.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 [121/1020] Generating format_unpack.c with a custom command (wrapped by meson to capture output) [122/1020] Compiling C object src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv04_state_fb.c.o FAILED: src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv04_state_fb.c.o /tmp/instance-0/output-1/host/bin/riscv32-linux-gcc -Isrc/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p -Isrc/mesa/drivers/dri/nouveau -I../src/mesa/drivers/dri/nouveau -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mesa/drivers/dri/common -I../src/mesa/drivers/dri/common -Isrc/util -I../src/util -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="20.3.5"' '-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 -DHAVE_DRM_PLATFORM -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_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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -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 -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv04_state_fb.c.o -MF src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv04_state_fb.c.o.d -o src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv04_state_fb.c.o -c ../src/mesa/drivers/dri/nouveau/nv04_state_fb.c In file included from ../src/util/u_queue.h:38, from ../src/mesa/main/glthread.h:51, from ../src/mesa/main/mtypes.h:42, from ../src/mesa/drivers/dri/nouveau/nouveau_driver.h:31, from ../src/mesa/drivers/dri/nouveau/nv04_state_fb.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 [123/1020] Compiling C object src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv04_state_tex.c.o FAILED: src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv04_state_tex.c.o /tmp/instance-0/output-1/host/bin/riscv32-linux-gcc -Isrc/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p -Isrc/mesa/drivers/dri/nouveau -I../src/mesa/drivers/dri/nouveau -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mesa/drivers/dri/common -I../src/mesa/drivers/dri/common -Isrc/util -I../src/util -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="20.3.5"' '-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 -DHAVE_DRM_PLATFORM -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_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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -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 -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv04_state_tex.c.o -MF src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv04_state_tex.c.o.d -o src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv04_state_tex.c.o -c ../src/mesa/drivers/dri/nouveau/nv04_state_tex.c In file included from ../src/util/u_queue.h:38, from ../src/mesa/main/glthread.h:51, from ../src/mesa/main/mtypes.h:42, from ../src/mesa/drivers/dri/nouveau/nouveau_driver.h:31, from ../src/mesa/drivers/dri/nouveau/nv04_state_tex.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 [124/1020] Compiling C object src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv04_state_raster.c.o FAILED: src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv04_state_raster.c.o /tmp/instance-0/output-1/host/bin/riscv32-linux-gcc -Isrc/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p -Isrc/mesa/drivers/dri/nouveau -I../src/mesa/drivers/dri/nouveau -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mesa/drivers/dri/common -I../src/mesa/drivers/dri/common -Isrc/util -I../src/util -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="20.3.5"' '-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 -DHAVE_DRM_PLATFORM -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_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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -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 -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv04_state_raster.c.o -MF src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv04_state_raster.c.o.d -o src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv04_state_raster.c.o -c ../src/mesa/drivers/dri/nouveau/nv04_state_raster.c In file included from ../src/util/u_queue.h:38, from ../src/mesa/main/glthread.h:51, from ../src/mesa/main/mtypes.h:42, from ../src/mesa/drivers/dri/nouveau/nouveau_driver.h:31, from ../src/mesa/drivers/dri/nouveau/nv04_state_raster.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 [125/1020] Compiling C object src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv10_state_tex.c.o FAILED: src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv10_state_tex.c.o /tmp/instance-0/output-1/host/bin/riscv32-linux-gcc -Isrc/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p -Isrc/mesa/drivers/dri/nouveau -I../src/mesa/drivers/dri/nouveau -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mesa/drivers/dri/common -I../src/mesa/drivers/dri/common -Isrc/util -I../src/util -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="20.3.5"' '-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 -DHAVE_DRM_PLATFORM -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_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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -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 -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv10_state_tex.c.o -MF src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv10_state_tex.c.o.d -o src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv10_state_tex.c.o -c ../src/mesa/drivers/dri/nouveau/nv10_state_tex.c In file included from ../src/util/u_queue.h:38, from ../src/mesa/main/glthread.h:51, from ../src/mesa/main/mtypes.h:42, from ../src/mesa/drivers/dri/nouveau/nouveau_driver.h:31, from ../src/mesa/drivers/dri/nouveau/nv10_state_tex.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 [126/1020] Compiling C object src/gbm/libgbm.so.1.0.0.p/main_gbm.c.o [127/1020] Generating format_pack.c with a custom command (wrapped by meson to capture output) [128/1020] Compiling C object src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv10_render.c.o FAILED: src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv10_render.c.o /tmp/instance-0/output-1/host/bin/riscv32-linux-gcc -Isrc/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p -Isrc/mesa/drivers/dri/nouveau -I../src/mesa/drivers/dri/nouveau -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mesa/drivers/dri/common -I../src/mesa/drivers/dri/common -Isrc/util -I../src/util -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="20.3.5"' '-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 -DHAVE_DRM_PLATFORM -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_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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -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 -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv10_render.c.o -MF src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv10_render.c.o.d -o src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv10_render.c.o -c ../src/mesa/drivers/dri/nouveau/nv10_render.c In file included from ../src/util/u_queue.h:38, from ../src/mesa/main/glthread.h:51, from ../src/mesa/main/mtypes.h:42, from ../src/mesa/drivers/dri/nouveau/nouveau_driver.h:31, from ../src/mesa/drivers/dri/nouveau/nv10_render.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 [129/1020] Compiling C object src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv20_state_polygon.c.o FAILED: src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv20_state_polygon.c.o /tmp/instance-0/output-1/host/bin/riscv32-linux-gcc -Isrc/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p -Isrc/mesa/drivers/dri/nouveau -I../src/mesa/drivers/dri/nouveau -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mesa/drivers/dri/common -I../src/mesa/drivers/dri/common -Isrc/util -I../src/util -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="20.3.5"' '-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 -DHAVE_DRM_PLATFORM -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_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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -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 -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv20_state_polygon.c.o -MF src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv20_state_polygon.c.o.d -o src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv20_state_polygon.c.o -c ../src/mesa/drivers/dri/nouveau/nv20_state_polygon.c In file included from ../src/util/u_queue.h:38, from ../src/mesa/main/glthread.h:51, from ../src/mesa/main/mtypes.h:42, from ../src/mesa/drivers/dri/nouveau/nouveau_driver.h:31, from ../src/mesa/drivers/dri/nouveau/nv20_state_polygon.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 [130/1020] Compiling C object src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv10_state_polygon.c.o FAILED: src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv10_state_polygon.c.o /tmp/instance-0/output-1/host/bin/riscv32-linux-gcc -Isrc/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p -Isrc/mesa/drivers/dri/nouveau -I../src/mesa/drivers/dri/nouveau -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mesa/drivers/dri/common -I../src/mesa/drivers/dri/common -Isrc/util -I../src/util -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="20.3.5"' '-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 -DHAVE_DRM_PLATFORM -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_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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -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 -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv10_state_polygon.c.o -MF src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv10_state_polygon.c.o.d -o src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv10_state_polygon.c.o -c ../src/mesa/drivers/dri/nouveau/nv10_state_polygon.c In file included from ../src/util/u_queue.h:38, from ../src/mesa/main/glthread.h:51, from ../src/mesa/main/mtypes.h:42, from ../src/mesa/drivers/dri/nouveau/nouveau_driver.h:31, from ../src/mesa/drivers/dri/nouveau/nv10_state_polygon.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 [131/1020] Compiling C object src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv20_state_raster.c.o FAILED: src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv20_state_raster.c.o /tmp/instance-0/output-1/host/bin/riscv32-linux-gcc -Isrc/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p -Isrc/mesa/drivers/dri/nouveau -I../src/mesa/drivers/dri/nouveau -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mesa/drivers/dri/common -I../src/mesa/drivers/dri/common -Isrc/util -I../src/util -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="20.3.5"' '-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 -DHAVE_DRM_PLATFORM -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_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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -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 -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv20_state_raster.c.o -MF src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv20_state_raster.c.o.d -o src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv20_state_raster.c.o -c ../src/mesa/drivers/dri/nouveau/nv20_state_raster.c In file included from ../src/util/u_queue.h:38, from ../src/mesa/main/glthread.h:51, from ../src/mesa/main/mtypes.h:42, from ../src/mesa/drivers/dri/nouveau/nouveau_driver.h:31, from ../src/mesa/drivers/dri/nouveau/nv20_state_raster.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 [132/1020] Compiling C object src/util/format/libmesa_format.a.p/u_format_bptc.c.o [133/1020] Compiling C object src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv10_state_tnl.c.o FAILED: src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv10_state_tnl.c.o /tmp/instance-0/output-1/host/bin/riscv32-linux-gcc -Isrc/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p -Isrc/mesa/drivers/dri/nouveau -I../src/mesa/drivers/dri/nouveau -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mesa/drivers/dri/common -I../src/mesa/drivers/dri/common -Isrc/util -I../src/util -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="20.3.5"' '-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 -DHAVE_DRM_PLATFORM -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_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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -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 -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv10_state_tnl.c.o -MF src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv10_state_tnl.c.o.d -o src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv10_state_tnl.c.o -c ../src/mesa/drivers/dri/nouveau/nv10_state_tnl.c In file included from ../src/util/u_queue.h:38, from ../src/mesa/main/glthread.h:51, from ../src/mesa/main/mtypes.h:42, from ../src/mesa/drivers/dri/nouveau/nouveau_driver.h:31, from ../src/mesa/drivers/dri/nouveau/nv10_state_tnl.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 [134/1020] Compiling C object src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv20_state_fb.c.o FAILED: src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv20_state_fb.c.o /tmp/instance-0/output-1/host/bin/riscv32-linux-gcc -Isrc/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p -Isrc/mesa/drivers/dri/nouveau -I../src/mesa/drivers/dri/nouveau -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mesa/drivers/dri/common -I../src/mesa/drivers/dri/common -Isrc/util -I../src/util -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="20.3.5"' '-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 -DHAVE_DRM_PLATFORM -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_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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -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 -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv20_state_fb.c.o -MF src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv20_state_fb.c.o.d -o src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv20_state_fb.c.o -c ../src/mesa/drivers/dri/nouveau/nv20_state_fb.c In file included from ../src/util/u_queue.h:38, from ../src/mesa/main/glthread.h:51, from ../src/mesa/main/mtypes.h:42, from ../src/mesa/drivers/dri/nouveau/nouveau_driver.h:31, from ../src/mesa/drivers/dri/nouveau/nv20_state_fb.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 [135/1020] Compiling C object src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv20_render.c.o FAILED: src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv20_render.c.o /tmp/instance-0/output-1/host/bin/riscv32-linux-gcc -Isrc/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p -Isrc/mesa/drivers/dri/nouveau -I../src/mesa/drivers/dri/nouveau -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mesa/drivers/dri/common -I../src/mesa/drivers/dri/common -Isrc/util -I../src/util -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="20.3.5"' '-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 -DHAVE_DRM_PLATFORM -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_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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -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 -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv20_render.c.o -MF src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv20_render.c.o.d -o src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv20_render.c.o -c ../src/mesa/drivers/dri/nouveau/nv20_render.c In file included from ../src/util/u_queue.h:38, from ../src/mesa/main/glthread.h:51, from ../src/mesa/main/mtypes.h:42, from ../src/mesa/drivers/dri/nouveau/nouveau_driver.h:31, from ../src/mesa/drivers/dri/nouveau/nv20_render.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 [136/1020] Generating marshal_generated1.c with a custom command (wrapped by meson to capture output) [137/1020] Compiling C object src/util/format/libmesa_format.a.p/u_format_s3tc.c.o [138/1020] Generating marshal_generated3.c with a custom command (wrapped by meson to capture output) [139/1020] Compiling C object src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv20_state_tnl.c.o FAILED: src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv20_state_tnl.c.o /tmp/instance-0/output-1/host/bin/riscv32-linux-gcc -Isrc/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p -Isrc/mesa/drivers/dri/nouveau -I../src/mesa/drivers/dri/nouveau -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mesa/drivers/dri/common -I../src/mesa/drivers/dri/common -Isrc/util -I../src/util -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="20.3.5"' '-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 -DHAVE_DRM_PLATFORM -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_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_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -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 -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv20_state_tnl.c.o -MF src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv20_state_tnl.c.o.d -o src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv20_state_tnl.c.o -c ../src/mesa/drivers/dri/nouveau/nv20_state_tnl.c In file included from ../src/util/u_queue.h:38, from ../src/mesa/main/glthread.h:51, from ../src/mesa/main/mtypes.h:42, from ../src/mesa/drivers/dri/nouveau/nouveau_driver.h:31, from ../src/mesa/drivers/dri/nouveau/nv20_state_tnl.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 [140/1020] Generating marshal_generated2.c with a custom command (wrapped by meson to capture output) [141/1020] Generating api_exec.c with a custom command (wrapped by meson to capture output) [142/1020] Generating marshal_generated4.c with a custom command (wrapped by meson to capture output) [143/1020] Generating marshal_generated5.c with a custom command (wrapped by meson to capture output) [144/1020] Generating marshal_generated7.c with a custom command (wrapped by meson to capture output) [145/1020] Generating marshal_generated6.c with a custom command (wrapped by meson to capture output) [146/1020] Generating get_hash.h with a custom command (wrapped by meson to capture output) [147/1020] Generating marshal_generated0.c with a custom command (wrapped by meson to capture output) [148/1020] Generating dispatch.h with a custom command (wrapped by meson to capture output) [149/1020] Generating marshal_generated.h with a custom command (wrapped by meson to capture output) [150/1020] Generating remap_helper.h with a custom command (wrapped by meson to capture output) [151/1020] Generating shared_glapi_mapi_tmp.h with a custom command (wrapped by meson to capture output) [152/1020] Generating nir_opt_algebraic.c with a custom command (wrapped by meson to capture output) [153/1020] Generating format_srgb with a custom command (wrapped by meson to capture output) [154/1020] Compiling C object src/util/format/libmesa_format.a.p/meson-generated_.._u_format_table.c.o ninja: build stopped: subcommand failed. make: *** [package/pkg-generic.mk:250: /tmp/instance-0/output-1/build/mesa3d-20.3.5/.stamp_built] Error 1 make: Leaving directory '/tmp/instance-0/buildroot'