Hi,
recent libfuse-perl FTBFS on mips
I am clue less could you get a glimpse look like a compiler/preprocessor bug
Bastien
Bastien ROUCARIES <roucaries.bastien@gmail.com> 于2018年7月2日周一 下午9:52写道:
Hi,
recent libfuse-perl FTBFS on mips
I am clue less could you get a glimpse look like a compiler/preprocessor bug
Thank you for your report. I will have a look at it.
It is a quite strange problem.
Bastien
--
YunQiang Su
With some track, I found that x86 use asm-generic/ioctls.h, while
mips* use itself's asm/ioctls.h,
which lack some of macros defined.
I will go ahead to dig why this delta.
YunQiang Su <wzssyqa@gmail.com> 于2018年7月2日周一 下午11:49写道:
Bastien ROUCARIES <roucaries.bastien@gmail.com> 于2018年7月2日周一 下午9:52写道:
Hi,
recent libfuse-perl FTBFS on mips
I am clue less could you get a glimpse look like a compiler/preprocessor bug
Thank you for your report. I will have a look at it.
It is a quite strange problem.
Bastien
--
YunQiang Su
--
YunQiang Su
It seems a glibc problem, in /usr/include/mips64el-linux-gnuabi64/asm/sockios.h,
which use macro from ioctl.h.
So sys/ioctl.h should be include before sys/socket.h
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <stdio.h>
int main(){
long a = IOC_IN;
printf("%lx\n", a);
}
YunQiang Su <wzssyqa@gmail.com> 于2018年7月11日周三 上午8:36写道:
With some track, I found that x86 use asm-generic/ioctls.h, while
mips* use itself's asm/ioctls.h,
which lack some of macros defined.
I will go ahead to dig why this delta.
YunQiang Su <wzssyqa@gmail.com> 于2018年7月2日周一 下午11:49写道:
Bastien ROUCARIES <roucaries.bastien@gmail.com> 于2018年7月2日周一 下午9:52写道:
Hi,
recent libfuse-perl FTBFS on mips
I am clue less could you get a glimpse look like a compiler/preprocessor bug
Thank you for your report. I will have a look at it.
It is a quite strange problem.
Bastien
--
YunQiang Su
--
YunQiang Su
--
YunQiang Su
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 296 |
Nodes: | 16 (2 / 14) |
Uptime: | 84:23:47 |
Calls: | 6,658 |
Calls today: | 4 |
Files: | 12,203 |
Messages: | 5,333,601 |
Posted today: | 1 |