Skip to contentSkip to conversation

drivers/iio/common/hid-sensors/hid-sensor-attributes.c:312: undefined reference to `__udivdi3'

PATCH Jonathan Cameron 2 participants 3 messages Sep 5, 2019 – Sep 6, 2019 2 messages not in the archive IIO

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 201909041145.dxkxV8cJ%[email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 11 lines · On Wed, 4 Sep 2019 15:37:11 +0300 Andy Shevchenko…
Quoted 10 lines · kbuild test robot
tree:   https://kernel.googlesource.com/pub/scm/linux/kernel/git/gregkh/staging.git staging-testing
head:   74eb9c06b1d722468db397595ac6834b9e4ac235
commit: 473d12f7638c93acbd9296a8cd455b203d5eb528 [314/401] iio: hid-sensor-attributes: Convert to use int_pow()
config: i386-randconfig-e004-201935 (attached as .config)
compiler: gcc-7 (Debian 7.4.0-11) 7.4.0
reproduce:
        git checkout 473d12f7638c93acbd9296a8cd455b203d5eb528
        # save the attached .config to linux build tree
        make ARCH=i386 
Quoted 7 lines
Quoted 4 lines

If you fix the issue, kindly add following tag

All errors (new ones prefixed by >>):

So, as far as I understood it wasn't compiled on 32-bit before, so, it's not a new error and thus would (has to?) be fixed separately.

I'm not convinced. My assumption is this is triggered because the local pow_10 function was returning int whereas generic int_pow is returning an int64. Whilst I would imagine it is fairly easy to fix, I'll not have a chance to do so until the weekend. Perhaps we should just revert this patch and revisit in the next cycle?

0-day people, any idea why the iio.git/testing branch isn't getting built any more? I got lazy and started relying on your infrastructure and not bothering with 32 bit local builds. Somewhere along the way you stopped building it and I'm afraid I didn't really notice.

Thanks for you all your hard work on 0day btw as it used to catch a lot of stuff my local few builds didn't!

Jonathan

Quoted 8 lines
Quoted 6 lines

ld: drivers/iio/common/hid-sensors/hid-sensor-attributes.o: in function `adjust_exponent_nano':

Quoted 3 lines
Quoted 3 lines

drivers/iio/common/hid-sensors/hid-sensor-attributes.c:312: undefined reference to `__udivdi3'
ld: drivers/iio/common/hid-sensors/hid-sensor-attributes.c:314: undefined reference to `__umoddi3'
ld: drivers/iio/common/hid-sensors/hid-sensor-attributes.c:324: undefined reference to `__udivdi3'

ld: drivers/iio/common/hid-sensors/hid-sensor-attributes.c:325: undefined reference to `__umoddi3'

#3 lore raw
Quoted 31 lines · Jonathan Cameron
Quoted 11 lines · On Wed, 4 Sep 2019 15:37:11 +0300 Andy Shevchenko…
Quoted 10 lines · kbuild test robot
tree:   https://kernel.googlesource.com/pub/scm/linux/kernel/git/gregkh/staging.git staging-testing
head:   74eb9c06b1d722468db397595ac6834b9e4ac235
commit: 473d12f7638c93acbd9296a8cd455b203d5eb528 [314/401] iio: hid-sensor-attributes: Convert to use int_pow()
config: i386-randconfig-e004-201935 (attached as .config)
compiler: gcc-7 (Debian 7.4.0-11) 7.4.0
reproduce:
         git checkout 473d12f7638c93acbd9296a8cd455b203d5eb528
         # save the attached .config to linux build tree
         make ARCH=i386
Quoted 6 lines
Quoted 4 lines

If you fix the issue, kindly add following tag

All errors (new ones prefixed by >>):

So, as far as I understood it wasn't compiled on 32-bit before, so, it's not a new error and thus would (has to?) be fixed separately.

I'm not convinced. My assumption is this is triggered because the local pow_10 function was returning int whereas generic int_pow is returning an int64. Whilst I would imagine it is fairly easy to fix, I'll not have a chance to do so until the weekend. Perhaps we should just revert this patch and revisit in the next cycle?

0-day people, any idea why the iio.git/testing branch isn't getting built any more? I got lazy and started relying on your infrastructure and not bothering with 32 bit local builds. Somewhere along the way you stopped building it and I'm afraid I didn't really notice.

Quoted 4 lines

Thanks for you all your hard work on 0day btw as it used to catch a lot of stuff my local few builds didn't!

Jonathan

