Skip to contentSkip to conversation

New: libglib2-2.24.1 and libxml2-2.7.7 on MIPS because is missing -ldl

Buildroot bugzilla at busybox.net 1 participant 8 messages Aug 11, 2010 – Aug 30, 2010

lore
Share & tools
lore
#0 lore raw

https://bugs.busybox.net/show_bug.cgi?id=2395

Summary: libglib2-2.24.1 and libxml2-2.7.7 on MIPS because is
missing -ldl
Product: buildroot
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: minor
Priority: P5
Component: Other
AssignedTo: unassigned at buildroot.uclibc.org
ReportedBy: sergio at sergiomb.no-ip.org
CC: buildroot at uclibc.org
Estimated Hours: 0.0

with buildroot git version from today .
same config of bug #635 (https://bugs.busybox.net/attachment.cgi?id=2269)

I have to make cd buildroot/output/build/libglib2-2.24.1/ vi gio/Makefile
and add -ldl to LIBS
LIBS = -lintl -ldl

same for gio/tests/Makefile

for libxml2-2.7.7 happens the same.
cd buildroot/output/build/libxml2-2.7.7/
I had to add -ldl to LIBS on
Makefile
doc/examples/Makefile
example/Makefile

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#1 lore raw

[Buildroot] [Bug 2395] libglib2-2.24.1 and libxml2-2.7.7 fails build on MIPS because is missing -ldl

https://bugs.busybox.net/show_bug.cgi?id=2395

S?rgio <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

            Summary|libglib2-2.24.1 and         |libglib2-2.24.1 and
                   |libxml2-2.7.7 on MIPS       |libxml2-2.7.7 fails build
                   |because is missing -ldl     |on MIPS because is missing
                   |                            |-ldl
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#2 lore raw

[Buildroot] [Bug 2395] libglib2-2.24.1 and libxml2-2.7.7 fails build on MIPS because is missing -ldl

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=2395

--- Comment #1 from Thomas Petazzoni <[email protected]> --- I'm sorry but with exactly your configuration, I'm able to build both libglib2 and libxml2 properly, without any of the modifications you've done.

Could you please to a complete rebuild from scratch (removing everything !) and put the build log somewhere ?

Adding -ldl manually to the Makefiles is not a proper fix, the Makefiles are generated files, and the fact that -ldl is needed or not should be detected by the ./configure script.

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#3 lore raw

[Buildroot] [Bug 2395] libglib2-2.24.1 and libxml2-2.7.7 fails build on MIPS because is missing -ldl

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=2395

--- Comment #2 from S?rgio <[email protected]> --- (In reply to comment #1)

Quoted 5 lines

I'm sorry but with exactly your configuration, I'm able to build both libglib2 and libxml2 properly, without any of the modifications you've done.

Could you please to a complete rebuild from scratch (removing everything !) and put the build log somewhere ?

I reported, just after do a make clean , make clean is that enough ?

Quoted 1 line

Adding -ldl manually to the Makefiles is not a proper fix,

I know that ...

Quoted 3 lines

the Makefiles are
generated files, and the fact that -ldl is needed or not should be detected by the ./configure script.

./configure is the file that I should try to patch ?

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#4 lore raw

[Buildroot] [Bug 2395] libglib2-2.24.1 and libxml2-2.7.7 fails build on MIPS because is missing -ldl

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=2395

--- Comment #3 from Thomas Petazzoni <[email protected]> ---

Quoted 1 line

I reported, just after do a make clean , make clean is that enough ?

'make clean' is indeed enough. Please put the full build log online somewhere. As I can't reproduce the issue, if you don't provide a full build log so that I can start the investigation, I will unfortunately have no other option than closing this bug because of missing information.

You can also try to reproduce by disabling BR2_CONFIG_CACHE (by default it is enabled). I'm fairly strongly suspecting a configure cache issue.

Quoted 5 lines
Quoted 3 lines

the Makefiles are
generated files, and the fact that -ldl is needed or not should be detected by the ./configure script.

./configure is the file that I should try to patch ?

No. configure is also generated. For the error you're describing, there should be nothing to patch. It should just work.

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#5 lore raw

[Buildroot] [Bug 2395] libglib2-2.24.1 and libxml2-2.7.7 fails build on MIPS because is missing -ldl

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=2395

--- Comment #4 from S?rgio <[email protected]> --- (In reply to comment #3)

Quoted 5 lines
Quoted 1 line

I reported, just after do a make clean , make clean is that enough ?

'make clean' is indeed enough. Please put the full build log online somewhere. As I can't reproduce the issue, if you don't provide a full build log so that I can start the investigation,

ok , I will put it don't worry , I am in holidays and this is only a hobby ... give me 2 days please.

Quoted 5 lines

I will unfortunately have no other option than
closing this bug because of missing information.

You can also try to reproduce by disabling BR2_CONFIG_CACHE (by default it is enabled). I'm fairly strongly suspecting a configure cache issue.

ok I will check that.

thanks,

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#6 lore raw

[Buildroot] [Bug 2395] libglib2-2.24.1 and libxml2-2.7.7 fails build on MIPS because is missing -ldl

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=2395

--- Comment #5 from S?rgio <[email protected]> --- (In reply to comment #4)

Quoted 10 lines

(In reply to comment #3)

Quoted 5 lines
Quoted 1 line

I reported, just after do a make clean , make clean is that enough ?

'make clean' is indeed enough. Please put the full build log online somewhere. As I can't reproduce the issue, if you don't provide a full build log so that I can start the investigation,

ok , I will put it don't worry , I am in holidays and this is only a hobby ... give me 2 days please.

Quoted 7 lines
Quoted 5 lines

I will unfortunately have no other option than
closing this bug because of missing information.

You can also try to reproduce by disabling BR2_CONFIG_CACHE (by default it is enabled). I'm fairly strongly suspecting a configure cache issue.

ok I will check that.

After disable BR2_CONFIG_CACHE, I don't have this issue anymore ...

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#7 lore raw

[Buildroot] [Bug 2395] libglib2-2.24.1 and libxml2-2.7.7 fails build on MIPS because is missing -ldl

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=2395

Peter Korsgaard <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #6 from Peter Korsgaard <[email protected]> --- closing now that we have disabled shared config.cache by default.

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.