Pacman

Historical bug tracker for the Pacman package manager.

The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues

This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
Tasklist

FS#3036 - Wrong CFLAGS in makepkg.conf

Attached to Project: Pacman
Opened by Christer Solskogen (solskogen) - Wednesday, 03 August 2005, 19:01 GMT
Task Type Bug Report
Category
Status Closed
Assigned To Judd Vinet (judd)
Architecture not specified
Severity Low
Priority Normal
Reported Version 0.7 Wombat
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

They should say:

export CFLAGS="-march=i686 -O2 -pipe"
export CXXFLAGS="-march=i686 -O2 -pipe"
export LDFLAGS="-Wl,-O1"

Oh, btw.
There are some commented out lines saying:
#export CFLAGS="-mcpu=i686 -O2 -pipe"
#export CXXFLAGS="-mcpu=i686 -O2 -pipe"

-mcpu is not supported anymore. If I`m not wrong they should be deleted.
This task depends upon

Closed by  Judd Vinet (judd)
Wednesday, 07 September 2005, 23:04 GMT
Reason for closing:  Fixed
Comment by Judd Vinet (judd) - Wednesday, 03 August 2005, 21:16 GMT
The -Wl flag is only used by gcc, not ld. If ld is called directly, the switch would be just "-O1". The problem here is inconsistency. Sometimes gcc calls ld, other times the Makefile calls ld directly.

Currently (in pacman CVS), I've removed the -Wl,O1 flag completely, as it breaks a couple builds.

Also, I can't find a record of -mcpu being deprecated. It is still present in the manpage for gcc 4.0.1. Do you have any more info on this?
Comment by Christer Solskogen (solskogen) - Wednesday, 03 August 2005, 22:00 GMT
Regarding the LDFLAGS U used a trick from phrakture. ref:
http://bbs.archlinux.org/viewtopic.php?t=14164&highlight=ldflags
I`m not a gcc guru, i just did what the guy told ;-)

I`m using gcc 3.4.3, and if I compile something with -mcpu gcc tells me:
"`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead."

Loading...