All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 4484] New: libstdc++ has _GLIBCXX_HAVE_FENV_H undefined but uclibc appears to have a fenv.h
@ 2011-11-15 20:58 bugzilla at busybox.net
  2011-11-26 20:46 ` [Buildroot] [Bug 4484] " bugzilla at busybox.net
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: bugzilla at busybox.net @ 2011-11-15 20:58 UTC (permalink / raw)
  To: buildroot

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

           Summary: libstdc++ has _GLIBCXX_HAVE_FENV_H undefined but
                    uclibc appears to have a fenv.h
           Product: buildroot
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P5
         Component: Other
        AssignedTo: unassigned at buildroot.uclibc.org
        ReportedBy: holger at freyther.de
                CC: buildroot at uclibc.org
   Estimated Hours: 0.0


bits/c++config.h does not define GLUBCXX_HAVE_FENV but it appears that uclibc
has basic support for it.

-- 
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.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Buildroot] [Bug 4484] libstdc++ has _GLIBCXX_HAVE_FENV_H undefined but uclibc appears to have a fenv.h
  2011-11-15 20:58 [Buildroot] [Bug 4484] New: libstdc++ has _GLIBCXX_HAVE_FENV_H undefined but uclibc appears to have a fenv.h bugzilla at busybox.net
@ 2011-11-26 20:46 ` bugzilla at busybox.net
  2011-11-29 11:30 ` bugzilla at busybox.net
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla at busybox.net @ 2011-11-26 20:46 UTC (permalink / raw)
  To: buildroot

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

Peter Korsgaard <jacmet@uclibc.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED

--- Comment #1 from Peter Korsgaard <jacmet@uclibc.org> 2011-11-26 20:46:52 UTC ---
On what arch is this? uClibc currently only has basic fenv support for i386

-- 
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.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Buildroot] [Bug 4484] libstdc++ has _GLIBCXX_HAVE_FENV_H undefined but uclibc appears to have a fenv.h
  2011-11-15 20:58 [Buildroot] [Bug 4484] New: libstdc++ has _GLIBCXX_HAVE_FENV_H undefined but uclibc appears to have a fenv.h bugzilla at busybox.net
  2011-11-26 20:46 ` [Buildroot] [Bug 4484] " bugzilla at busybox.net
@ 2011-11-29 11:30 ` bugzilla at busybox.net
  2011-11-29 11:31 ` bugzilla at busybox.net
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla at busybox.net @ 2011-11-29 11:30 UTC (permalink / raw)
  To: buildroot

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

--- Comment #2 from jacek.kolo at gmail.com 2011-11-29 11:30:33 UTC ---
Created attachment 3818
  --> https://bugs.busybox.net/attachment.cgi?id=3818
Buildroot configuration with fenv no such file problem

-- 
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.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Buildroot] [Bug 4484] libstdc++ has _GLIBCXX_HAVE_FENV_H undefined but uclibc appears to have a fenv.h
  2011-11-15 20:58 [Buildroot] [Bug 4484] New: libstdc++ has _GLIBCXX_HAVE_FENV_H undefined but uclibc appears to have a fenv.h bugzilla at busybox.net
  2011-11-26 20:46 ` [Buildroot] [Bug 4484] " bugzilla at busybox.net
  2011-11-29 11:30 ` bugzilla at busybox.net
@ 2011-11-29 11:31 ` bugzilla at busybox.net
  2011-11-29 11:37 ` bugzilla at busybox.net
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla at busybox.net @ 2011-11-29 11:31 UTC (permalink / raw)
  To: buildroot

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

--- Comment #3 from jacek.kolo at gmail.com 2011-11-29 11:31:07 UTC ---
Created attachment 3824
  --> https://bugs.busybox.net/attachment.cgi?id=3824
Full error log

-- 
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.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Buildroot] [Bug 4484] libstdc++ has _GLIBCXX_HAVE_FENV_H undefined but uclibc appears to have a fenv.h
  2011-11-15 20:58 [Buildroot] [Bug 4484] New: libstdc++ has _GLIBCXX_HAVE_FENV_H undefined but uclibc appears to have a fenv.h bugzilla at busybox.net
                   ` (2 preceding siblings ...)
  2011-11-29 11:31 ` bugzilla at busybox.net
@ 2011-11-29 11:37 ` bugzilla at busybox.net
  2011-11-29 19:26 ` bugzilla at busybox.net
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla at busybox.net @ 2011-11-29 11:37 UTC (permalink / raw)
  To: buildroot

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

--- Comment #4 from jacek.kolo at gmail.com 2011-11-29 11:37:26 UTC ---
(In reply to comment #1)
> On what arch is this? uClibc currently only has basic fenv support for i386

I believe I hit this problem. I'm using a powerpc p2020 (e500 core based)
development board. The compilation ends with:

powerpc-unknown-linux-uclibc/libstdc++-v3/include/fenv.h:36:24: fatal error:
fenv.h: No such file or directory
compilation terminated.

Reproducible: always

Submitted my configuration file and full error log.

Solution for compiling without this error:
after getting the error
make uclibc-menuconfig
switch UCLIBC_HAS_FENV to [=y]

PS. bug reporting for the first time - please excuse any inconveniences

-- 
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.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Buildroot] [Bug 4484] libstdc++ has _GLIBCXX_HAVE_FENV_H undefined but uclibc appears to have a fenv.h
  2011-11-15 20:58 [Buildroot] [Bug 4484] New: libstdc++ has _GLIBCXX_HAVE_FENV_H undefined but uclibc appears to have a fenv.h bugzilla at busybox.net
                   ` (3 preceding siblings ...)
  2011-11-29 11:37 ` bugzilla at busybox.net
