pg.ddx.io pgsql-ports@postgresql.org mailing list archive
help / color / mirror / Atom feed./configure problems on Fedora Core 8
4+ messages / 2 participants
[nested] [flat]
* ./configure problems on Fedora Core 8
@ 2008-02-06 16:52 Carlos Picazzo <ojaiguy@gmail.com>
0 siblings, 1 reply; 4+ messages in thread
From: Carlos Picazzo @ 2008-02-06 16:52 UTC (permalink / raw)
To: pgsql-ports
I've asked on the Fedora Forums and the postgres IRC channel but haven't
received any feedback. I'm guessing there's just a library I'm missing
and I've tried this in 8.1.x, 8.2.6 and now 8.3.0 with the same result
so at least that's consistent. But when I do a './configure
--enable-thread-safety', it eventually bombs out saying:
...
checking for sgmlspl... sgmlspl
checking thread safety of required library functions... no
configure: error: thread test program failed
This platform is not thread-safe. Check the file 'config.log'for the
exact reason.
Upon checking the config.log, it says:
| #define MEMSET_LOOP_LIMIT 1024
| /* end confdefs.h. */
| #include "./src/test/thread/thread_test.c"
configure:22450: result: no
configure:22459: error: thread test program failed
This platform is not thread-safe. Check the file 'config.log'for the
exact reason.
Google searches show some posts where there have been instances where
thread_test.c doesn't actually exist but this isn't the case here. This
completes successfully on an old and obsolete FC4 system so I think it's
just that I'm missing a particular safe thread library or something.
Can anyone point me in the right direction?
Thanks!
Carlos
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: ./configure problems on Fedora Core 8
@ 2008-02-06 17:26 Tom Lane <tgl@sss.pgh.pa.us>
parent: Carlos Picazzo <ojaiguy@gmail.com>
0 siblings, 1 reply; 4+ messages in thread
From: Tom Lane @ 2008-02-06 17:26 UTC (permalink / raw)
To: Carlos Picazzo <ojaiguy@gmail.com>; +Cc: pgsql-ports
Carlos Picazzo <ojaiguy@gmail.com> writes:
> Upon checking the config.log, it says:
> | #define MEMSET_LOOP_LIMIT 1024
> | /* end confdefs.h. */
> | #include "./src/test/thread/thread_test.c"
> configure:22450: result: no
> configure:22459: error: thread test program failed
> This platform is not thread-safe. Check the file 'config.log'for the
> exact reason.
The relevant error message is probably in the lines before where it
prints the failing test program.
regards, tom lane
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: ./configure problems on Fedora Core 8
@ 2008-02-06 17:43 Carlos Picazzo <ojaiguy@gmail.com>
parent: Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 1 reply; 4+ messages in thread
From: Carlos Picazzo @ 2008-02-06 17:43 UTC (permalink / raw)
To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: pgsql-ports
On 06.02.2008 10:26 Uhr, Tom Lane wrote:
>
> The relevant error message is probably in the lines before where it
> prints the failing test program.
Thanks for the reply, Tom.
I've attached the both the output of './configure
----enable-thread-safety' and the config.log from 8.3.0. Naturally, the
config.log was a bit big so I've gzipped it. Hopefully it will contain
the important information.
Thanks again!
Carlos
Attachments:
config.log.gz (application/x-gzip, 18.0K) download
configure.out (application/octet-stream, 11.4K) download
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: ./configure problems on Fedora Core 8
@ 2008-02-06 18:17 Tom Lane <tgl@sss.pgh.pa.us>
parent: Carlos Picazzo <ojaiguy@gmail.com>
0 siblings, 0 replies; 4+ messages in thread
From: Tom Lane @ 2008-02-06 18:17 UTC (permalink / raw)
To: Carlos Picazzo <ojaiguy@gmail.com>; +Cc: pgsql-ports
Carlos Picazzo <ojaiguy@gmail.com> writes:
> I've attached the both the output of './configure
> ----enable-thread-safety' and the config.log from 8.3.0. Naturally, the
> config.log was a bit big so I've gzipped it. Hopefully it will contain
> the important information.
I think the problem is that every single one of the test compilations
produces this error message:
/usr/bin/ld: error in /usr/lib/gcc/i686-redhat-linux/4.2.2/crtend.o(.eh_frame); no .eh_frame_hdr table will be created.
Apparently it is just a warning because the compiler returns status
zero anyway, but nonetheless it will confuse our configure script ---
in particular, I think what's biting you is that the test to see which
threads flags to use can't tell that this isn't a complaint about a
bogus thread switch, so it omits to use -pthread which is necessary.
There are some other tests that might be going wrong too.
I see that the gcc on my stock Fedora 8 machine is 4.1.2, so I suppose
that this 4.2.2 you are using came from someplace other than Red Hat.
I fear it's a bit broken :-(
regards, tom lane
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2008-02-06 18:17 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2008-02-06 16:52 ./configure problems on Fedora Core 8 Carlos Picazzo <ojaiguy@gmail.com>
2008-02-06 17:26 ` Tom Lane <tgl@sss.pgh.pa.us>
2008-02-06 17:43 ` Carlos Picazzo <ojaiguy@gmail.com>
2008-02-06 18:17 ` Tom Lane <tgl@sss.pgh.pa.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox