FS#16466 - [glibc] cannot find stubs-32.h

Attached to Project: Arch Linux
Opened by Vitaly Dolgov (Ferhiord) - Sunday, 04 October 2009, 22:25 GMT
Last edited by Roman Kyrylych (Romashka) - Sunday, 04 October 2009, 22:40 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

$ cat main.c
#include <stdio.h>

int main(int argc, char **argv)
{
printf("%d\n", sizeof(long));
return 0;
}

$ make
cc -Wall -g -m32 main.c -o main
In file included from /usr/include/features.h:371,
from /usr/include/stdio.h:28,
from main.c:1:
/usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or directory
make: *** [main] Error 1

$ pacman -Qo /usr/include/gnu/stubs.h
/usr/include/gnu/stubs.h is owned by glibc 2.10.1-4

$ pacman -Qqs glibc
glibc
lib32-glibc

on x86_32 machine:
$ pacman -Qo /usr/include/gnu/stubs-32.h
/usr/include/gnu/stubs-32.h is owned by glibc 2.10.1-4

I think it's bug.
This task depends upon

Closed by  Roman Kyrylych (Romashka)
Sunday, 04 October 2009, 22:40 GMT
Reason for closing:  Not a bug
Additional comments about closing:  It's not a bug, it's a feature.
We don't support compiling 32-bit apps on 64-bit systems.

Loading...