Skip to contentSkip to conversation

Fix the sparc32 mpilib build mess.

PATCH In review David Miller 2 participants 3 messages Jan 26, 2012 – Feb 1, 2012

lore
Share & tools
lore
#0 lore raw

cover Fix the sparc32 mpilib build mess.

The long and short of it is that the longlong.h header added by the mpilib code is quite old and out of date.

Here I've solved the clz_tab[] multiple definition problem as well as the outdated udiv_qrnnd() definition, but long term we should probably have a more uptodate longlong.h header provides at include/linux/longlong.h to avoid this kind of stuff in the future.

It's a part of the libgcc interface and therefore has no business being tucked down deep under lib/foo/ somewhere.

#1 lore raw
Quoted 4 lines · David Miller

The long and short of it is that the longlong.h header added by the mpilib code is quite old and out of date.

Quoted 8 lines

Here I've solved the clz_tab[] multiple definition problem as well as the outdated udiv_qrnnd() definition, but long term we should probably have a more uptodate longlong.h header provides at include/linux/longlong.h to avoid this kind of stuff in the future.

It's a part of the libgcc interface and therefore has no business being tucked down deep under lib/foo/ somewhere.

Hello,

There is newer version of longlong.h in libgcrypt. I will definitely try it...

- Dmitry

#2 lore raw
In reply to David Miller

I am very sorry...
I was trying to test-forward saved patch mails, but it did work not like I expected... Try to find out how to forward email without TO and CC lists..

- Dmitry

Quoted 14 lines · Dmitry Kasatkin

From: David Miller<[email protected]>

The long and short of it is that the longlong.h header added by the mpilib code is quite old and out of date.

Here I've solved the clz_tab[] multiple definition problem as well as the outdated udiv_qrnnd() definition, but long term we should probably have a more uptodate longlong.h header provides at include/linux/longlong.h to avoid this kind of stuff in the future.

It's a part of the libgcc interface and therefore has no business being tucked down deep under lib/foo/ somewhere.