Ticket #101 (closed defect: worksforme)

Opened 5 years ago

Last modified 3 years ago

utils/padsp.c:2392: error: redefinition of 'stat' & 'stat64'

Reported by: elmarco Owned by: ossman
Milestone: Component: padsp
Keywords: Cc: marcandre.lureau@…

Description

utils/padsp.c:2392: error: redefinition of 'stat' /usr/lib/gcc-snapshot/lib/gcc/i486-linux-gnu/4.3.0/include-fixed/sys/stat.h:489: error: previous definition of 'stat' was here utils/padsp.c:2454: error: redefinition of 'stat64' /usr/lib/gcc-snapshot/lib/gcc/i486-linux-gnu/4.3.0/include-fixed/sys/stat.h:556: error: previous definition of 'stat64' was here make[3]: *** [libpulsedsp_la-padsp.lo] Error 1

Change History

Changed 5 years ago by elmarco

  • cc hwinkel@…, mrovner@…, trac@…, dpeterson@…, bruno@…, shishz@…, alecclews@…, jorvis@…, jkletsky@…, peter.merel@…, Andreas.Podgurski@…, nick+trac@…, gerz@…, daved@…, zoogie@…, josh.moore@…, dlawson@…, mark81@…, carwyn@…, trac.tickets@…, tobias.roeser@…, erikand@… removed

hmm, weird CC, sorry.

Changed 5 years ago by ossman

  • owner changed from lennart to ossman

*gnnn*

May bad things happen to glibc's weird ass stat implementation.

Which glibc is that header from?

Changed 5 years ago by elmarco

gcc-snapshot/lib/gcc/i486-linux-gnu/4.3.0/include-fixed/sys/stat.h

gcc-snapshot is ubuntu gcc (GCC) 4.3.0 20070414 (experimental), which might be broken (I would not take the risk to say so).

it seems they ship there own headers "include-fixed" on top of libc (and others! linux, X11, firefox!)

Changed 4 years ago by lennart

  • status changed from new to closed
  • resolution set to wontfix

Seems to be serious ubuntu borkage. Doesn't happen on any other OS, including Fedora which is usually bleeding edge (please note that most gcc hackers work for rh these days).

I am sorry, but I don't see why I should spend any time for fixing bugs which appear only when you compile our code with something with an "experimental" and "snapshot" in it.

Sorry. Closing as wontfix.

If you have a working patch, feel free to reopen this bug and I will look into merging it.

Changed 4 years ago by ajrh

  • status changed from closed to reopened
  • resolution wontfix deleted

Hello,

For info, I am also encountering this problem on Red Hat Enterprise Linux AS release 4 together with gcc 4.3.0 (on AMD64)

The packaged system compiler gcc 3.4.6 is deteced as too old by the atomic ops package, so that seems not to be an option.

Changed 4 years ago by lennart

  • component changed from clients to padsp

Changed 3 years ago by lennart

  • status changed from reopened to closed
  • resolution set to worksforme

The systems in question are really really old. Will close this now, since it is not worth investigating, given that PA requires a very new kernel these days anyway.

Note: See TracTickets for help on using tickets.