* New redhat-rpm-config for ac3
@ 2007-03-14 9:13 oliver
2007-03-14 10:06 ` mike
0 siblings, 1 reply; 8+ messages in thread
From: oliver @ 2007-03-14 9:13 UTC (permalink / raw)
Hi Mike!
I saw you updated redhat-rpm-config to remove the fstack-protector for
alpha.
I just wanted to let you know, that I submitted a bug-report yesterday
for this:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=232101
Maybe you can add some statement on how to fix it in core-cvs without
conflicting with the primary archs; I saw you just removed it from macros...
Best,
Oliver
^ permalink raw reply [flat|nested] 8+ messages in thread
* New redhat-rpm-config for ac3
2007-03-14 9:13 New redhat-rpm-config for ac3 oliver
@ 2007-03-14 10:06 ` mike
2007-03-14 10:29 ` tsv
0 siblings, 1 reply; 8+ messages in thread
From: mike @ 2007-03-14 10:06 UTC (permalink / raw)
On 14/03/2007, at 8:13 PM, Oliver Falk wrote:
> Maybe you can add some statement on how to fix it in core-cvs
> without conflicting with the primary archs; I saw you just removed
> it from macros...
Yeah, I just patched it out for the moment, pending a better solution.
I'm not entirely sure that dropping it from macros is actually the
right approach, since in theory it shouldn't make any difference if
it's there or not. The actual problem I was seeing was that in some
autoconf scripts, the test for a working -fPIC was failing - this was
what was causing build failures in a lot of packages.
I'll try to follow through the configure tests and narrow it down a
little further. If it's the case that the -fstack-protector flag
should do _nothing_ on an unsupported architecture, and it's doing
_something_, then it really strikes me as a GCC bug, not something to
fix in the RPM macros, which ideally should be consistent across
architectures.
^ permalink raw reply [flat|nested] 8+ messages in thread
* New redhat-rpm-config for ac3
2007-03-14 10:06 ` mike
@ 2007-03-14 10:29 ` tsv
2007-03-14 10:42 ` oliver
0 siblings, 1 reply; 8+ messages in thread
From: tsv @ 2007-03-14 10:29 UTC (permalink / raw)
Mike Barnes wrote:
> On 14/03/2007, at 8:13 PM, Oliver Falk wrote:
>
>> Maybe you can add some statement on how to fix it in core-cvs
>> without conflicting with the primary archs; I saw you just removed
>> it from macros...
>
>
> Yeah, I just patched it out for the moment, pending a better solution.
>
> I'm not entirely sure that dropping it from macros is actually the
> right approach, since in theory it shouldn't make any difference if
> it's there or not. The actual problem I was seeing was that in some
> autoconf scripts, the test for a working -fPIC was failing - this was
> what was causing build failures in a lot of packages.
That is stange. In my experience it just said that is does nothing on
alpha, but never stopped configure scripts. I commented out it in macros
too during package building.
>
> I'll try to follow through the configure tests and narrow it down a
> little further. If it's the case that the -fstack-protector flag
> should do _nothing_ on an unsupported architecture, and it's doing
> _something_, then it really strikes me as a GCC bug, not something to
> fix in the RPM macros, which ideally should be consistent across
> architectures.
Regards,
--
Sergey Tikhonov
Head, R&D department
Solvo Ltd.
Saint-Petersburg, Russia
http://www.solvo.ru
tsv at solvo.ru
^ permalink raw reply [flat|nested] 8+ messages in thread
* New redhat-rpm-config for ac3
2007-03-14 10:29 ` tsv
@ 2007-03-14 10:42 ` oliver
2007-03-14 10:58 ` mike
0 siblings, 1 reply; 8+ messages in thread
From: oliver @ 2007-03-14 10:42 UTC (permalink / raw)
Am 2007-03-14 11:29, Sergey Tikhonov schrieb:
> Mike Barnes wrote:
>
>> On 14/03/2007, at 8:13 PM, Oliver Falk wrote:
>>
>>> Maybe you can add some statement on how to fix it in core-cvs
>>> without conflicting with the primary archs; I saw you just removed
>>> it from macros...
>>
>>
>> Yeah, I just patched it out for the moment, pending a better solution.
>>
>> I'm not entirely sure that dropping it from macros is actually the
>> right approach, since in theory it shouldn't make any difference if
>> it's there or not. The actual problem I was seeing was that in some
>> autoconf scripts, the test for a working -fPIC was failing - this was
>> what was causing build failures in a lot of packages.
>
> That is stange. In my experience it just said that is does nothing on
> alpha, but never stopped configure scripts. I commented out it in macros
> too during package building.
Sergey, just mailed Mike off-list, same story... It sometimes happens
that it stops builds. See elfutils for example. Elfutils sets warnings
as errors and therfor breaks. However, I believe I saw builds where with
a disabled fsp it worked and enabling it, it failed... But that's
already a year ago or so...
[ ... ]
-of
^ permalink raw reply [flat|nested] 8+ messages in thread
* New redhat-rpm-config for ac3
2007-03-14 10:42 ` oliver
@ 2007-03-14 10:58 ` mike
2007-03-14 11:23 ` cbalint
2007-03-14 11:49 ` mike
0 siblings, 2 replies; 8+ messages in thread
From: mike @ 2007-03-14 10:58 UTC (permalink / raw)
On 14/03/2007, at 9:42 PM, Oliver Falk wrote:
> Sergey, just mailed Mike off-list, same story... It sometimes
> happens that it stops builds. See elfutils for example. Elfutils
> sets warnings as errors and therfor breaks. However, I believe I
> saw builds where with a disabled fsp it worked and enabling it, it
> failed... But that's already a year ago or so...
Here's an example of configure's output when building libmad-0.15.1b,
one of the several builds I saw this in:
[root at genuine-article libmad-0.15.1b]# ./configure
[...]
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
[...]
And then ...
[root at genuine-article libmad-0.15.1b]# CFLAGS=-fstack-protector ./
configure
[...]
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... no
[...]
^ permalink raw reply [flat|nested] 8+ messages in thread
* New redhat-rpm-config for ac3
2007-03-14 10:58 ` mike
@ 2007-03-14 11:23 ` cbalint
2007-03-14 11:39 ` oliver
2007-03-14 11:49 ` mike
1 sibling, 1 reply; 8+ messages in thread
From: cbalint @ 2007-03-14 11:23 UTC (permalink / raw)
On Wednesday 14 March 2007 11:58, Mike Barnes wrote:
> On 14/03/2007, at 9:42 PM, Oliver Falk wrote:
> > Sergey, just mailed Mike off-list, same story... It sometimes
> > happens that it stops builds. See elfutils for example. Elfutils
> > sets warnings as errors and therfor breaks. However, I believe I
> > saw builds where with a disabled fsp it worked and enabling it, it
> > failed... But that's already a year ago or so...
>
> Here's an example of configure's output when building libmad-0.15.1b,
> one of the several builds I saw this in:
>
Hello Oliver, folks
Nice job !
I tryed to ping RH people resposable for those packages and try to convince tham to accept alpha
olso. Right now is early morning in US so i will come back later ;-)
Regarding -fstack-protector, its better to have patched redhat-rpm-config than patched elfutils ....
I will fill bug report against that package. Its the correct fix becouse alpha gcc foes not have yet
stack-protector implementation.
Oliver,
Can tell me in particular an IP address from where want to rsync, i set that up but need an IP
to firewall out rsync.
>
> [root at genuine-article libmad-0.15.1b]# ./configure
> [...]
> checking for gcc option to produce PIC... -fPIC
> checking if gcc PIC flag -fPIC works... yes
> [...]
>
>
> And then ...
>
>
> [root at genuine-article libmad-0.15.1b]# CFLAGS=-fstack-protector ./
> configure
> [...]
> checking for gcc option to produce PIC... -fPIC
> checking if gcc PIC flag -fPIC works... no
> [...]
>
> _______________________________________________
> axp-list mailing list
> axp-list at redhat.com
> https://www.redhat.com/mailman/listinfo/axp-list
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/axp-list/attachments/20070314/99ff7caa/attachment.sig>
^ permalink raw reply [flat|nested] 8+ messages in thread* New redhat-rpm-config for ac3
2007-03-14 11:23 ` cbalint
@ 2007-03-14 11:39 ` oliver
0 siblings, 0 replies; 8+ messages in thread
From: oliver @ 2007-03-14 11:39 UTC (permalink / raw)
Am 2007-03-14 12:23, Balint Cristian schrieb:
> On Wednesday 14 March 2007 11:58, Mike Barnes wrote:
>> On 14/03/2007, at 9:42 PM, Oliver Falk wrote:
>>> Sergey, just mailed Mike off-list, same story... It sometimes
>>> happens that it stops builds. See elfutils for example. Elfutils
>>> sets warnings as errors and therfor breaks. However, I believe I
>>> saw builds where with a disabled fsp it worked and enabling it, it
>>> failed... But that's already a year ago or so...
>> Here's an example of configure's output when building libmad-0.15.1b,
>> one of the several builds I saw this in:
>>
>
> Hello Oliver, folks
>
> Nice job !
thx!
> I tryed to ping RH people resposable for those packages and try to convince tham to accept alpha
> olso. Right now is early morning in US so i will come back later ;-)
So. Goooooooooooood morning viet... stop. halt. *arg* *grr*. USA. :-)
> Regarding -fstack-protector, its better to have patched redhat-rpm-config than patched elfutils ....
> I will fill bug report against that package. Its the correct fix becouse alpha gcc foes not have yet
> stack-protector implementation.
k. you saw the bug# already; i see...
> Oliver,
> Can tell me in particular an IP address from where want to rsync, i set that up but need an IP
> to firewall out rsync.
Sure: 213.129.242.88
[ ... ]
^ permalink raw reply [flat|nested] 8+ messages in thread
* New redhat-rpm-config for ac3
2007-03-14 10:58 ` mike
2007-03-14 11:23 ` cbalint
@ 2007-03-14 11:49 ` mike
1 sibling, 0 replies; 8+ messages in thread
From: mike @ 2007-03-14 11:49 UTC (permalink / raw)
On 14/03/2007, at 9:58 PM, Mike Barnes wrote:
> Here's an example of configure's output when building
> libmad-0.15.1b, one of the several builds I saw this in:
Found an interesting reference from 2003, which places the blame on
libtool:
http://www.arcknowledge.com/gmane.comp.gnu.libtool.bugs/2003-11/
msg00010.html
Seems that it used to fail the -fPIC test on any warning, which I
guess -fstack-protector will issue on an Alpha, which is fair enough.
It seems to have been dealt with at some point in the last few years,
and updating the package's libtool setup seems to fix this:
----
[root at genuine-article libmad-0.15.1b]# libtoolize -c -f
You should update your `aclocal.m4' by running aclocal.
[root at genuine-article libmad-0.15.1b]# aclocal
/usr/share/aclocal/libxosd.m4:9: warning: underquoted definition of
AM_PATH_LIBXOSD
run info '(automake)Extending aclocal'
or see http://sources.redhat.com/automake/automake.html#Extending-
aclocal
/usr/share/aclocal/aalib.m4:12: warning: underquoted definition of
AM_PATH_AALIB
[root at genuine-article libmad-0.15.1b]# autoconf
[root at genuine-article libmad-0.15.1b]# CFLAGS=-fstack-protector ./
configure
[...]
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
[...]
----
This could be worked into the spec for a failing package, and even
resolved upstream if they update their libtool setup, without needing
to mess with architecture specific macros.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2007-03-14 11:49 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-14 9:13 New redhat-rpm-config for ac3 oliver
2007-03-14 10:06 ` mike
2007-03-14 10:29 ` tsv
2007-03-14 10:42 ` oliver
2007-03-14 10:58 ` mike
2007-03-14 11:23 ` cbalint
2007-03-14 11:39 ` oliver
2007-03-14 11:49 ` mike
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox