question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ldlogger always built 32 bit

See original GitHub issue

Describe the bug At line 86 of the ld-logger Makefile, the executable is always built for 32 bit. This causes problems on 64 bit build hosts that do not have 32 bit dev environments installed.

CodeChecker version Current master

To Reproduce Steps to reproduce the behavior

  1. obtain current master
  2. ensure build host does not have 32 bit dev environment
  3. make package
  4. observe quiet build failure in ldlogger

Expected behavior Build.

Desktop (please complete the following information)

  • OS: CentOS Linux release 7.3.1611 (Core)

Additional context Removing -m32 seems to solve the problem for me.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
Hoernchencommented, Jul 17, 2019

This issue is still not fixed, /analyzer/tools/build-logger/Makefile.manual still contains “$(CC) -m32” for ldlogger, so the 64bit only build with BUILD_LOGGER_64_BIT_ONLY still tries to build a 32bit binary, which fails for me, due to a lack of 32bit dev environment.

0reactions
crockeeacommented, Jun 18, 2020

I’ve re-opened this ticket as #2790.

Read more comments on GitHub >

github_iconTop Results From Across the Web

The proper way of forcing a 32-bit compile using CMake
I need to force my project to build 32-bit binaries because I have to link with a library which is only available as...
Read more >
How to build only 64 bit or 32 bit so files - Google Groups
After modifying and compiling, I noticed that 32 and 64 bit libraryies are always built. While I only use 32 or 64 bit...
Read more >
32 bit builds fail · Issue #36 · open-mpi/hwloc - GitHub
hwloc fails to build when CFLAGS=-m32. It has shown up in nightly Open MPI test builds, but is easy to reproduce in standalone...
Read more >
How to compile 32-bit program on 64-bit gcc in C and C++
Just type the following command on Linux terminal. Command: gcc -v Output Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc ...
Read more >
Linux Find If Processor (CPU) is 64 bit / 32 bit [long mode ~ lm]
I am a new Linux system user. How do I determine if my CPU is 64bit or not on a Linux operating systems...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found