@ 2011-11-29 19:26 ` bugzilla at busybox.net
  2011-12-08 15:17 ` bugzilla at busybox.net
  2012-01-31 22:15 ` bugzilla at busybox.net
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla at busybox.net @ 2011-11-29 19:26 UTC (permalink / raw)
  To: buildroot

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

--- Comment #5 from Peter Korsgaard <jacmet@uclibc.org> 2011-11-29 19:26:20 UTC ---
(In reply to comment #4)
> Submitted my configuration file and full error log.
> 
> Solution for compiling without this error:
> after getting the error
> make uclibc-menuconfig
> switch UCLIBC_HAS_FENV to [=y]
> 
> PS. bug reporting for the first time - please excuse any inconveniences

From the .config I see:

grep ^BR2_UCLIBC .config
BR2_UCLIBC_VERSION_0_9_32=y
BR2_UCLIBC_VERSION_STRING="0.9.32"
BR2_UCLIBC_CONFIG="toolchain/uClibc/uClibc-0.9.31.config"

So you try to build uClibc 0.9.32 with a 0.9.31 defconfig. That is not going to
work. Please change it to uClibc-0.9.32.config and try again.

-- 
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.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Buildroot] [Bug 4484] libstdc++ has _GLIBCXX_HAVE_FENV_H undefined but uclibc appears to have a fenv.h
  2011-11-15 20:58 [Buildroot] [Bug 4484] New: libstdc++ has _GLIBCXX_HAVE_FENV_H undefined but uclibc appears to have a fenv.h bugzilla at busybox.net
                   ` (4 preceding siblings ...)
  2011-11-29 19:26 ` bugzilla at busybox.net
@ 2011-12-08 15:17 ` bugzilla at busybox.net
  2012-01-31 22:15 ` bugzilla at busybox.net
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla at busybox.net @ 2011-12-08 15:17 UTC (permalink / raw)
  To: buildroot

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

--- Comment #6 from Jacek Ko?odziejski <jacek.kolo@gmail.com> 2011-12-08 15:17:34 UTC ---
(In reply to comment #5)
> (In reply to comment #4)
> > Submitted my configuration file and full error log.
> > 
> > Solution for compiling without this error:
> > after getting the error
> > make uclibc-menuconfig
> > switch UCLIBC_HAS_FENV to [=y]
> > 
> > PS. bug reporting for the first time - please excuse any inconveniences
> 
> From the .config I see:
> 
> grep ^BR2_UCLIBC .config
> BR2_UCLIBC_VERSION_0_9_32=y
> BR2_UCLIBC_VERSION_STRING="0.9.32"
> BR2_UCLIBC_CONFIG="toolchain/uClibc/uClibc-0.9.31.config"
> 
> So you try to build uClibc 0.9.32 with a 0.9.31 defconfig. That is not going to
> work. Please change it to uClibc-0.9.32.config and try again.

Hi,
I changed the .config to use "toolchain/uClibc/uClibc-0.9.32.config" (I only
touched this thing), did make clean, and git pull.The compilation ends in the
same place with the same effect (small unrelated differences - I can submit if
you want). 

I looked at the two defconfigs - both have # UCLIBC_HAS_FENV is not set. 
I also noticed this patch:
toolchain/uClibc/uClibc-0.9.32-honor-UCLIBC_HAS_FENV-for-e500.patch, but sadly
I don't understand if it has anything in common.

Regards, Jacek

grep ^BR2_UCLIBC .config
BR2_UCLIBC_VERSION_0_9_32=y
BR2_UCLIBC_VERSION_STRING="0.9.32"
BR2_UCLIBC_CONFIG="toolchain/uClibc/uClibc-0.9.32.config"

-- 
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.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Buildroot] [Bug 4484] libstdc++ has _GLIBCXX_HAVE_FENV_H undefined but uclibc appears to have a fenv.h
  2011-11-15 20:58 [Buildroot] [Bug 4484] New: libstdc++ has _GLIBCXX_HAVE_FENV_H undefined but uclibc appears to have a fenv.h bugzilla at busybox.net
                   ` (5 preceding siblings ...)
  2011-12-08 15:17 ` bugzilla at busybox.net
@ 2012-01-31 22:15 ` bugzilla at busybox.net
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla at busybox.net @ 2012-01-31 22:15 UTC (permalink / raw)
  To: buildroot

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

Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |WORKSFORME

--- Comment #7 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 2012-01-31 22:15:16 UTC ---
I just tried with the latest Buildroot to build a PowerPC toolchain with gcc
4.6 for e500mc, and it just works fine.

If it still doesn't work for you, please post your Buildroot .config file. Your
previous one was incorrect because it was using the 0.9.31 uClibc configuration
with a 0.9.32 uClibc.

-- 
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.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-01-31 22:15 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-15 20:58 [Buildroot] [Bug 4484] New: libstdc++ has _GLIBCXX_HAVE_FENV_H undefined but uclibc appears to have a fenv.h bugzilla at busybox.net
2011-11-26 20:46 ` [Buildroot] [Bug 4484] " bugzilla at busybox.net
2011-11-29 11:30 ` bugzilla at busybox.net
2011-11-29 11:31 ` bugzilla at busybox.net
2011-11-29 11:37 ` bugzilla at busybox.net
2011-11-29 19:26 ` bugzilla at busybox.net
2011-12-08 15:17 ` bugzilla at busybox.net
2012-01-31 22:15 ` bugzilla at busybox.net

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.