Hi Jonathan,

Sorry for the inconvenience, we updated the git url to https://kernel.googlesource.com/pub/scm/linux/kernel/git/jic23/iio.git recently, but it seems the branches are not updated, so we switch to use https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git now.

Best Regards,
Rong Chen

Quoted 14 lines
Quoted 9 lines
Quoted 8 lines

ld: drivers/iio/common/hid-sensors/hid-sensor-attributes.o: in function `adjust_exponent_nano':

Quoted 3 lines
Quoted 3 lines

drivers/iio/common/hid-sensors/hid-sensor-attributes.c:312: undefined reference to `__udivdi3'
ld: drivers/iio/common/hid-sensors/hid-sensor-attributes.c:314: undefined reference to `__umoddi3'
ld: drivers/iio/common/hid-sensors/hid-sensor-attributes.c:324: undefined reference to `__udivdi3'

ld: drivers/iio/common/hid-sensors/hid-sensor-attributes.c:325: undefined reference to `__umoddi3'

_______________________________________________
kbuild-all mailing list
[email protected]
https://lists.01.org/mailman/listinfo/kbuild-all

#4 lore raw
Quoted 37 lines · Rong A
Quoted 31 lines · Jonathan Cameron
Quoted 11 lines · On Wed, 4 Sep 2019 15:37:11 +0300 Andy Shevchenko…
Quoted 10 lines · kbuild test robot
tree:   https://kernel.googlesource.com/pub/scm/linux/kernel/git/gregkh/staging.git staging-testing
head:   74eb9c06b1d722468db397595ac6834b9e4ac235
commit: 473d12f7638c93acbd9296a8cd455b203d5eb528 [314/401] iio: hid-sensor-attributes: Convert to use int_pow()
config: i386-randconfig-e004-201935 (attached as .config)
compiler: gcc-7 (Debian 7.4.0-11) 7.4.0
reproduce:
         git checkout 473d12f7638c93acbd9296a8cd455b203d5eb528
         # save the attached .config to linux build tree
         make ARCH=i386
Quoted 6 lines
Quoted 4 lines

If you fix the issue, kindly add following tag

All errors (new ones prefixed by >>):

So, as far as I understood it wasn't compiled on 32-bit before, so, it's not a new error and thus would (has to?) be fixed separately.

I'm not convinced. My assumption is this is triggered because the local pow_10 function was returning int whereas generic int_pow is returning an int64. Whilst I would imagine it is fairly easy to fix, I'll not have a chance to do so until the weekend. Perhaps we should just revert this patch and revisit in the next cycle?

0-day people, any idea why the iio.git/testing branch isn't getting built any more? I got lazy and started relying on your infrastructure and not bothering with 32 bit local builds. Somewhere along the way you stopped building it and I'm afraid I didn't really notice.

Quoted 4 lines

Thanks for you all your hard work on 0day btw as it used to catch a lot of stuff my local few builds didn't!

Jonathan

Quoted 7 lines

Hi Jonathan,

Sorry for the inconvenience, we updated the git url to
https://kernel.googlesource.com/pub/scm/linux/kernel/git/jic23/iio.git
recently,
but it seems the branches are not updated, so we switch to use
https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git now.

Thanks. I wonder why some trees don't seem to be getting updated in that google mirror. Anyone know who manages that as a bit silly having mirrors that are years out of date. Anyone know who manages those mirrors? I've poked the send feedback form but who knows if it'll filter through to the right person.

Anyhow, thanks Rong Chen. Looking forwards to continuing to be lazy and rely on your excellent service!

Jonathan

Quoted 20 lines

Best Regards,
Rong Chen

Quoted 14 lines
Quoted 9 lines
Quoted 8 lines

ld: drivers/iio/common/hid-sensors/hid-sensor-attributes.o: in function `adjust_exponent_nano':

Quoted 3 lines
Quoted 3 lines

drivers/iio/common/hid-sensors/hid-sensor-attributes.c:312: undefined reference to `__udivdi3'
ld: drivers/iio/common/hid-sensors/hid-sensor-attributes.c:314: undefined reference to `__umoddi3'
ld: drivers/iio/common/hid-sensors/hid-sensor-attributes.c:324: undefined reference to `__udivdi3'

ld: drivers/iio/common/hid-sensors/hid-sensor-attributes.c:325: undefined reference to `__umoddi3'

_______________________________________________
kbuild-all mailing list
[email protected]
https://lists.01.org/mailman/listinfo/kbuild-all