duplicate symbols and -frepo on AIX 4.2
Jeffrey A Law
law@cygnus.com
Sun Mar 29 14:03:00 GMT 1998
In message <XFMail.980206012242.pooh@msu.net>you write:
> The problem is because tlink part of collect2 doesn't recognize AIX linker
> diagnostic.
Do we still have this problem? (is -frepo even useful on AIX?).
> You can try a small patch (attached) but other systems
> (e.g. FreeBSD) have similar problems.
Yes. And putting lots of system specific conditionals in tlink.c
isn't the right way to fix the problem :-)
> IMHO, the best way to solve
> such kind of problems is to use regular expressions to define
> linker diagnostic patterns. I already wrote about this some time ago,
> but didn't saw any responce...
I don't remember this, but it's quite likely it got lost in much
of the other aix/collect mail that went by a couple months ago.
Using regexps is probably the best solution. Did you have a patch
for that or were you just suggesting it as a potential solution?
If we don't use regexps, then I would recommend we define some
sort of target macro to deal with this problem.
jeff
More information about the Gcc-bugs
mailing list