Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compilation warning with sendfile #55534

Closed
pitrou opened this issue Feb 25, 2011 · 4 comments
Closed

compilation warning with sendfile #55534

pitrou opened this issue Feb 25, 2011 · 4 comments
Assignees
Labels
build The build process and cross-build extension-modules C modules in the Modules dir

Comments

@pitrou
Copy link
Member

pitrou commented Feb 25, 2011

BPO 11325
Nosy @pitrou, @giampaolo

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = 'https://github.com/giampaolo'
closed_at = <Date 2011-02-26.06:33:20.499>
created_at = <Date 2011-02-25.23:39:29.100>
labels = ['extension-modules', 'build']
title = 'compilation warning with sendfile'
updated_at = <Date 2011-02-26.13:35:46.829>
user = 'https://github.com/pitrou'

bugs.python.org fields:

activity = <Date 2011-02-26.13:35:46.829>
actor = 'giampaolo.rodola'
assignee = 'giampaolo.rodola'
closed = True
closed_date = <Date 2011-02-26.06:33:20.499>
closer = 'pitrou'
components = ['Extension Modules']
creation = <Date 2011-02-25.23:39:29.100>
creator = 'pitrou'
dependencies = []
files = []
hgrepos = []
issue_num = 11325
keywords = []
message_count = 4.0
messages = ['129470', '129475', '129500', '129543']
nosy_count = 2.0
nosy_names = ['pitrou', 'giampaolo.rodola']
pr_nums = []
priority = 'high'
resolution = 'fixed'
stage = 'needs patch'
status = 'closed'
superseder = None
type = 'compile error'
url = 'https://bugs.python.org/issue11325'
versions = ['Python 3.3']

@pitrou
Copy link
Member Author

pitrou commented Feb 25, 2011

$ make
gcc -pthread  -g -O0 -Wall -Wstrict-prototypes    -I. -IInclude -I./Include    -DPy_BUILD_CORE  -c ./Modules/posixmodule.c -o Modules/posixmodule.o
./Modules/posixmodule.c: In function ‘posix_sendfile’:
./Modules/posixmodule.c:6025: attention : implicit declaration of function ‘sendfile’

@pitrou pitrou added extension-modules C modules in the Modules dir build The build process and cross-build labels Feb 25, 2011
@pitrou
Copy link
Member Author

pitrou commented Feb 26, 2011

Perhaps (probably?) related to the crash in http://www.python.org/dev/buildbot/all/builders/PPC64%20Ubuntu%203.x/builds/655

./Modules/posixmodule.c:5909: warning: implicit declaration of function ‘sendfile’

@pitrou
Copy link
Member Author

pitrou commented Feb 26, 2011

Fixed in r88626, and it *did* fix the buildbot crash!

@pitrou pitrou closed this as completed Feb 26, 2011
@giampaolo
Copy link
Contributor

Thanks.

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build The build process and cross-build extension-modules C modules in the Modules dir
Projects
None yet
Development

No branches or pull requests

2 participants