Skip to contentSkip to conversation

gcc and -march=2.0 flag bug

parisc-linux Guy Martin 3 participants 3 messages May 12, 2003

lore
Share & tools
lore

Guy Martin

author
#0 lore raw

Hi All,

I had some problems with gcc. When I set the CFLAGS/CXXFLAGS -march=2.0, most of the applications builded are b0rked. This occured on many stations. Using -march=1.1 works well.

Is this a 'feature' of unimplemented 64bit userspace or is this a bug ?

In case of a bug, what do you need to debug it.

Regards

Signature · 3 lines
Guy Martin
Gentoo - HPPA port Lead / IPv6 team
Lug Charleroi (Belgium)
#1 lore raw
Quoted 3 lines

I had some problems with gcc. When I set the CFLAGS/CXXFLAGS -march=2.0, most of the applications builded are b0rked. This occured on many stations. Using -march=1.1 works well.

How are they "b0rked"? Can you be a bit more precise?

Quoted 3 lines

Is this a 'feature' of unimplemented 64bit userspace or is this a bug ?

In case of a bug, what do you need to debug it.

We compile pa20 32-bit kernels (e.g. for c3k) using 32-bit and -march=2.0. seems to work. Do you have a test case for what you think is broken? -march2.0 is really orthogonal to 64-bit userspace.

randolph

Signature · 3 lines
Randolph Chung
Debian GNU/Linux Developer, hppa/ia64 ports
http://www.tausq.org/
#2 lore raw
In reply to Guy Martin
Quoted 1 line

In case of a bug, what do you need to debug it.

See <http:/gcc.gnu.org/bugs.html>. A GCC PR should be submitted if you believe the problem is a compiler bug.

Versions earlier than 3.3 are effectively dead, so I would recommend testing with a 3.3 snapshot. 3.3 will be released very soon, probably this week.

Dave

Signature · 2 lines
J. David Anglin                                  [email protected]
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)