[opensuse-arm] ARMv7 compile error
|Hi,| || |||I made a package in OBS: https://build.opensuse.org/package/show?package=xf86-video-omap&project=home... And I get this error for armv7: error: visibility attribute not supported in this configuration; ignored [-Werror=attributes] || cc1: all warnings being treated as errors| | I enabled armv5 for testing and it builds fine in armv5. I tried to play with some ./configure options with no effect. Any idea? Guillaume | -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
On 02.07.2012, at 18:21, Guillaume GARDET wrote:
|Hi,| || |||I made a package in OBS: https://build.opensuse.org/package/show?package=xf86-video-omap&project=home...
And I get this error for armv7:
error: visibility attribute not supported in this configuration; ignored [-Werror=attributes] || cc1: all warnings being treated as errors| | I enabled armv5 for testing and it builds fine in armv5.
I tried to play with some ./configure options with no effect.
Any idea?
Does it work with osc build on your board (native gcc)? Alex -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
On 02.07.2012, at 18:27, Alexander Graf wrote:
On 02.07.2012, at 18:21, Guillaume GARDET wrote:
|Hi,| || |||I made a package in OBS: https://build.opensuse.org/package/show?package=xf86-video-omap&project=home...
And I get this error for armv7:
error: visibility attribute not supported in this configuration; ignored [-Werror=attributes] || cc1: all warnings being treated as errors| | I enabled armv5 for testing and it builds fine in armv5.
I tried to play with some ./configure options with no effect.
Any idea?
Does it work with osc build on your board (native gcc)?
In fact, this sounds like the bug when the cross gcc couldn't find its binutils during configure time, so it disabled visibility attributes... Alex -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
On 02.07.2012, at 18:28, Alexander Graf wrote:
On 02.07.2012, at 18:27, Alexander Graf wrote:
On 02.07.2012, at 18:21, Guillaume GARDET wrote:
|Hi,| || |||I made a package in OBS: https://build.opensuse.org/package/show?package=xf86-video-omap&project=home...
And I get this error for armv7:
error: visibility attribute not supported in this configuration; ignored [-Werror=attributes] || cc1: all warnings being treated as errors| | I enabled armv5 for testing and it builds fine in armv5.
I tried to play with some ./configure options with no effect.
Any idea?
Does it work with osc build on your board (native gcc)?
In fact, this sounds like the bug when the cross gcc couldn't find its binutils during configure time, so it disabled visibility attributes...
Adrian, any idea why the cross-armv7l icecream compiler is "excluded" in Factory? https://build.opensuse.org/package/show?package=cross-armv7l-gcc47-icecream-... Alex -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Am Montag, 2. Juli 2012, 18:31:39 schrieb Alexander Graf:
On 02.07.2012, at 18:28, Alexander Graf wrote:
On 02.07.2012, at 18:27, Alexander Graf wrote:
On 02.07.2012, at 18:21, Guillaume GARDET wrote:
|Hi,| || |||I made a package in OBS: https://build.opensuse.org/package/show?package=xf86-video-omap&project=home...
And I get this error for armv7:
error: visibility attribute not supported in this configuration; ignored [-Werror=attributes] || cc1: all warnings being treated as errors| | I enabled armv5 for testing and it builds fine in armv5.
I tried to play with some ./configure options with no effect.
Any idea?
Does it work with osc build on your board (native gcc)?
In fact, this sounds like the bug when the cross gcc couldn't find its binutils during configure time, so it disabled visibility attributes...
Adrian, any idea why the cross-armv7l icecream compiler is "excluded" in Factory?
https://build.opensuse.org/package/show?package=cross-armv7l-gcc47-icecream-...
because there is no matching spec file to the container name (armv7hl vs armv7l). This is usually done by a script of coolo regulary, but I fixed this manually for now. -- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Le 02/07/2012 18:27, Alexander Graf a écrit :
On 02.07.2012, at 18:21, Guillaume GARDET wrote:
|Hi,| || |||I made a package in OBS: https://build.opensuse.org/package/show?package=xf86-video-omap&project=home...
And I get this error for armv7:
error: visibility attribute not supported in this configuration; ignored [-Werror=attributes] || cc1: all warnings being treated as errors| | I enabled armv5 for testing and it builds fine in armv5.
I tried to play with some ./configure options with no effect.
Any idea? Does it work with osc build on your board (native gcc)?
Alex
Did not try because it is not setup. Guillaume -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
On 02.07.2012, at 18:32, Guillaume GARDET wrote:
Le 02/07/2012 18:27, Alexander Graf a écrit :
On 02.07.2012, at 18:21, Guillaume GARDET wrote:
|Hi,| || |||I made a package in OBS: https://build.opensuse.org/package/show?package=xf86-video-omap&project=home...
And I get this error for armv7:
error: visibility attribute not supported in this configuration; ignored [-Werror=attributes] || cc1: all warnings being treated as errors| | I enabled armv5 for testing and it builds fine in armv5.
I tried to play with some ./configure options with no effect.
Any idea? Does it work with osc build on your board (native gcc)?
Alex
Did not try because it is not setup.
Ok, just tried it. It works fine. So the problem is in the cross gcc compiler. Alex -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
On 02.07.2012, at 18:43, Alexander Graf wrote:
On 02.07.2012, at 18:32, Guillaume GARDET wrote:
Le 02/07/2012 18:27, Alexander Graf a écrit :
On 02.07.2012, at 18:21, Guillaume GARDET wrote:
|Hi,| || |||I made a package in OBS: https://build.opensuse.org/package/show?package=xf86-video-omap&project=home...
And I get this error for armv7:
error: visibility attribute not supported in this configuration; ignored [-Werror=attributes] || cc1: all warnings being treated as errors| | I enabled armv5 for testing and it builds fine in armv5.
I tried to play with some ./configure options with no effect.
Any idea? Does it work with osc build on your board (native gcc)?
Alex
Did not try because it is not setup.
Ok, just tried it. It works fine. So the problem is in the cross gcc compiler.
Found it. The cross compiler got built with its binutils path set to /usr/arm-suse-linux/bin, while the path binutils uses is /usr/arm-suse-linux-gnueabi/bin. I changed the gcc spec file to accommodate for that, but it'll take a while to compile. Alex -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
participants (3)
-
Adrian Schröter
-
Alexander Graf
-
Guillaume GARDET